MCP.so
Sign In

mcp-server

@MCP-Mirror

About mcp-server

Mirror of

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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.

FAQ from mcp-server

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.

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.

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.

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.

Frequently asked questions

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.

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`.

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.

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.

Comments

More Other MCP servers