Skip to content

Adding MCP Server fails with message "Error loading resources for MCP Server <server-name>" #5914

Open
@icc-raish

Description

@icc-raish

Before submitting your bug report

Relevant environment info

- OS:Ubuntu 22.04.5 LTS
- Continue version: 1.0.10
- IDE version: VS Codium 1.100.23258
- Model: local MCP Server for claude-taskmaster-ai
- config: attached

Description

  1. I'm trying to integrate Task-Master with VS Codium
    [Codium is built from same source as VS Code, but without any MS telemetry].

  2. Attached: ~/.continue/config.yaml: config.yaml.txt

  3. Attached: ~/Code/<PROJECT_DIR>/.continue/mcpServers/new-mcpServer.yaml: new-mcpServer.yaml.txt

  4. Problem Description:
    MCP server "task-master" is visible in the MCP "tab" of Continue.
    However, I can't see task-master in the 'drop down' menu to chose it as an agent.
    Hovering over the "error icon" shows the following error text:

Error loading resources for MCP Server task-master: [ { "code":"invalid_type", "expected":"string", "received":"undefined", "path":["resources",0,"uri"] }, { "code":"invalid_type", "expected":"string", "received":"undefined", "path":["resources",0,"name"], "message":"Required" } ]

  1. Seemingly related reported issues:
    Error loading resources mcp error 32601 #5221
    Cannot implement mcp server. #5521

  2. Node version: v20.19.2

Screenshots to highlight the bug:

Image

Image

To reproduce

  1. Follow instructions to install task-master:
    cd ~/projectDir
    nvm use 20
    npm install task-master-ai
    npx task-master init (configure models etc)
    configuration is saved in ./.taskmasterconfig file

  2. Add new MCP server in Continue (running in VS Codium)

  3. reload Continue OR relaunch codium

  4. Try to use the new MCP server in Agent Mode. Does not appear in the menu. Hovering over the error icon, shows the details.

Log output

Metadata

Metadata

Assignees

Labels

area:mcpRelates to Model Context Protocol (MCP)ide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on Linux

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions