M
mcpjs
By melvincarvalho·Visit Source
MCP JSON-RPC client/server example in JavaScript
April 18, 2025
Today
0 Clicks
What is this MCP
This is a simple implementation of a Model Context Protocol (MCP) using JSON-RPC for client-server communication in JavaScript. It demonstrates basic MCP-inspired interactions with initialize and echo methods.
How to use this MCP
node server.js to start the servernode client.js in another terminal to test the connectionWhat this MCP can be used for
- Learning MCP/JSON-RPC basics
- Building simple AI agent communication systems
- Creating a foundation for more complex MCP implementations
Repository Info
Stars:
3
Forks:
2
Watchers:
3
Last Updated: 6 months ago
Sponsored
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
