The Strands MCP Server provides bidirectional Model Context Protocol (MCP) integration, enabling a Strands Agent to both expose its capabilities as an MCP server and connect to remote MCP servers as a client.
Server Mode: Expose your Strands Agent's tools via HTTP or stdio transport for use with Claude Desktop, other agents, or custom clients. External clients can invoke the full agent functionality through the invoke_agent tool using natural language prompts, or call individual exposed tools like the demo greet tool.
Client Mode ( Connect to and interact with remote MCP servers using HTTP, stdio, or SSE transports. This allows you to list available tools from connected servers, call remote tools with arguments, manage multiple simultaneous connections with unique IDs, and disconnect when done.
Key Features:
Agent Invocation: Execute complex queries requiring reasoning across multiple tools using natural language
Connection Management: Maintain and track multiple server connections simultaneously
Multi-transport Support: HTTP, stdio, and Server-Sent Events (SSE) protocols
CLI Interface: Run in Local Mode (standalone server) or Proxy Mode (connecting to upstream servers)
Stateless Operation: Support for multi-node deployments when stateless mode is enabled
Server Lifecycle Management: Start, stop, check status, and list server configurations
Use Cases: Bridge multiple MCP servers together, test MCP implementations, proxy connections for Claude Desktop, build complex agent workflows leveraging remote tools, and enable bidirectional agent-to-agent communication.
strands-mcp-server
Bidirectional MCP integration for Strands Agents.
Overview
mcp_server - Expose agent as MCP server
mcp_client - Connect to MCP servers
CLI - stdio for Claude Desktop
Quick Start
Server:
Client:
For Agents like Claude Desktop/Kiro/...:
API
mcp_server
Parameter | Default | Description |
| required |
,
,
,
|
|
|
or
|
| 8000 | Port |
| None | Tools to expose (None = all) |
| True | Include
|
| False | Multi-node ready |
mcp_client
Parameter | Description |
|
,
,
,
|
| Connection ID |
|
,
,
|
| Server URL |
| Tool to call |
| Tool arguments |
invoke_agent
Full agent access when expose_agent=True:
CLI
Option | Description |
| Working directory |
| Upstream server (proxy) |
| System prompt |
| Disable invoke_agent |
| Debug mode |
Examples:
Troubleshooting
Links
License: Apache 2.0