mcp-server

moleculerjs/mcp-server

3.2

If you are the rightful owner of mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The @moleculer/mcp-server is a mixin for the Moleculer API Gateway, enabling the integration of the Model Context Protocol (MCP) with moleculer-web.

Moleculer logo

Integration & Unit Test NPM version

@moleculer/mcp-server

MCP server mixin for Moleculer API Gateway (moleculer-web)

Install

To install the package, use the following command:

npm i @moleculer/mcp-server moleculer-web

Usage

Add MCP server mixin to your API Gateway service

import ApiGateway from "moleculer-web";
import { McpServerMixin } from "../../src/index.js";

// api.service.js
export default {
	name: "api",
	mixins: [ApiGateway, McpServerMixin()],
	settings: {
		// Other API gateway settings...
	}
};

The API gateway with MCP server will be available at: http://localhost:3000/mcp

Install into MCP Client

{
    "servers": {
        "moleculer": {
            "url": "http://localhost:3000/mcp",
            "type": "http"
        }
    }
}

Install to Claude Code

claude mcp add --transport http moleculer http://127.0.0.1:3000/mcp

License

The project is available under the MIT license.

Contact

Copyright (c) 2025 MoleculerJS

@MoleculerJS @MoleculerJS