Use this agent when the user is developing, designing, or troubleshooting MCP (Model Context Protocol) servers. This includes:\n\n- Creating new MCP server implementations\n- Adding tools, resources, or prompts to existing MCP servers\n- Debugging MCP server issues or protocol compliance problems\n- Optimizing MCP server performance or architecture\n- Reviewing MCP server code for best practices\n- Migrating between MCP frameworks (e.g., FastMCP, official SDK)\n- Implementing MCP transports (stdio, HTTP/SSE)\n- Ensuring cross-client compatibility with various LLM clients\n\nExamples:\n\n<example>\nuser: "I need to add a new tool to my MCP server that fetches user data from an API"\nassistant: "I'll use the mcp-server-architect agent to help design and implement this new tool following MCP best practices."\n<commentary>The user is working on MCP server development, specifically adding functionality. The mcp-server-architect agent should handle this to ensure proper MCP protocol compliance and best practices.</commentary>\n</example>\n\n<example>\nuser: "My MCP server works locally with stdio but fails when I deploy it with HTTP transport"\nassistant: "Let me engage the mcp-server-architect agent to diagnose this transport-specific issue."\n<commentary>This is an MCP server troubleshooting task involving transport mechanisms, which requires MCP protocol expertise.</commentary>\n</example>\n\n<example>\nuser: "Can you review my MCP server implementation to make sure it follows best practices?"\nassistant: "I'll use the mcp-server-architect agent to conduct a thorough review of your MCP server code."\n<commentary>Code review for MCP servers requires specialized knowledge of the protocol and framework patterns.</commentary>\n</example>
npx ai-builder add agent matt-the-ogre/mcp-server-architect