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).
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
| 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 |
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")
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 |
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
- Go to https://pypi.org/manage/account/publishing/
- Add a new pending publisher:
- Project name:
adonis-docs-mcp - Owner:
pimentelleo - Repository:
adonis-docs-mcp - Workflow name:
publish.yml - Environment name:
pypi
- Project name:
- Save
Releasing a new version
- Update
versioninpyproject.tomlandsrc/adonis_docs_mcp/__init__.py - Commit and push
- Create a GitHub release (tag format:
v0.1.0) - The publish workflow will automatically build and upload to PyPI
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adonis_docs_mcp-0.1.0.tar.gz.
File metadata
- Download URL: adonis_docs_mcp-0.1.0.tar.gz
- Upload date:
- Size: 48.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3805e022045c4a0be7be39b98361f6498c4d2a921464db442173c02a28515a5
|
|
| MD5 |
425c145aad4a1b153dc30dae6fa0d70d
|
|
| BLAKE2b-256 |
4ffb60ca48f30a182d158faf6c739d9b53b514ee814b51f69f8acb398d25da3f
|
Provenance
The following attestation bundles were made for adonis_docs_mcp-0.1.0.tar.gz:
Publisher:
publish.yml on pimentelleo/adonis-docs-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adonis_docs_mcp-0.1.0.tar.gz -
Subject digest:
c3805e022045c4a0be7be39b98361f6498c4d2a921464db442173c02a28515a5 - Sigstore transparency entry: 1592084487
- Sigstore integration time:
-
Permalink:
pimentelleo/adonis-docs-mcp@1becaccd79d6fb4a845942b351c26599bc288a44 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/pimentelleo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1becaccd79d6fb4a845942b351c26599bc288a44 -
Trigger Event:
release
-
Statement type:
File details
Details for the file adonis_docs_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: adonis_docs_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6f885aca757f20a4c341c0e47dc9f603201e95a0f1b8a7d8f9b2acb2b594c4e
|
|
| MD5 |
74845a1b3979efdde109b656b946212d
|
|
| BLAKE2b-256 |
430aec6aa0e4c76d194e175cbc8bbbd01061b5790bc72c60f799cf39363f20f5
|
Provenance
The following attestation bundles were made for adonis_docs_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on pimentelleo/adonis-docs-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adonis_docs_mcp-0.1.0-py3-none-any.whl -
Subject digest:
d6f885aca757f20a4c341c0e47dc9f603201e95a0f1b8a7d8f9b2acb2b594c4e - Sigstore transparency entry: 1592084491
- Sigstore integration time:
-
Permalink:
pimentelleo/adonis-docs-mcp@1becaccd79d6fb4a845942b351c26599bc288a44 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/pimentelleo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1becaccd79d6fb4a845942b351c26599bc288a44 -
Trigger Event:
release
-
Statement type: