Documentation ◆ Samples ◆ Python SDK ◆ Tools ◆ Agent Builder ◆ MCP Server
This MCP server provides curated documentation access to your GenAI tools via llms.txt files, enabling AI coding assistants to search and retrieve relevant documentation with intelligent ranking.
- Smart Document Search: TF-IDF based search with Markdown-aware scoring that prioritizes titles, headers, and code blocks
- Curated Content: Indexes documentation from llms.txt files with clean, human-readable titles
- On-Demand Fetching: Lazy-loads full document content only when needed for optimal performance
- Snippet Generation: Provides contextual snippets with relevance scoring for quick overview
- Real URL Support: Works with actual HTTPS URLs while maintaining backward compatibility
The usage methods below require uv to be installed on your system. You can install it by following the official installation instructions.
You can use the Strands Agents MCP server with 40+ applications that support MCP servers, including Amazon Q Developer CLI, Anthropic Claude Code, Cline, and Cursor.
See the Q Developer CLI documentation for instructions on managing MCP configuration.
In ~/.aws/amazonq/mcp.json
:
{
"mcpServers": {
"strands-agents": {
"command": "uvx",
"args": ["strands-agents-mcp-server"],
"env": {
"FASTMCP_LOG_LEVEL": "INFO"
},
"disabled": false,
"autoApprove": [
"search_docs",
"fetch_doc"
]
}
}
}
See the Claude Code documentation for instructions on managing MCP servers.
claude mcp add strands uvx strands-agents-mcp-server
See the Cline documentation for instructions on managing MCP configuration.
Provide Cline with the following information:
I want to add the MCP server for Strands Agents.
Here's the GitHub link: @https://github.com/strands-agents/mcp-server
Can you add it?"
See the Cursor documentation for instructions on managing MCP configuration.
In ~/.cursor/mcp.json
:
{
"mcpServers": {
"strands-agents": {
"command": "uvx",
"args": ["strands-agents-mcp-server"],
"env": {
"FASTMCP_LOG_LEVEL": "INFO"
},
"disabled": false,
"autoApprove": [
"search_docs",
"fetch_doc"
]
}
}
}
You can quickly test the MCP server using the MCP Inspector:
# For published package
npx @modelcontextprotocol/inspector uvx strands-agents-mcp-server
# For local development
npx @modelcontextprotocol/inspector python -m strands_mcp_server
Note: This requires npx to be installed on your system. It comes bundled with Node.js.
The Inspector is also useful for troubleshooting MCP server issues as it provides detailed connection and protocol information. For an in-depth guide, have a look at the MCP Inspector documentation.
-
Install prerequisites:
- Install uv following the official installation instructions
- Make sure you have Node.js installed for npx commands
-
Configure your MCP client:
- Choose your preferred MCP client from the installation examples above
- Add the Strands Agents MCP server configuration to your client
-
Test the connection:
# For published package npx @modelcontextprotocol/inspector uvx strands-agents-mcp-server # For local development npx @modelcontextprotocol/inspector python -m strands_mcp_server
-
Start using the documentation tools:
- Use
search_docs
to find relevant documentation with intelligent ranking - Use
fetch_doc
to retrieve full content from specific URLs - The server automatically indexes curated content from llms.txt files
- Use
git clone https://github.com/strands-agents/mcp-server.git
cd mcp-server
python3 -m venv venv
source venv/bin/activate
pip3 install -e .
npx @modelcontextprotocol/inspector python -m strands_mcp_server
We welcome contributions! See our Contributing Guide for details on:
- Reporting bugs & features
- Development setup
- Contributing via Pull Requests
- Code of Conduct
- Reporting of security issues
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
See CONTRIBUTING for more information.