MCP HubMCP Hub
MCP·D57E11
M

mcpjs

By melvincarvalho·Visit Source
JavaScriptでのMCP JSON-RPCクライアント/サーバー例
2025年4月18日
2 months ago
1 Clicks
About 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について

これはJavaScriptでJSON-RPCを使用したModel Context Protocol(MCP)のシンプルな実装です。初期化メソッドとエコーメソッドを用いた基本的なMCP風のインタラクションを実演しています。

使用方法

  • リポジトリをクローンする
  • node server.js を実行してサーバーを起動
  • 別のターミナルで node client.js を実行して接続をテスト
  • 必要に応じてさらにJSON-RPCメソッドを追加して拡張
  • 用途

    - MCP/JSON-RPCの基本学習

    - シンプルなAIエージェント通信システムの構築

    - より複雑なMCP実装の基盤作成

    Repository Info
    Stars:
    3
    Forks:
    2
    Watchers:
    3
    Last Updated: 10 months ago

    AIMCP authority

    DR and traffic signal for the AIMCP public domain.

    FAQ

    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.

    Sponsored

    Vernclaw Plugins for OpenClaw

    Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.