IM

instructa/mcp-starter

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

37 stars 13 forks 品質 63 トレンド 12MIT

instructa/mcp-starter は https://github.com/instructa/mcp-starter. からインポートされた MCP サーバーの候補です

概要

instructa/mcp-starter は https://github.com/instructa/mcp-starter. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

–>-> によって作成された

独自のMCPサーバーを構築したいですか?

MCP Server Starter は、MCP 標準を使用して、Cursor、Claude などのローカルツールを実行するための基本的な構造を提供します。

お問い合わせ

##特徴

  • 柔軟なコミュニケーション**

  • クライアントとサーバー間で複数の通信プロトコルをサポートし、

  • [sse:リモートとローカルの使用法(非推奨)~~

  • 基本的なサーバの実装で素早く起動します。

  • ✓Cursor AIインテグレーション** - 設定例[.cursor/mcp.jsonが含まれています。

  • TypeScript* - プロジェクトにタイプ安全を追加します。

戸藤

  • [ ] 独自のパッケージを公開するオプションを追加
  • [ ] スカフォールドのためのより良い CLI サポート
  • [ ] フライでツールを作成するプロンプト

はじめる

前提条件

  • Node.js(必要に応じてバージョンを指定します)
  • MCP対応のクライアント(例、Cursor)

使用法

対応輸送オプション

モデルコンテキストプロトコルは、複数のトランスポートメソッドをサポートしています。

stdioの

ローカルセットアップに対応

####コードエディタサポート

以下のコードスニペットを追加

  • カーソル: .cursor/mcp.json

ローカル開発/テスト

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP Server Starter

Want to build your own MCP server?

MCP Server Starter gives you a basic structure to run local tools with Cursor, Claude, and others using the MCP standard.


Features

  • 📡 Flexible Communication

    • Supports multiple communication protocols between client and server,
    • stdio: Local usage
    • Streamable HTTP: Remote and local useage
    • sse: Remote and local usage (deprecated)~~
  • 📦 Minimal Setup - Get started quickly with a basic server implementation.

  • 🤖 Cursor AI Integration - Includes example .cursor/mcp.json configuration.

  • ⌨️ TypeScript - Add type safety to your project.

Todo

  • [ ] Add option to publish your own packages
  • [ ] Better CLI support for scaffolding
  • [ ] Prompts to build tools on the fly

Getting Started

Prerequisites

  • Node.js (Specify version if necessary)
  • An MCP-compatible client (e.g., Cursor)

Usage

Supported Transport Options

Model Context Protocol Supports multiple Transport methods.

stdio

Recommend for local setups

Code Editor Support

Add the code snippets below

  • Cursor: .cursor/mcp.json

Local development/testing

Use this if you want to test your mcp server locally

{
  "mcpServers": {
    "my-starter-mcp-stdio": {
      "command": "node",
      "args": ["./bin/cli.mjs", "--stdio"]
    }
  }
}

Published Package

Use this when you have published your package in the npm registry

{
  "mcpServers": {
    "my-starter-mcp-stdio": {
      "command": "npx",
      "args": ["my-mcp-server", "--stdio"]
    }
  }
}

Streamable HTTP

Important: Streamable HTTP is not supported in Cursor yet

Recommend for remote server usage

Important: In contrast to stdio you need also to run the server with the correct flag

Local development Use the streamable http transport

  1. Start the MCP Server Run this in your terminal
node ./bin/cli.mjs --http --port 4200

Or with mcp inspector

npm run dev-http
GitHub で README 全文を見る

インストール

npx my-mcp-server --stdio
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "my-starter-mcp-stdio": { "command": "node", "args": ["./bin/cli.mjs", "--stdio"] } } }