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.

コメント

「開発者ツール」の他のコンテンツ