Replies: 2 comments
-
Two comments:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Another comment: there is also https://github.com/anaisbetts/mcp-installer , but AFAIU, it only supports installing MCP servers into Claude Desktop. However, we could follow a similar approach and provide functions for users to basically modify the settings.json |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Edit: I opened a discussion on this topic in the MCP discussion group: modelcontextprotocol/discussions/274
Also I opened issues in the other AI IDEs
This proposal outlines a system to dynamically integrate Model Context Protocol (MCP) servers with Eclipse Theia through VS Code extensions (VSX). The architecture leverages Theia's VSX compatibility to allow MCP server providers to package and distribute their servers via OpenVSX, enabling runtime installation and management.
Components
1. Theia MCP Server Provider Extension
Individual VSX extensions that package MCP server binaries and register them with the central registry.
Implementation Example:
2. Theia MCP Registry Extension
Central VSX extension that exposes an API for registering MCP servers and communicates with the Theia backend via Commands.
API Interface:
Implementation Example:
3. Theia MCP VSX Extension Bridge
A Theia backend service that handles VS Code commands and integrates with the existing MCP server infrastructure.
MCPServerManagerImpl
Integration with Existing Theia Code:
Distribution via OpenVSX
MCP server providers can publish their Theia MCP Server Provider Extensions to OpenVSX, allowing:
Critical Discussion
Lightweight Implementation: This approach requires minimal additional code in Theia, leveraging existing infrastructure and integration.
Reuse of Extension Registry: The solution takes advantage of OpenVSX's runtime installation capabilities and discovery mechanisms. Using tags like mcp in OpenVSX may enhance discoverability of MCP server providers.
Standard Communication: The architecture relies on the generic VS Code Extension API and commands for communication between Theia and extensions, avoiding custom protocols.
API Limitations: Ideally, the API for registering MCP servers would be more explicit, perhaps through declarative definitions in
package.json
or dedicated APIs rather than commands. However, this would require extending the VS Code Extension API with Theia-specific concepts.Process Management Trade-offs: While it would be beneficial for VS Code extensions to manage their own MCP server processes, the current
StdioClientTransport
implementation in Theia makes it more practical for the Theia backend to handle this. SupportingWebSocketClientTransport
would allow extensions to start their own servers and have Theia connect via websocket, offering more flexibility.Beta Was this translation helpful? Give feedback.
All reactions