Skip to main content

Strands Agents MCP Server

A model-driven approach to building AI agents in just a few lines of code.

GitHub commit activity GitHub open issues GitHub open pull requests License PyPI version Python versions

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.

Get started quickly with one-click installation buttons for popular MCP clients. Click the buttons below to install servers directly in your IDE:

Install in Kiro Install in Cursor Install in VS Code

Kiro example

See the Kiro documentation for instructions on managing MCP configuration.

In ~/.kiro/settings/mcp.json:

{
  "mcpServers": {
    "strands-agents": {
      "command": "uvx",
      "args": ["strands-agents-mcp-server"],
      "env": {
        "FASTMCP_LOG_LEVEL": "INFO"
      },
      "disabled": false,
      "autoApprove": ["search_docs", "fetch_doc"]
    }
  }
}

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"]
    }
  }
}

VS Code example

See the VS Code documentation for instructions on managing MCP configuration.

In your mcp.json file:

{
  "servers": {
    "strands-agents": {
      "command": "uvx",
      "args": ["strands-agents-mcp-server"]
    }
  }
}

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

  1. Install prerequisites:

  2. Configure your MCP client:

    • Choose your preferred MCP client from the installation examples above
    • Add the Strands Agents MCP server configuration to your client
  3. 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
    
  4. 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

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.

Metadata

Release files for iflow-mcp_strands-agents_strands-agents-mcp-server 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_strands-agents_strands-agents-mcp-server 0.2.6
File Size Uploaded
iflow_mcp_strands_agents_strands_agents_mcp_server-0.2.6.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_strands-agents_strands-agents-mcp-server 0.2.6
File Interpreter ABI Platform
iflow_mcp_strands_agents_strands_agents_mcp_server-0.2.6-py3-none-any.whl Python 3 none any Details

Total release size: 25.3 kB

Release files / iflow_mcp_strands_agents_strands_agents_mcp_server-0.2.6.tar.gz

Download URL iflow_mcp_strands_agents_strands_agents_mcp_server-0.2.6.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ac4c18181d756eb482d462e6d40619a4dc230d9aa138ec663cf2922641929779
BLAKE2b-256 checksum
How to use checksums
e464f2af3f2f48bb512cf4628a71c61ccc320fe7ca14122bdcdddff9865e9e90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release files / iflow_mcp_strands_agents_strands_agents_mcp_server-0.2.6-py3-none-any.whl

Download URL iflow_mcp_strands_agents_strands_agents_mcp_server-0.2.6-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d53ae9579906807946a89708476ecc7c73a9e4f904d451416ae7df08547277e
BLAKE2b-256 checksum
How to use checksums
1f24b0125e8778e1953ff5814ff65943a5aad93a7cce8cf7029327d89005bb6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page