MCP.so
ログイン

MCP Server TypeScript Template

@minimind-org

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

minimind-org

MCP Server TypeScript Template について

MCP Server Typescript Template

MCP Server TypeScript Template の設定

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

{
  "mcpServers": {
    "example": {
      "command": "node",
      "args": [
        "/path/to/mcp-server-typescript-template/dist/index.js"
      ]
    }
  }
}

MCP Server TypeScript Template のツール

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

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

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

概要

What is MCP Server TypeScript Template?

MCP Server TypeScript Template is a starter project for building Model Context Protocol (MCP) servers with TypeScript. It provides a simple example server with demonstration tools—an example operation and an addition tool—to show how to implement custom tools using the MCP SDK. This template is aimed at developers who want to create or extend MCP servers for AI‑model tool integration.

How to use MCP Server TypeScript Template?

Clone the repository, install dependencies (npm install), run tests (npm run test), build (npm run build), and start the server (npm run start). To use the server with Claude Desktop, add an entry in claude_desktop_config.json pointing to the built dist/index.js file with the command node.

Key features of MCP Server TypeScript Template

  • Provides example operation and addition tools.
  • Written in TypeScript with full type definitions.
  • Integrates with the Model Context Protocol SDK.
  • Includes test, build, and start scripts.
  • Demonstrates a customizable project structure.
  • Supports Node.js v16 or higher.

Use cases of MCP Server TypeScript Template

  • Learning how to build an MCP server from scratch.
  • Prototyping custom tools for AI model interaction.
  • Creating a foundation for production MCP servers.
  • Extending with new operations for specific workflows.

よくある質問

1

What are the prerequisites for using this template?

Node.js v16 or higher and npm or yarn are required.

2

How do I install and run the server?

Clone the repository, run `npm install`, then `npm run build`, and finally `npm run start` to start the server for testing.

3

How can I configure it with Claude Desktop?

Edit your `claude_desktop_config.json` to add an entry under `mcpServers` that uses `"command": "node"` with `"args": ["/path/to/dist/index.js"]`.

4

What tools are included by default?

The template includes an example operation and an addition tool that adds two numbers.

5

Can I add my own tools?

Yes, the template is designed to demonstrate how to implement custom tools. You can add new files under the `operations/` folder and register them in the server.

コメント

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