Skip to content

markitdown-mcp: initialization fails for copilot CLI 1.0.82 #2365

Description

@choeppler

In the latest version of the Copilot CLI (1.0.82) markitdown-mcp v0.0.1a4 (installed via uv tool install markitdown-mcp, python v 3.14) fails to initialize with the following error:

MCP · markitdown

 id: markitdown
 kind: mcp
 name: markitdown
 scope: User
 enabled: ✓ yes
 description: MCP server process exited before completing the MCP initialize handshake (exit code 1);
 last stderr:       +------------------------------------ Server stderr (last 10 lines):       |
 CallToolRequest.method       |   Input should be 'tools/call' [type=literal_error,
 input_value='server/discover', input_type=str]       |     For further information visit https://
 errors.pydantic.dev/2.13/v/literal_error       | CallToolRequest.params.name       |   Field required
 [type=missing, input_value={'_meta': {'io.modelconte...form': {}, 'url': {}}}}}, input_type=dict]
   |     For further information visit https://errors.pydantic.dev/2.13/v/missing       |
 ListToolsRequest.method       |   Input should be 'tools/list' [type=literal_error,
 input_value='server/discover', input_type=str]       |     For further information visit https://
 errors.pydantic.dev/2.13/v/literal_error       +------------------------------------
 trust: {
   "origin": {
     "kind": "user"
   },
   "capabilities": {},
   "permissions": {}
 }

 tools
 Tools unavailable: Error: MCP server "markitdown" is not connected

 data
 {
   "name": "markitdown",
   "status": "failed",
   "error": "MCP server process exited before completing the MCP initialize handshake (exit code 1);
 last stderr:       +------------------------------------\nServer stderr (last 10 lines):\n      |
 CallToolRequest.method\n      |   Input should be 'tools/call' [type=literal_error,
 input_value='server/discover', input_type=str]\n      |     For further information visit https://
 errors.pydantic.dev/2.13/v/literal_error\n      | CallToolRequest.params.name\n      |   Field
 required [type=missing, input_value={'_meta': {'io.modelconte...form': {}, 'url': {}}}}},
 input_type=dict]\n      |     For further information visit https://errors.pydantic.dev/2.13/v/
 missing\n      | ListToolsRequest.method\n      |   Input should be 'tools/list' [type=literal_error,
 input_value='server/discover', input_type=str]\n      |     For further information visit https://
 errors.pydantic.dev/2.13/v/literal_error\n      +------------------------------------"
 }

Configuration in mcp-config.json:

{
  "mcpServers": {
    "markitdown": {
      "tools": [
        "*"
      ],
      "type": "stdio",
      "command": "markitdown-mcp",
      "args": []
    }
  }
}

With previous version of Copilot CLI this used to work as expected. Could this be related to #2363?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions