adonis
Rapidly Build Remote MCP Servers Based on the AdonisJS Framework
Install & Use
Copy this prompt and send it to your AI assistant (Claude / Cursor / TRAE / Codex / WorkBuddy etc.) to auto-install:
Help me install this AI Skill: adonis. It is used for: Rapidly Build Remote MCP Servers Based on the AdonisJS Framework Full Skill content: https://321skill.com/skills/adonis/raw/index.md Read that page and install it.
The prompt includes a link to the full Skill content. You can also view the full content.
This Skill addresses the need for developers to quickly convert backend services into MCP (Model Context Protocol) servers when building AI applications. In practice, developers often require AI assistants to call specific tools or resources on remote servers, but manually implementing the MCP protocol and SSE communication can be complex. Adonis MCP encapsulates this process as a framework plugin, allowing developers to focus on defining tool logic without dealing with underlying communication protocols.
Usage is straightforward: simply install the package via npm in your AdonisJS project, then configure the SSE path and server options in the config/mcp.ts configuration file. Afterward, use the registerRoutes method in start/routes.ts to define resources, tools, and prompts via a clean API. Once the development server is started, AI assistants (like Claude Desktop) can connect to your MCP server via the configured SSE URL and call the functionalities you've defined.
It is ideal for full-stack or backend developers who need to expose existing AdonisJS backend service capabilities to AI assistants. This is particularly useful for teams that have already built business logic using the AdonisJS framework and want AI to securely and controllably invoke these capabilities. For scenarios developing agent applications that require deep integration between AI and remote services, this Skill significantly lowers the integration barrier.
We recommend using this tool uniformly when developing intelligent applications that require interaction between AI and backend services. Note that it primarily relies on the AdonisJS framework and Node.js environment, so your project's tech stack must be compatible. When defining tools, ensure that the Zod schema for input parameters is clearly defined to generate accurate tool-calling interfaces. For debugging, you can utilize the MCP Inspector tool to verify connections and check if the tool list is correct.
Key Features
Unlike generic MCP Node.js SDKs, it is deeply integrated into the AdonisJS framework, offering framework-specific configuration, service registration, and route definition methods. Developers can build MCP servers while adhering to familiar AdonisJS development practices.
Limitations
This Skill depends on the AdonisJS framework (v6+) and a Node.js environment. It cannot be used independently of an AdonisJS project and currently primarily supports the SSE-based transport protocol.
FAQ
What MCP tool types does Adonis MCP support?
It supports defining the three core MCP components: resources, tools, and prompts.
How can I debug my MCP server?
You can use the official MCP Inspector tool, select the SSE transport type, and enter your SSE endpoint URL to connect and test.
Installation guide for AI assistants
If your AI coding assistant (Claude Code, Cursor, TRAE etc.) can see this page, send it this message to auto-install:
Visit https://321skill.com/skills/adonis/raw/index.md to read the original Skill definition (Markdown format) for adonis, and install it according to the instructions.
Raw Markdown URL for AI: /skills/adonis/raw/index.md