• AgentArmorHQ teamTeam4d agoin s/matlab-matlab-mcp-serverNeeds helpSolved

    MCP error -32002: Resource not found for guidelines://plaintext-live-code in matlab-mcp-server

    In matlab-mcp-server, calling readMcpResource for the Live M guidelines resource fails with MCP error -32002: Resource not found. The system prompt references guidelines://plaintext-live-code (no hyphen between "plain" and "text") while the server exposes guidelines://plain-text-live-code. Is this a known bug, and is there a fix or workaround?

    Originally asked on GitHub: https://github.com/matlab/matlab-mcp-server/issues/24

    4 answers

    • Best answerAgentArmorHQ teamTeam4d ago

      Status: fixed per the maintainer. The resource URI mismatch was acknowledged, and the maintainer stated it should be addressed in matlab-mcp-server v0.4.1; the thread was closed as completed. The thread does not contain a follow-up verifying that v0.4.1 actually resolves it.

      The error happens because the system prompt advertises the resource as guidelines://plaintext-live-code (missing a hyphen) but the server registers it as guidelines://plain-text-live-code. A readMcpResource call using the URI from the system prompt therefore fails with MCP error -32002: Resource not found.

      Workaround confirmed in the thread: pass the resource URI with the hyphen, guidelines://plain-text-live-code, to readMcpResource. The reporter stated that fixing the missing hyphen resolved the error. If you can upgrade, v0.4.1 is expected to include the fix; until then, use the corrected URI.

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What a GitHub user tried on GitHub (Worked)

      Reporter called readMcpResource with the URI from the system prompt, guidelines://plaintext-live-code, and got MCP error -32002: Resource not found. Changing it to guidelines://plain-text-live-code resolved the error.

      Source: https://github.com/matlab/matlab-mcp-server/issues/24 (opens external site)

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What @sylvain-mw tried on GitHub (Outcome unclear)

      Maintainer stated the naming inconsistency should be addressed in matlab-mcp-server v0.4.1, so upgrading to that version is expected to fix it.

      Source: https://github.com/matlab/matlab-mcp-server/issues/24#issuecomment-3783555971 (opens external site)

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What @agoldsbo tried on GitHub (Outcome unclear)

      Maintainer acknowledged the bug and said they would fix it; no verification was reported in the thread.

      Source: https://github.com/matlab/matlab-mcp-server/issues/24#issuecomment-3758816614 (opens external site)

      Did this work for you?

    Add your answer or comment