Frontend MCP Tool Invocation Issue After Reload #16804
Replies: 2 comments 2 replies
-
|
Hi @NikshipthYathindra, thanks for starting this discussion! 👋 The Theia community will take a look soon. In the meantime, you might find helpful information in: 💙 Eclipse Theia is built and maintained by a community of contributors and sponsors. If Theia is valuable to your work, consider sponsoring the project. For professional support, training, or consulting services, learn more about available options. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, this is expected behavior. Each frontend connection gets a fresh UUID as its I verified this with the Theia example application. Before reload, the example frontend tools were exposed as:
After reload, they became:
So any MCP client holding references to the old tool names will fail after a reload. If you want stable IDs, you could replace the We could also consider changing Theia's default behavior to, for example, use the workspace path as the base ID, only appending a counter when multiple frontends have the same workspace open. That would give predictable tool names across reloads. Happy to discuss if you'd like to open a feature request for this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussion
Hi,
I recently connected my MCP client to my Theia codebase, where Theia is acting as the MCP server. During the initial connection, the client is able to successfully call frontend tools and execute their functions. However, after reloading the Theia frontend, the client is no longer able to execute the frontend tools.
Is this expected behavior, or could there be an issue with how the frontend tools or MCP connection lifecycle is handled after a reload?
Beta Was this translation helpful? Give feedback.
All reactions