Skip to main content
Glama
MatthewDailey

MCP Starter Server

MCP スターターサーバー

AIアシスタントツールを構築するための最小限のModelContextProtocolサーバーテンプレート。このスターターは、ClaudeのようなAIアシスタントで使用できるMCPツールを作成するための基本的な構造を提供します。

特徴

  • シンプルな「Hello World」ツールの例

  • TypeScript + esbuild のセットアップ

  • 開発ツールが事前設定されている

Related MCP server: MCP Server Scaffold

Claudeでビルドして実行するためのセットアップ

  1. claude.ai/downloadからClaudeデスクトップアプリをダウンロードしてインストールします。

  2. リポジトリをクローンし、依存関係をインストールしてビルドします。

npm install
npm run build
  1. このMCPサーバーを使用するようにClaudeを設定します。これが最初のMCPサーバーである場合は、このプロジェクトのルートで以下を実行してください。

echo '{
  "mcpServers": {
    "mcp-starter": {
      "command": "node",
      "args": ["'$PWD'/dist/index.cjs"]
    }
  }
}' > ~/Library/Application\ Support/Claude/claude_desktop_config.json

これにより、 claude_desktop_config.jsonに次のようなエントリが作成されます。

"mcpServers": {
  "mcp-starter": {
    "command": "node",
    "args": ["/Users/matt/code/mcp-starter/dist/index.cjs"]
  }
}

既存のMCPサーバーをお持ちの場合は、既存の設定にmcp-starterブロックを追加してください。args args <path_to_repo_on_your_machine>/mcp-starter/dist/index.cjsへのパスであることが重要です。

  1. Claude Desktop を再起動します。

  2. サーバーが実行中であることを確認するには、Claude のインターフェースで、使用可能なツールの数を示すハンマー アイコンを探します。

  3. すべて正常に動作している場合は、 npm run devを使ってMCPサーバーを開発し、Claudeでテストできるはずです。MCPサーバーを再起動するには、毎回Claudeを再起動する必要があります。

Inspectorを使った開発

開発とデバッグには、MCP Inspectorツールを使用できます。Inspectorは、MCPサーバーのインタラクションをテストおよび監視するための視覚的なインターフェースを提供します。

詳細なセットアップ手順については、 Inspector のドキュメントをご覧ください。

Inspector を使用してローカルでテストするには:

npm run inspect

ファイルの変更に基づいてビルドするには、次を実行します。

npm run watch

または、ウォッチャーとインスペクターの両方を実行します。

npm run dev

出版

サーバーを配布する準備ができたら、あとは簡単です。

  1. NPMアカウントを設定します。

  2. npm publish実行します。これにより、 package.json内のプロジェクト名を使用してパッケージが公開されます。

  3. 公開されると、他の人は次のような構成エントリを使用してサーバーをインストールできます。

"mcpServers": {
  "<your-package-name>": {
    "command": "npx",
    "args": ["<your-package-name>"]
  }
}

利用可能なツール

サーバーは以下を提供します:

  • hello_tool : 名前パラメータを受け取り、挨拶を返すシンプルなサンプルツール

新しいツールの作成

新しいツールを追加するには:

  1. index.tsでツールスキーマを定義する

  2. ListToolsRequestSchemaハンドラのツール配列に追加します。

  3. CallToolRequestSchemaハンドラに実装を追加する

例として、 hello_tool実装を参照してください。

Install Server
A
license - permissive license
C
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    A basic starter project for building Model Context Protocol (MCP) servers that enables standardized interactions between AI systems and various data sources through secure, controlled tool implementations.
    2
  • F
    license
    Not graded
    quality
    D
    maintenance
    A minimal Model Context Protocol server built with FastAPI that provides a basic "Hello World" resource and tool. Serves as a starting point for building and validating MCP client integrations with richer resources and tools.
  • A
    license
    Not graded
    quality
    D
    maintenance
    A bare-bones FastMCP server template designed to serve as a starting point for building custom Model Context Protocol servers. It provides a foundational structure for implementing tools over HTTP and includes a built-in health check utility.
    GPL 3.0

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • A Model Context Protocol server for Wix AI tools

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MatthewDailey/mcp-starter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server