Sponsored by Deepsite.site

Strands Mcp

Created By
ShawnKyzer4 months ago
Content

Strands Agents MCP Server for Amazon Q

This project provides an MCP (Model Context Protocol) server that scrapes the Strands Agents documentation and indexes it in Elasticsearch, making it searchable for Amazon Q Developer.

Architecture

  • Documentation Scraper: Python script that crawls the Strands Agents documentation (v1.1.x)
  • Elasticsearch Index: Stores scraped documentation with full-text search capabilities
  • MCP Server: Provides Amazon Q with access to the indexed documentation
  • Docker Compose: Orchestrates all services

Components

  1. scraper/ - Documentation scraping logic
  2. mcp_server/ - MCP server implementation
  3. elasticsearch/ - Elasticsearch configuration
  4. docker-compose.yml - Service orchestration

Quick Start

# Start Elasticsearch and Kibana
docker-compose up -d

# Elasticsearch will be available on port 9200
# Kibana GUI will be available on port 5601

Running the Scraper Locally

Using pip

# Install dependencies
pip install -r requirements.txt

# Install Playwright browsers
playwright install chromium

# Run the scraper to index documentation
python scraper/main.py

Using uv

# Install dependencies
uv sync

# Install Playwright browsers
uv run playwright install chromium

# Run the scraper to index documentation
uv run python scraper/main.py

Running the MCP Server Locally

# Run the MCP server
python mcp_server/main.py

# The MCP server will be available on port 8000

Configuration

Viewing Data with Kibana

Kibana provides a web-based GUI for exploring and visualizing your Elasticsearch data:

  1. Access Kibana: Open http://localhost:5601 in your browser (no login required)
  2. Create Index Pattern:
    • Go to Stack Management → Index Patterns
    • Create a new index pattern with strands-agents-docs
    • Select @timestamp as the time field if available
  3. Explore Data:
    • Use Discover to browse and search through scraped documentation
    • Use Dashboard to create visualizations of your data
    • Use Dev Tools to run Elasticsearch queries directly

Quick Data Exploration

  • Discover Tab: View all indexed documents with full-text search
  • Search: Use the search bar to find specific documentation content
  • Filters: Apply filters to narrow down results by fields
  • Time Range: Adjust time range to see when documents were indexed

Usage with Amazon Q

Configure Amazon Q to use this MCP server by adding the server endpoint to your MCP configuration. See AMAZON_Q_INTEGRATION.md for detailed instructions.

Usage with Windsurf

Integrate with Windsurf IDE for enhanced development experience with Strands Agents documentation. See WINDSURF_INTEGRATION.md for setup instructions.

Quick Windsurf Setup

# Copy the configuration file
cp windsurf-mcp-config.json ~/.windsurf/mcp-servers.json

# Restart Windsurf to load the MCP server

Development

Using pip

# Install dependencies
pip install -r requirements.txt

# Run scraper manually
ELASTICSEARCH_URL=http://localhost:9200 python scraper/main.py

# Run MCP server manually
ELASTICSEARCH_URL=http://localhost:9200 python mcp_server/main.py

# Run standalone (Python + Docker Elasticsearch)
python run_standalone.py

# Test the setup
python test_setup.py

Using uv

# Install dependencies
uv sync

# Run scraper manually
ELASTICSEARCH_URL=http://localhost:9200 uv run python scraper/main.py

# Run MCP server manually
ELASTICSEARCH_URL=http://localhost:9200 uv run python mcp_server/main.py

# Run standalone (Python + Docker Elasticsearch)
uv run python run_standalone.py

# Test the setup
uv run python test_setup.py

Integration Options

  • Amazon Q Developer - See AMAZON_Q_INTEGRATION.md
  • Windsurf IDE - See WINDSURF_INTEGRATION.md
  • Custom MCP Client - Use the MCP server directly via stdio protocol

Server Config

{
  "mcpServers": {
    "strands-agents-docs": {
      "command": "python",
      "args": [
        "-u",
        "mcp_server/main.py"
      ],
      "cwd": "/your_local_directory/strands-mcp",
      "env": {
        "ELASTICSEARCH_URL": "http://localhost:9200"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Tavily Mcp
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Playwright McpPlaywright MCP server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
ChatWiseThe second fastest AI chatbot™
CursorThe AI Code Editor
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Amap Maps高德地图官方 MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.