A Model Context Protocol server that provides knowledge about building AI agents with Strands Agents
Project description
Strands Agents MCP Server
A model-driven approach to building AI agents in just a few lines of code.
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.
Features
- 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
Prerequisites
The usage methods below require uv to be installed on your system. You can install it by following the official installation instructions.
Installation
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.
Q Developer CLI example
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"
]
}
}
}
Claude Code example
See the Claude Code documentation for instructions on managing MCP servers.
claude mcp add strands uvx strands-agents-mcp-server
Cline example
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?"
Cursor example
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"
]
}
}
}
Quick Testing
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.
Getting Started
-
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_docsto find relevant documentation with intelligent ranking - Use
fetch_docto retrieve full content from specific URLs - The server automatically indexes curated content from llms.txt files
- Use
Server Development
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
Contributing ❤️
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
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Security
See CONTRIBUTING for more information.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file strands_agents_mcp_server-0.2.3.tar.gz.
File metadata
- Download URL: strands_agents_mcp_server-0.2.3.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fbd822965e71787bf2c56f975b49f50ad9578f23db76630386de02f71cbe0b8
|
|
| MD5 |
6f0e7b927351ccbe04c31263239fe349
|
|
| BLAKE2b-256 |
a0294632364ef97eae42a6498655863ca226f156f16991c6d392422501908c29
|
Provenance
The following attestation bundles were made for strands_agents_mcp_server-0.2.3.tar.gz:
Publisher:
pypi-publish-on-release.yml on strands-agents/mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
strands_agents_mcp_server-0.2.3.tar.gz -
Subject digest:
4fbd822965e71787bf2c56f975b49f50ad9578f23db76630386de02f71cbe0b8 - Sigstore transparency entry: 592709200
- Sigstore integration time:
-
Permalink:
strands-agents/mcp-server@56633f52bbe2fe4b7fb284c5466b7291d9d9b74b -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/strands-agents
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish-on-release.yml@56633f52bbe2fe4b7fb284c5466b7291d9d9b74b -
Trigger Event:
release
-
Statement type:
File details
Details for the file strands_agents_mcp_server-0.2.3-py3-none-any.whl.
File metadata
- Download URL: strands_agents_mcp_server-0.2.3-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c158db3627872c942c64a0dd61640da65c5de7e1fea7a91df5684dd9754c742
|
|
| MD5 |
672662c4158d30965babfaaedc58f085
|
|
| BLAKE2b-256 |
bbf4b80fe54d238c09ecc860e4686f585550c7751d6baa5a1b0a3c80eb6b4117
|
Provenance
The following attestation bundles were made for strands_agents_mcp_server-0.2.3-py3-none-any.whl:
Publisher:
pypi-publish-on-release.yml on strands-agents/mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
strands_agents_mcp_server-0.2.3-py3-none-any.whl -
Subject digest:
6c158db3627872c942c64a0dd61640da65c5de7e1fea7a91df5684dd9754c742 - Sigstore transparency entry: 592709253
- Sigstore integration time:
-
Permalink:
strands-agents/mcp-server@56633f52bbe2fe4b7fb284c5466b7291d9d9b74b -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/strands-agents
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish-on-release.yml@56633f52bbe2fe4b7fb284c5466b7291d9d9b74b -
Trigger Event:
release
-
Statement type: