mcpjs
JavaScript实现的MCP JSON-RPC客户端/服务器示例. mcpjs is a Model Context Protocol (MCP) server maintained by melvincarvalho. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 2 tools, including initialize and echo, that an agent can call directly. It is categorized under Tool/Server and Development/JavaScript.
什么是MCP
这是一个使用JSON-RPC在JavaScript中实现模型上下文协议(MCP)的简单示例,展示了包含initialize和echo方法的基础MCP交互。
如何使用
node server.js启动服务端node client.js测试连接应用场景
- 学习MCP/JSON-RPC基础原理
- 构建简易AI智能体通信系统
- 为复杂MCP实现奠定基础
AIMCP 域名指标
MyBacklinks 展示 aimcp.info 的指标。流量值由第三方估算,徽章未标明周期或方法;它不是 AIMCP 实测页面浏览量,缺失也不等于零。
测量日期:来源未提供。
来源与详情:MyBacklinks · aimcp.infoFrequently asked questions
What is the mcpjs MCP server?
mcpjs is a Model Context Protocol server from melvincarvalho. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.
How do I connect mcpjs to my AI client?
Add mcpjs to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.
What tools does mcpjs provide?
mcpjs provides 2 tools: initialize and echo.
Is mcpjs free to use?
mcpjs is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
