esp-idf-docs
Searches and retrieves ESP-IDF documentation from Espressif's official website, providing tools for exploring documentation structure, finding API references, and reading doc contents.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@esp-idf-docssearch docs for Wi-Fi configuration"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ESP-IDF Documentation Explorer MCP Server
A Model Context Protocol (MCP) server for exploring ESP-IDF documentation online. This server fetches content directly from the official ESP-IDF documentation website, ensuring you always have access to the latest information. This implementation is inspired by the AWS Documentation MCP Server.
Features
Online Search: Search ESP-IDF documentation directly from the official website
Real-time Content: Always access the latest documentation without local setup
Multi-version Support: Choose ESP-IDF version (latest or specific versions)
API Reference Search: Find API references for ESP-IDF components
Smart Caching: Intelligent caching for improved performance
Related MCP server: docs-scraper
Usage in MCP Clients
Add the following to your MCP client configuration (e.g., Claude Desktop):
{
"mcpServers": {
"esp-idf-docs": {
"command": "uvx",
"args": ["esp-idf-docs-mcp"],
"env": {
"ESP_IDF_VERSION": "latest",
"ESP_IDF_CHIP_TARGET": "esp32s3"
}
}
}
}Development Installation
# Clone and install for development
git clone https://github.com/raihalea/esp-idf-docs.git
cd esp-idf-docs
# Install dependencies only
uv sync
# Install with development dependencies
uv sync --devAvailable Tools
search_docs
Search ESP-IDF documentation for keywords (case-insensitive).
Parameters:
query(string): Search query
get_doc_structure
Get the directory structure of ESP-IDF documentation.
Parameters: None
read_doc
Read the contents of a specific documentation file.
Parameters:
file_path(string): Relative path to the documentation file
find_api_references
Find API references for a specific ESP-IDF component.
Parameters:
component(string): Component or API name to search for
Environment Variables
ESP_IDF_VERSION
ESP-IDF documentation version to use (defaults to "latest").
Available versions:
latest- Latest stable versionv5.1- ESP-IDF v5.1v5.0- ESP-IDF v5.0v4.4- ESP-IDF v4.4etc.
Setting the environment variable:
# Linux/macOS
export ESP_IDF_VERSION="v5.1"
# Windows Command Prompt
set ESP_IDF_VERSION=v5.1
# Windows PowerShell
$env:ESP_IDF_VERSION="v5.1"ESP_IDF_BASE_URL
Base URL for ESP-IDF documentation (defaults to official site).
export ESP_IDF_BASE_URL="https://docs.espressif.com/projects/esp-idf"Usage examples:
# Run with specific version (PyPI)
ESP_IDF_VERSION="v5.1" uvx esp-idf-docs-mcp
# Run with latest (default)
uvx esp-idf-docs-mcpTesting
Run the test suite:
# Install development dependencies
uv sync --dev
# Run all tests
uv run pytest
# Run tests with verbose output
uv run pytest -v
# Run specific test file
uv run pytest tests/test_minimal.py -v
# Run tests with coverage (if coverage is installed)
uv run pytest --cov=src/esp_idf_docs_mcp
# Search document
ESP_IDF_CHIP_TARGET=esp32s3 ESP_IDF_VERSION=latest uv run python test_search.py bluetoothTest Categories
Basic Tests (
test_minimal.py): Core functionality and importsImplementation Tests (
test_fixed.py): Actual implementation validationComprehensive Tests (
test_comprehensive.py): Error handling, security, performance, and robustnessIntegration Tests (
test_explorer_integration.py): End-to-end ESPIDFDocsExplorer testing
Development
Code Quality
This project uses ruff for linting and formatting:
# Install development dependencies
uv sync --dev
# Run linter
uv run ruff check src/ tests/
# Auto-fix linting issues
uv run ruff check src/ tests/ --fix
# Format code
uv run ruff format src/ tests/
# Check formatting
uv run ruff format --check src/ tests/Development Workflow
Common development commands:
# Setup development environment
uv sync --dev
# Run all quality checks
uv run ruff check src/ tests/ && uv run ruff format src/ tests/ && uv run pytest && uv run mypy src/ --ignore-missing-imports
# Run individual checks
uv run ruff check src/ tests/ # Linting
uv run ruff check src/ tests/ --fix # Auto-fix linting
uv run ruff format src/ tests/ # Format code
uv run pytest # Run tests
uv run mypy src/ --ignore-missing-imports # Type checkingThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables managing internal documentation with search and add capabilities, and fetching official documentation from 13+ popular libraries via MCP tools.Last updated69MIT
- Flicense-qualityDmaintenanceEnables scraping and searching documentation websites using semantic or keyword search, with support for multiple deployment modes.Last updated
- Flicense-qualityDmaintenanceEnables searching documentation from GitHub repositories and web pages via MCP tools, with in-memory indexing and caching for fast retrieval.Last updated
- Alicense-qualityCmaintenanceEnables searching and retrieving Godot documentation pages using fuzzy search, with support for multiple documentation versions.Last updatedMIT
Related MCP Connectors
Get up-to-date, version-specific documentation and code examples from official sources directly in…
DevDocs.io keyless docs index + entry search + content (Angular, MDN, Rust, etc.).
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/raihalea/esp-idf-docs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server