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 Prompts
| Prompt | Description |
|---|---|
adonisjs_stack |
Anti-AI-slop development guidelines for AdonisJS v7 + Edge.js monolithic projects. Covers architecture constraints, Edge template conventions, controller patterns, form handling, asset management, and 10 strict anti-slop rules. |
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 |
Packages Registry
| Tool | Description |
|---|---|
packages_list |
List all AdonisJS packages, optionally filtered by category |
packages_search |
Search packages by keyword (name, description, category) |
Development Guidelines
| Tool | Description |
|---|---|
get_backend_guidelines |
AdonisJS v7 backend rules: architecture, Edge templates, controllers, forms, models, assets |
get_frontend_guidelines |
Frontend anti-slop rules: semantic HTML, typography, color, layout, spacing, accessibility |
get_code_quality_guidelines |
Code quality anti-slop rules: surgical changes, no comment spam, no bloat, domain naming |
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")
# List all packages
packages_list()
# List authentication packages
packages_list(category="Authentication")
# Search for a package
packages_search(query="jwt")
# Load guidelines before working on a project
get_backend_guidelines()
get_frontend_guidelines()
get_code_quality_guidelines()
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 |
| Packages | adonisjs-community/adonis-packages | Community registry |
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.6.0.tar.gz.
File metadata
- Download URL: adonis_docs_mcp-0.6.0.tar.gz
- Upload date:
- Size: 63.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ece8de3495eee7e2a0c8cbcd90b3d64bab089a4340ba9739b91458575cc18b3c
|
|
| MD5 |
1f9a7673252dd84d4e87676ef644837b
|
|
| BLAKE2b-256 |
f2ec9c937d23f2bbd442e3cdaecaef3e99395083275cea42a9c3aea5a49ba95b
|
Provenance
The following attestation bundles were made for adonis_docs_mcp-0.6.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.6.0.tar.gz -
Subject digest:
ece8de3495eee7e2a0c8cbcd90b3d64bab089a4340ba9739b91458575cc18b3c - Sigstore transparency entry: 1631700350
- Sigstore integration time:
-
Permalink:
pimentelleo/adonis-docs-mcp@2454f5ba3190b8e02268d1af352d024f89c52b79 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/pimentelleo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2454f5ba3190b8e02268d1af352d024f89c52b79 -
Trigger Event:
release
-
Statement type:
File details
Details for the file adonis_docs_mcp-0.6.0-py3-none-any.whl.
File metadata
- Download URL: adonis_docs_mcp-0.6.0-py3-none-any.whl
- Upload date:
- Size: 20.8 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 |
ddcc43237dfe4116ae9cb9e68b46d9d98e48a8ef0f13fd525b679b297c94e467
|
|
| MD5 |
6170f246dd478bb7aece55103f06a8f3
|
|
| BLAKE2b-256 |
73019ca2fbd7f8ecb53762fc46dc9fce52ad1e665b01e4462a28880b5e138fcc
|
Provenance
The following attestation bundles were made for adonis_docs_mcp-0.6.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.6.0-py3-none-any.whl -
Subject digest:
ddcc43237dfe4116ae9cb9e68b46d9d98e48a8ef0f13fd525b679b297c94e467 - Sigstore transparency entry: 1631700352
- Sigstore integration time:
-
Permalink:
pimentelleo/adonis-docs-mcp@2454f5ba3190b8e02268d1af352d024f89c52b79 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/pimentelleo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2454f5ba3190b8e02268d1af352d024f89c52b79 -
Trigger Event:
release
-
Statement type: