MCP.so
登录

MCP Starter Project

@instructa

关于 MCP Starter Project

A super simple Starter to build your own MCP Server

基本信息

分类

开发工具

许可证

MIT

运行时

node

传输方式

stdio

发布者

instructa

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-starter": {
      "command": "node",
      "args": [
        "./bin/cli.mjs",
        "--http",
        "--port",
        "4200"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is MCP Starter Project?

MCP Starter Project is a basic structure template for building your own MCP (Model Context Protocol) servers. It provides a minimal setup to run local tools with MCP-compatible clients such as Cursor, Claude, and others, supporting multiple communication transports.

How to use MCP Starter Project?

After installing Node.js and a compatible client, run the server with node ./bin/cli.mjs using flags like --stdio (default) or --http --port 4200. Configure integration by adding JSON blocks to .cursor/mcp.json for local development or published packages. Use the inspector with npm run dev-http for debugging.

Key features of MCP Starter Project

  • Supports stdio, Streamable HTTP, and SSE (deprecated) transports
  • Minimal setup with TypeScript for type safety
  • Includes example Cursor AI integration configuration
  • CLI options for protocol selection and port/endpoint flags
  • Built-in inspector for debugging MCP servers
  • Defaults to stdio transport for local use

Use cases of MCP Starter Project

  • Quickly scaffold a local MCP server for testing tools with Cursor
  • Run a remote MCP server using Streamable HTTP transport
  • Debug and inspect your MCP server using the built-in inspector

FAQ from MCP Starter Project

What transports does MCP Starter Project support?

It supports stdio, Streamable HTTP, and SSE (deprecated). The default transport is stdio.

How do I configure MCP Starter Project with Cursor?

Add a JSON block to .cursor/mcp.json with the command (e.g., node or npx) and args (e.g., ["./bin/cli.mjs", "--stdio"]).

What are the command-line options for protocol selection?

Use --http --port <num> --endpoint <path> for HTTP (default port 3000, endpoint /mcp), or --sse --port <num> for SSE (deprecated). No flag uses stdio.

Is Streamable HTTP supported in Cursor?

No, Streamable HTTP is not supported in Cursor yet. It is recommended for remote server usage.

How can I debug my MCP server?

Use the inspect command or run npm run dev-http to start the server with the MCP inspector.

评论

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