MCP.so
ログイン

MCP Server Starter

@dx-zero

基本情報

カテゴリ

開発者ツール

ライセンス

MIT

トランスポート

stdio

作者

dx-zero

MCP Server Starter について

A super simple Starter to build your own MCP Server

MCP Server Starter の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

MCP Server Starter のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Server Starter?

MCP Server Starter is a basic project structure for building your own MCP (Model Context Protocol) server. It enables running local tools with Cursor, Claude, and other MCP-compatible clients. The starter supports multiple transport protocols—stdio, Streamable HTTP, and SSE—and is written in TypeScript. It is intended for developers who want to create custom local tooling that integrates with AI assistants.

How to use MCP Server Starter?

After ensuring Node.js is installed, clone or set up the starter project. You then configure an MCP-compatible client (e.g., Cursor) by adding a JSON snippet to .cursor/mcp.json that points to the server’s CLI. For local testing with stdio, run node ./bin/cli.mjs --stdio; for Streamable HTTP, run node ./bin/cli.mjs --http --port 4200. The server can also be published to npm and used via npx.

Features of MCP Server Starter

  • Supports stdio, Streamable HTTP, and SSE transport protocols.
  • Minimal setup for quick start with a basic server.
  • Includes example .cursor/mcp.json configuration for Cursor AI integration.
  • Written in TypeScript for type safety.

Use cases of MCP Server Starter

  • Build custom local tools for use with Cursor or Claude.
  • Test and debug an MCP server locally using stdio.
  • Deploy a remote MCP server via Streamable HTTP.
  • Scaffold a new MCP server for eventual npm package publishing.

よくある質問

1

Which transport should I use?

Use stdio for local setups and Streamable HTTP for remote usage. Streamable HTTP is not supported in Cursor yet. SSE is deprecated.

2

What are the prerequisites?

Node.js and an MCP-compatible client like Cursor are required.

3

How do I run the server with Streamable HTTP?

Start the server with `node ./bin/cli.mjs --http --port 4200` (port defaults to 3000). Then configure your client with a `url` pointing to `http://localhost:4200/mcp`.

4

Can I publish my own MCP server package?

The starter provides a structure to eventually publish packages; this feature is planned but not yet implemented.

5

How do I debug my MCP server?

Use the `npm run dev-http` command (or `npm run dev-sse` for the deprecated SSE) to launch the MCP Inspector for debugging.

コメント

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