itwanger / itwanger/PaiCLI-Python
mcp initialize issue
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 92
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
after I run
uv run paicli mcp serve --transport http --port 3000
and then connect from @modelcontextprotocol/inspector
there is an initialize issue
Invalid result for initialize: [
{ "expected": "string", "code": "invalid_type", "path": [ "protocolVersion" ], "message": "Invalid input" },
{ "expected": "object", "code": "invalid_type", "path": [ "capabilities" ], "message": "Invalid input" },
{ "expected": "string", "code": "invalid_type", "path": [ "serverInfo", "version" ], "message": "Invalid input" } ]
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run uv run paicli mcp serve --transport http --port 3000, then connect with @modelcontextprotocol/inspector to reproduce the initialize error. Trace the MCP initialize response and inspect how protocolVersion, capabilities, and serverInfo.version are produced. Done means the inspector accepts the initialize result without validation errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100