mcpjs
Exemple client/serveur MCP JSON-RPC en JavaScript. 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.
Qu'est-ce que ce MCP
Ceci est une implémentation simple d'un Protocole de Contexte Modèle (MCP) utilisant JSON-RPC pour la communication client-serveur en JavaScript. Il démontre des interactions basiques inspirées de MCP avec des méthodes d'initialisation et d'écho.
Comment utiliser ce MCP
node server.js pour démarrer le serveurnode client.js dans un autre terminal pour tester la connexionÀ quoi ce MCP peut servir
- Apprendre les bases de MCP/JSON-RPC
- Construire des systèmes de communication simples pour agents IA
- Créer une base pour des implémentations MCP plus complexes
AIMCP authority
DR and traffic signal for the AIMCP public domain.
Frequently 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.
