MCP.so
ログイン

MCP Server

@MCP-Mirror

基本情報

カテゴリ

その他

トランスポート

stdio

作者

MCP-Mirror

MCP Server について

Mirror of

MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "la-rebelion_mcp-server": {
      "command": "node",
      "args": [
        "build/index.js"
      ]
    }
  }
}

MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is mcp-server?

mcp-server is a simple server that implements the Model Context Protocol (MCP) using a facade pattern to provide a simpler API for creating MCP servers. It is built by La Rebelion to simplify the process of starting with MCP, allowing developers to focus on tool logic.

How to use mcp-server?

Install via yarn add @la-rebelion/mcp-server alongside the MCP SDK and dependencies (zod, zod-to-json-schema). Create a tool by extending the Tool class and implementing its execute method, then register it with an MCPServer instance and call server.run(). Build with yarn build and start with yarn start or node build/index.js.

Key features of mcp-server

  • Implements the Model Context Protocol (MCP) with a simplified facade.
  • Requires only tool creation, registration, and server start.
  • Provides a base Tool class for custom tool logic.
  • Includes an example EchoTool to demonstrate the pattern.
  • Outputs results in standard MCP content format.

Use cases of mcp-server

  • Building custom MCP-compatible servers with minimal boilerplate.
  • Rapid prototyping of tools for use with MCP clients like Claude Desktop.
  • Abstracting tool logic into reusable, extension-based components.

よくある質問

1

What is the facade pattern used in mcp-server?

The facade pattern simplifies the process of creating an MCP server by hiding complexity—you only need to create tools, register them, and start the server.

2

How do I install mcp-server?

Add the package to your project with `yarn add @la-rebelion/mcp-server` along with `@modelcontextprotocol/sdk`, `zod`, and `zod-to-json-schema`.

3

How do I create a custom tool?

Extend the `Tool` class, define a `toolSchema` with name, description, and parameter schema, then implement the `execute` method with your custom logic.

4

How do I build and run the server?

Build with `yarn build` and start with `yarn start` or `node build/index.js`. Test with any MCP client like Claude Desktop.

コメント

「その他」の他のコンテンツ