
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An implementation of the Model Context Protocol server for CMMV applications that exposes decorator-registered tools to large language models over HTTP, SSE, or standard I/O.
@cmmv/mcp MCP server module for CMMV applications is cataloged as an MCP server attributed to cmmvio. An implementation of the Model Context Protocol server for CMMV applications that exposes decorator-registered tools to large language models over HTTP, SSE, or standard I/O. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for @cmmv/mcp MCP server module for CMMV applications are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports transport via HTTP (StreamableHTTP), SSE, or standard I/O.
Yes, when integrateWithHttp is true the MCP routes are added to the existing HTTP server, for example on the same port.
README.md · 47b6661a4b80 · 采集于 2026-11-13 11:31:29 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
Contract-Model-Model-View (CMMV)
Building scalable and modular applications using contracts.
The @cmmv/mcp module implements the Model Context Protocol (MCP) for CMMV applications, allowing standardized interactions between LLMs (Large Language Models) and your application. MCP provides a structured interface for defining tools usable by AI models in a standard format.
@MCPTool to register tools./sse, /messages)./mcp/health) and tools listing (/mcp/tools) endpoints.Install @cmmv/mcp via pnpm:
$ pnpm add @cmmv/mcp
Configure the MCP module in your .cmmv.config.cjs or using ConfigSchema:
import { ConfigSchema } from '@cmmv/core';
export const MCPConfig: ConfigSchema = {
mcp: {
name: {
type: 'string',
required: true,
default: 'mcp',
},
version: {
type: 'string',
required: true,
default: '0.0.1',
},
port: {
type: 'number',
required: true,
default: 8765,
},
transport: {
type: 'string',
required: true,
default: 'http', // 'http', 'sse' or 'stdio'
},
integrateWithHttp: {
type: 'boolean',
required: false,
default: false, // Integrate with existing HTTP server
},
jwtSecret: {
type: 'string',
required: true,
default: 'your-secret-key',
},
pingInterval: {
type: 'number',
required: true,
default: 30000,
},
connectionTimeout: {
type: 'number',
required: true,
default: 300000,
},
},
};
In your main file, include the MCPModule and configure your application:
import { Application, Config } from '@cmmv/core';
import { DefaultAdapter, DefaultHTTPModule } from '@cmmv/http';
import { MCPModule } from '@cmmv/mcp';
import { MCPHandlers } from './mcp-handlers';
Config.assign({
mcp: {
port: 8766,
transport: 'http',
name: 'cmmv-mcp-server',
version: '1.0.0',
integrateWithHttp: false, // Standalone mode
},
});
Application.create({
httpAdapter: DefaultAdapter,
modules: [MCPModule],
providers: [MCPHandlers],
});
To integrate MCP with your existing HTTP server:
import { Application, Config } from '@cmmv/core';
import { DefaultAdapter, DefaultHTTPModule } from '@cmmv/http';
import { MCPModule } from '@cmmv/mcp';
import { MCPHandlers } from './mcp-handlers';
Config.assign({
mcp: {
port: 3000, // Same port as your HTTP server
transport: 'http',
name: 'cmmv-mcp-server',
version: '1.0.0',
integrateWithHttp: true, // Integrate with existing HTTP server
},
});
Application.create({
httpAdapter: DefaultAdapter,
modules: [MCPModule],
providers: [MCPHandlers],
});
When integrateWithHttp: true, the MCP routes will be added to your existing HTTP server:
POST /mcp - StreamableHTTP transportGET /mcp - SSE transport (legacy)POST /messages - Messages endpoint (legacy)GET /mcp/health - Health checkGET /mcp/tools - List available toolsUse the @MCPTool decorator to register tools callable by LLMs:
import { MCPTool, z } from '@cmmv/mcp';
export class MCPHandlers {
@MCPTool('greet', {
name: z.string(),
age: z.number(),
})
public async greet({ name, age }: { name: string; age: number }) {
return {
content: `Hello \${name}, you are \${age} years old`,
};
}
}
The MCP client can connect to your server using the HTTP endpoint:
curl -X POST http://localhost:8765/mcp \\
-H "Content-Type: application/json" \\
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "greet",
"arguments": {
"name": "John",
"age": 30
}
}
}'
You can check the server health:
curl http://localhost:8765/health
You can list all available tools:
curl http://localhost:8765/tools
@MCPTool(name: string, schema: Record<string, z.ZodSchema>)Registers a method as an MCP tool with a name and validation schema.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for @cmmv/mcp MCP server module for CMMV applications from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/cmmv-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.