1. Conduid
  2. Developer Tools
  3. Esp Idf Docs
MCP server · Developer Tools

Esp Idf Docs

ESP-IDF Documentation Explorer MCP Server

Unclaimed Apache-2.0 last commit a year ago devtools
45Fair

Scored 15 days ago · breakdown

About Esp Idf Docs

Esp Idf Docs is an MCP server published by raihalea in the Developer Tools category: eSP-IDF Documentation Explorer MCP Server.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/raihalea/esp-idf-docs

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Esp Idf Docs

Powered by Claude · Grounded in docs

I know everything about Esp Idf Docs. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

Releases

v0.1.5v0.1.5 · 14 Jul 2025What's Changed update README.md by @raihalea in https://github.com/raihalea/esp-idf-docs/pull/12 fix by @raihalea in https://github.com/raihalea/esp-idf-docs/pull/13 fix version by @raihalea in…
v0.1.4v0.1.4 · 13 Jul 2025What's Changed fix readme by @raihalea in https://github.com/raihalea/esp-idf-docs/pull/10 use fastmcp by @raihalea in https://github.com/raihalea/esp-idf-docs/pull/11 Full Changelog:…
v0.1.3v0.1.3 · 13 Jul 2025What's Changed fix by @raihalea in https://github.com/raihalea/esp-idf-docs/pull/9 Full Changelog: https://github.com/raihalea/esp-idf-docs/compare/v0.1.2...v0.1.3
v0.1.2v0.1.2 · 13 Jul 2025What's Changed fix by @raihalea in https://github.com/raihalea/esp-idf-docs/pull/8 Full Changelog: https://github.com/raihalea/esp-idf-docs/compare/v0.1.1...v0.1.2
v0.1.1v0.1.1 · 13 Jul 2025What's Changed update by @raihalea in https://github.com/raihalea/esp-idf-docs/pull/7 Full Changelog: https://github.com/raihalea/esp-idf-docs/compare/v0.1.0...v0.1.1

README

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

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 --dev

Available 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 version
  • v5.1 - ESP-IDF v5.1
  • v5.0 - ESP-IDF v5.0
  • v4.4 - ESP-IDF v4.4
  • etc.

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-mcp

Testing

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 bluetooth

Test Categories

  • Basic Tests (test_minimal.py): Core functionality and imports
  • Implementation Tests (test_fixed.py): Actual implementation validation
  • Comprehensive Tests (test_comprehensive.py): Error handling, security, performance, and robustness
  • Integration 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 checking

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Esp Idf Docs

How do I install Esp Idf Docs?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Esp Idf Docs safe to use with an AI agent?

Its trust score is 45 out of 100 (fair). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Esp Idf Docs still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.