Skip to content

moleculerjs/mcp-server

Repository files navigation

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

About

MCP server mixin for Moleculer

Resources

License

Stars

Watchers

Forks

Packages

No packages published