MCP.so
ログイン

MCP Server Template

@MCP-Mirror

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

MCP-Mirror

MCP Server Template について

Mirror of

MCP Server Template の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MCP Server Template のツール

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

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

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

概要

What is MCP Server Template 🛠️?

MCP Server Template 🛠️ is a starter template for building custom Model Context Protocol (MCP) servers. It provides the basic TypeScript project structure and a sample tool implementation, designed for developers who want to create MCPs for use with Cursor or Claude Desktop.

How to use MCP Server Template 🛠️?

Clone the repository, install dependencies with pnpm install, and build with pnpm run build to generate /build/index.js. Then configure the compiled script as an MCP server in Cursor Settings (command type) or in the Claude Desktop MCP config JSON.

Key features of MCP Server Template 🛠️

  • Ready-to-use TypeScript project structure
  • Sample tool implementation to start from
  • Built with @modelcontextprotocol/sdk
  • Compiles to a single JavaScript file
  • Works with Cursor and Claude Desktop

Use cases of MCP Server Template 🛠️

  • Quickly scaffolding a new custom MCP server
  • Learning how to build MCP tools with TypeScript
  • Prototyping a tool that integrates with Claude Desktop
  • Providing a foundation for Cursor-based MCP extensions

よくある質問

1

What does MCP Server Template 🛠️ contain?

It includes an `index.ts` main server file, a sample tool, `package.json`, `tsconfig.json`, and a `build/` output folder. The sample tool demonstrates how to define parameters and return text responses.

2

How do I configure it with Cursor?

In Cursor Settings → MCP → Add new MCP server, set Type to “command” and enter `node ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js` as the command.

3

How do I configure it with Claude Desktop?

Add an entry to your Claude Desktop MCP configuration JSON with `"command": "node"` and `"args": ["ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js"]`.

4

What runtime or dependencies are required?

You need Node.js, pnpm (or npm), and TypeScript. The template uses the `@modelcontextprotocol/sdk` package, installed via `pnpm install`.

5

How do I add my own tools?

Edit `index.ts` and use the `server.tool()` method with a Zod schema for parameters. Then rebuild with `pnpm run build` and restart the MCP server.

コメント

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