Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Theia AI] MCP does not work after page reload in the browser #14701

Open
safisa opened this issue Jan 7, 2025 · 1 comment
Open

[Theia AI] MCP does not work after page reload in the browser #14701

safisa opened this issue Jan 7, 2025 · 1 comment
Assignees
Labels

Comments

@safisa
Copy link
Contributor

safisa commented Jan 7, 2025

Bug Description:

Hi,
I have installed some MCP servers which worked as expected in my custom agent, but after reloading the page, the agent doesn't recognize the tools of the MCP server.

Steps to Reproduce:

  1. define an MCP server, e.g.:
"filesystem": {
            "command": "npx",
            "args": [
                "-y",
                "@modelcontextprotocol/server-filesystem",
                "a-local-folder"
            ]
        }
  1. start this MCP server
  2. add a custom agent, and define one of the MCP tools in the custom agent system prompt.
  3. test the agent and let it use the tool, it should work
  4. reload the page
  5. try step 4, it will not work

Additional Information

  • Operating System: Mac
  • Theia Version: Theia 1.57.1 (latest)
@safisa safisa changed the title AI - MCP does not work after page reload in the browser [Theia AI] MCP does not work after page reload in the browser Jan 7, 2025
@sdirix sdirix added the TheiaAI label Jan 7, 2025
@sdirix
Copy link
Member

sdirix commented Jan 7, 2025

This error makes sense as the tools are registered directly within the command, see here.

As the mcp servers run on the backend, we should add a mechanism to recover/register already managed servers. This would then resolve this ticket.

@JonasHelming JonasHelming self-assigned this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants