mcp
This MCP server provides documentation about Strands Agents to your GenAI tools, so you can use your favorite AI coding assistant to vibe-code Strands Agents.
claude mcp add --transport stdio strands-agents-mcp-server uvx strands-agents-mcp-server \ --env FASTMCP_LOG_LEVEL="INFO"
How to use
The Strands Agents MCP Server provides curated documentation access to your GenAI tools by indexing llms.txt content and exposing it through the MCP protocol. It uses a smart document search with TF-IDF scoring that prioritizes titles, headers, and code blocks, and it supports on-demand fetching of full document content to keep responses snappy. You can query the server for relevant tool docs, generate contextual snippets, and retrieve real URLs when needed. Typical use involves configuring an MCP client to point at this server (via uvx or another MCP client) and then using the client's search_docs and fetch_doc capabilities to locate and retrieve documentation for Strands Agents tools and their APIs. The server is designed to work with a variety of MCP clients and provides auto-approval of common actions to streamline workflows.
Tools and capabilities available include:
- search_docs: perform a structured search over indexed llms.txt content with relevance ranking.
- fetch_doc: retrieve the full document content for a selected result, with lazy-loading to optimize performance.
- Snippet generation: receive concise, context-rich snippets for quick comprehension of the documentation.
- Real URL support: access to documentation hosted at real HTTPS URLs while still indexing locally for fast search. To use it, configure your MCP client to start the server using the uvx command with the strands-agents-mcp-server package, then issue search_docs queries and retrieve results with fetch_doc as needed.
How to install
Prerequisites:
- Install uv following the official instructions (https://github.com/astral-sh/uv).
- Ensure you have a compatible Python environment if you prefer running the Python module directly (optional for some setups).
Installation steps (recommended path using uvx):
- Install the Strands Agents MCP Server package (Python package available on PyPI):
- Run: pip install strands-agents-mcp-server
- This provides the strands-agents-mcp-server entry point for uvx.
- Verify installation by listing installed packages or invoking the server helper:
- Run: uvx strands-agents-mcp-server --help
- Start the MCP server with uvx:
- Run: uvx strands-agents-mcp-server
- Optional: configure environment variables such as FASTMCP_LOG_LEVEL for logging verbosity.
Alternative local development (Python module):
- Install the package as above.
- Run the server module directly (if supported by your setup):
- Run: python -m strands_mcp_server
If you prefer using a package manager, you can also test with the MCP Inspector as described in the Quick Testing section.
Additional notes
Notes and tips:
- The server expects uv as a prerequisite; ensure it is installed and accessible in your PATH.
- If you run into permission or environment issues, set FASTMCP_LOG_LEVEL (e.g., INFO or DEBUG) to aid troubleshooting.
- Some MCP clients may require you to register the mcpServers entry under a user profile or config file; consult your client’s documentation for exact steps.
- The server is designed to be beginner-friendly with autoApprove hooks for search_docs and fetch_doc to streamline common workflows.
- For testing, you can use the MCP Inspector to validate connectivity and protocol exchanges with commands like npx @modelcontextprotocol/inspector uvx strands-agents-mcp-server or python -m strands_mcp_server for local development.
Related MCP Servers
bytebot
Bytebot is a self-hosted AI desktop agent that automates computer tasks through natural language commands, operating within a containerized Linux desktop environment.
sdk-python
A model-driven approach to building AI agents in just a few lines of code.
ag2
AG2 (formerly AutoGen): The Open-Source AgentOS. Join us at: https://discord.gg/sNGSwQME3x
koog
Koog is the official Kotlin framework for building predictable, fault-tolerant and enterprise-ready AI agents across all platforms – from backend services to Android and iOS, JVM, and even in-browser environments. Koog is based on our AI products expertise and provides proven solutions for complex LLM and AI problems
tools
A set of tools that gives agents powerful capabilities.
samples
Agent samples built using the Strands Agents SDK.