Skip to main content

MCP server for AdonisJS documentation (v5, v6, v7) — gives AI agents quick access to AdonisJS docs

Project description

adonis-docs-mcp

MCP server that gives AI agents fast access to AdonisJS documentation (v5, v6, v7) and Edge.js template engine documentation.

Fetches raw markdown directly from the official GitHub repos and caches locally for speed.

Quick Start

# Run with uvx (no install needed)
uvx adonis-docs-mcp

Integration

Claude Desktop / Claude Code

Add to your MCP settings:

{
  "mcpServers": {
    "adonis-docs": {
      "command": "uvx",
      "args": ["adonis-docs-mcp"]
    }
  }
}

VS Code / GitHub Copilot

Add to .vscode/mcp.json:

{
  "servers": {
    "adonis-docs": {
      "command": "uvx",
      "args": ["adonis-docs-mcp"]
    }
  }
}

Cursor

Add to your MCP config:

{
  "mcpServers": {
    "adonis-docs": {
      "command": "uvx",
      "args": ["adonis-docs-mcp"]
    }
  }
}

Available Tools

AdonisJS

Tool Description
list_versions List all available AdonisJS doc versions (v5, v6, v7)
list_sections Browse the documentation structure for a version
get_doc Fetch the full markdown content of a specific page
search_docs Search docs by keyword across titles and content
clear_cache Clear the local documentation cache

Edge.js Templates

Tool Description
edge_list_sections Browse the Edge.js documentation structure
edge_get_doc Fetch the full markdown content of an Edge.js doc page
edge_search_docs Search Edge.js docs by keyword

Examples

# List what's available
list_versions()

# Browse v7 docs structure
list_sections(version="v7")

# Read the routing guide
get_doc(permalink="guides/basics/routing", version="v7")

# Search for authentication docs
search_docs(query="authentication", version="v7")

# Search across all versions
search_docs(query="middleware", version="all")

# Browse Edge.js template docs
edge_list_sections()

# Read Edge.js components docs
edge_get_doc(permalink="components/introduction")

# Search Edge.js docs
edge_search_docs(query="slots")

Configuration

Environment Variable Default Description
ADONIS_DOCS_CACHE_TTL 3600 Cache TTL in seconds (default: 1 hour)
ADONIS_DOCS_CACHE_DIR ~/.cache/adonis-docs-mcp Cache directory path

Documentation Sources

Version GitHub Repo Status
v7 adonisjs/v7-docs Latest (default)
v6 adonisjs/v6-docs Stable
v5 adonisjs/v5-docs Legacy
Edge.js edge-js/edgejs.dev Template engine

Development

# Clone and install
git clone https://github.com/pimentelleo/adonis-docs-mcp.git
cd adonis-docs-mcp
uv sync

# Run locally
uv run adonis-docs-mcp

# Test with MCP Inspector
npx @modelcontextprotocol/inspector uv run adonis-docs-mcp

Publishing (maintainers)

This project uses PyPI Trusted Publishing via GitHub Actions.

One-time setup

  1. Go to https://pypi.org/manage/account/publishing/
  2. Add a new pending publisher:
    • Project name: adonis-docs-mcp
    • Owner: pimentelleo
    • Repository: adonis-docs-mcp
    • Workflow name: publish.yml
    • Environment name: pypi
  3. Save

Releasing a new version

  1. Update version in pyproject.toml and src/adonis_docs_mcp/__init__.py
  2. Commit and push
  3. Create a GitHub release (tag format: v0.1.0)
  4. The publish workflow will automatically build and upload to PyPI

License

MIT

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

adonis_docs_mcp-0.2.0.tar.gz (49.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adonis_docs_mcp-0.2.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file adonis_docs_mcp-0.2.0.tar.gz.

File metadata

  • Download URL: adonis_docs_mcp-0.2.0.tar.gz
  • Upload date:
  • Size: 49.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for adonis_docs_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2a95036e9c2e89b798caed92f0903863e1cc7bd49c7d9b677ea5089a706208ef
MD5 989dded84e75b442a122956600c221e5
BLAKE2b-256 d6c95f8ec46c494cf69d8a0f21190874588a577012d87bfab2a238556d8814a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for adonis_docs_mcp-0.2.0.tar.gz:

Publisher: publish.yml on pimentelleo/adonis-docs-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file adonis_docs_mcp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: adonis_docs_mcp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for adonis_docs_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fbd744f2b1bdd07f2d3181c2d09af87a394fceef53d327c23e609d2878c51c2e
MD5 deff2781c78371f4316e383f2c09a31b
BLAKE2b-256 8f6f84d3970964812068c180ad572d27fdaf6ae578b1740edce1266237d59fce

See more details on using hashes here.

Provenance

The following attestation bundles were made for adonis_docs_mcp-0.2.0-py3-none-any.whl:

Publisher: publish.yml on pimentelleo/adonis-docs-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page