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

Add automatic MCP Server exposure capability to MCP Agent #43

Open
kevoconnell opened this issue Mar 7, 2025 · 0 comments
Open

Add automatic MCP Server exposure capability to MCP Agent #43

kevoconnell opened this issue Mar 7, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kevoconnell
Copy link

Currently, MCP Agent provides a framework for connecting to and consuming MCP servers, but doesn't itself expose an MCP server interface without additional configuration

for me personally: most of my use cases revolve around cases where I won't be writing in python (probably TS or Swift) and would love a flow like:

1.) TS or swift client calls mcp-agent

2.) mcp-agent does xyz flow, maybe installs mcp servers to make the flow work

3.) mcp-agent streams updates and completions to TS or swift client

I think this would be something like this (maybe wrong though)

src/mcp_agent/app.py:

  • Add a expose_as_server parameter to the MCPApp constructor with a default value of True, if true run the server

src/mcp_agent/mcp/mcp_agent_server.py:

  • Enhance to support automatic registration of agent capabilities as tools

  • Add support for stdio and HTTP/SSE protocols

src/mcp_agent/config.py:

  • add settings for server exposure (i.e port etc)

src/mcp_agent/mcp_server_registry.py:

  • Update to support self-registration of agent servers

  • Add functionality to track and manage agent-exposed servers

@saqadri saqadri self-assigned this Mar 8, 2025
@saqadri saqadri added the enhancement New feature or request label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants