MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

N
Node Express Hexagonal Mcps Api
作者 @cesarm29

MCP server by cesarm29

创建于 3/23/2026
更新于 about 4 hours ago
Repository documentation and setup instructions

MCP API with Express and Hexagonal Architecture

A simple Node.js API using Express that connects to multiple MCP (Model Context Protocol) servers. Built with hexagonal architecture for clean separation of concerns.

What it does

  • Connects to various MCP servers
  • Exposes REST endpoints for tools, resources, and prompts
  • Uses ports and adapters pattern
  • Includes Swagger docs for easy testing

Getting started

First, install the dependencies:

npm install

Then run the server:

npm start

The API will be available at http://localhost:3000, and you can check the docs at http://localhost:3000/api-docs.

Endpoints

  • GET /servers - lists available servers
  • GET /servers/{server}/tools - tools from a server
  • POST /servers/{server}/tools/{toolName} - call a tool
  • And more for resources and prompts

Configure your MCP servers in src/infrastructure/config/mcpServers.js

快速设置
此服务器的安装指南

安装包 (如果需要)

npx @modelcontextprotocol/server-node_express_hexagonal_mcps_api

Cursor 配置 (mcp.json)

{ "mcpServers": { "cesarm29-node-express-hexagonal-mcps-api": { "command": "npx", "args": [ "cesarm29-node-express-hexagonal-mcps-api" ] } } }