MCP.so
登录

Adonis MCP Server

@7nohe

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

7nohe

关于 Adonis MCP Server

An AdonisJS package for building remote MCP servers

Adonis MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "adonis-mcp": {
      "command": "node",
      "args": [
        "ace",
        "add",
        "@7nohe/adonis-mcp"
      ]
    }
  }
}

Adonis MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Adonis MCP?

Adonis MCP is a package for the AdonisJS framework that enables building remote MCP (Model Context Protocol) servers using Server-Sent Events (SSE). It's intended for developers who want to create MCP-compatible tools, resources, and prompts within an AdonisJS application.

How to use Adonis MCP?

Install via node ace add @7nohe/adonis-mcp. Configure by editing the generated config/mcp.ts file. Register routes (tools, resources, prompts) in start/routes.ts using the registerRoutes method, then start the server with npm run dev. Debug via a configuration file (e.g., for Claude Desktop) or the MCP Inspector.

Key features of Adonis MCP

  • Integrates MCP support directly into AdonisJS.
  • Uses Server-Sent Events (SSE) for remote transport.
  • Allows defining resources, tools, and prompts via registerRoutes.
  • Provides configuration for custom SSE and messages paths.
  • Supports debugging with MCP Inspector and client config files.

Use cases of Adonis MCP

  • Exposing AdonisJS application data as MCP resources to AI clients.
  • Building custom tools that interact with an AdonisJS backend.
  • Creating prompt templates for AI assistants that consume MCP servers.

常见问题

1

What runtime does Adonis MCP require?

It requires Node.js with the AdonisJS framework installed; the package is added via Ace commands.

2

How do I debug my MCP server?

You can debug using a configuration file (e.g., for Claude Desktop) by specifying the SSE URL, or by using the MCP Inspector tool with SSE transport.

3

Does this package support only SSE transport?

Yes, the README explicitly describes SSE as the transport method for remote MCP servers.

4

Where is the MCP server URL configured?

In the `config/mcp.ts` file you set `ssePath` and `messagesPath`, which define the endpoints. The server runs on AdonisJS’s default host and port (e.g., `http://localhost:3333/sse`).

评论

其他 分类下的更多 MCP 服务器