-
Notifications
You must be signed in to change notification settings - Fork 340
Open
Description
Summary
MCP (Model Context Protocol) servers configured within custom agents are not functioning when running the agent through the CLI.
Expected Behavior
When a custom agent is defined with an MCP server configuration, the CLI should properly initialize and connect to the specified MCP server, making the MCP tools available during agent execution.
Actual Behavior
The MCP server defined in the custom agent configuration is not being started or connected to when running the agent via CLI. The agent runs without access to the MCP tools that should be provided by the configured server.
Steps to Reproduce
- Create a custom agent with an MCP server configuration in the .agents/ directory
- Define the MCP server with the appropriate settings (command, args, etc.)
- Run the custom agent through the CLI
Metadata
Metadata
Assignees
Labels
No labels