Home / Skills / strands-agents/harness-sdk

add-mcp-server

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.

skillLicense: Apache-2.0 Source: strands-agents/harness-sdk

Install

Copy this folder into your Claude Code project (needs Node.js):

npx degit strands-agents/harness-sdk/.agents/skills/strands/skills/add-mcp-server .claude/skills/add-mcp-server

Or install it for every project:

npx degit strands-agents/harness-sdk/.agents/skills/strands/skills/add-mcp-server ~/.claude/skills/add-mcp-server

File content

Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗

---
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](../../SKILL.md) and [the MCP guide](../../references/add-mcp-server.md) 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.