MCP.so
登录

Express MCP Server

@jhgaylor

基本信息

分类

开发工具

最近更新

传输方式

stdio

作者

jhgaylor

关于 Express MCP Server

Minimal echo example of an MCP server built with express-mcp-handler.

Express MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Express MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Express MCP Server?

Express MCP Server is a stateless Model Context Protocol (MCP) server built with Express and TypeScript. It implements modern Streamable HTTP transport and provides an echo endpoint with resource, tool, and prompt components.

How to use Express MCP Server?

Clone the repository, install dependencies with npm install, build the TypeScript code with npm run build, then run in development mode with npm run dev. Send POST requests to the /mcp endpoint with JSON-RPC payloads to initialize the server and call the echo tool.

Key features of Express MCP Server

  • Stateless MCP implementation with Streamable HTTP transport
  • TypeScript for type safety
  • Express.js for HTTP handling
  • Echo resource, tool, and prompt components
  • Simple JSON-RPC API
  • Node.js 18+ required

Use cases of Express MCP Server

  • Testing MCP client integration with a minimal server
  • Demonstrating MCP resource, tool, and prompt patterns
  • Prototyping or learning the Model Context Protocol

常见问题

1

What is the Model Context Protocol (MCP)?

MCP is a standardized way for LLMs to interact with external data and functionality. This server exposes a stateless API endpoint responding to JSON-RPC requests.

2

What are the runtime requirements?

Node.js 18+ and npm or yarn are required.

3

How do I install and run the server?

Clone the repository, run `npm install`, then `npm run build` and `npm run dev` (development mode). Use `npm test` when tests are added.

4

What functionality does this server provide?

It implements an echo endpoint: a resource at `echo://{message}`, a tool `echo`, and a prompt `echo` that all return or create the provided message.

5

How do I call the echo tool?

Send a POST request to `/mcp` with a JSON-RPC payload containing `"method": "tools/call"`, `"params": {"name": "echo", "arguments": {"message": "Hello, World!"}}`.

评论

开发工具 分类下的更多 MCP 服务器