add-mcp-server
GitHub将MCP服务器集成到Strands代理中,支持Python/TypeScript。用于加载MCP工具、选择传输协议、过滤工具或配置多服务器场景,需验证初始化和工具发现。
触发场景
安装
npx skills add strands-agents/harness-sdk --skill add-mcp-server -g -y
SKILL.md
Frontmatter
{
"name": "add-mcp-server",
"description": "Connect a Strands agent to an MCP server in Python or TypeScript. Use when the user asks to load MCP tools into a Strands application, choose an MCP transport, filter tools, or configure multiple servers."
}
Add an MCP server to a Strands agent
Read the shared Strands skill and the MCP guide completely.
Confirm whether the user means an MCP server used by the Strands application or the Strands documentation server used by their coding assistant. For an application server, inspect its command or URL and required credentials, use the current managed MCPClient or McpClient integration, and verify initialization and tool discovery before relying on model-driven calls.
版本历史
- 1adcaf9 当前 2026-10-20 04:22


