MCP.so
ログイン

TestMcpServer MCP Server

@maikmetzger

基本情報

カテゴリ

その他

トランスポート

stdio

作者

maikmetzger

TestMcpServer MCP Server について

A Model Context Protocol server implementation providing mathematical operations through a standardized interface. Built with TypeScript and Node.js, this server demonstrates how to create and expose tools via the Model Context Protocol specification.

TestMcpServer MCP Server の設定

標準の設定はありません

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

リポジトリ

TestMcpServer MCP Server のツール

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

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

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

概要

What is TestMcpServer?

TestMcpServer is an example MCP (Model Context Protocol) server implementation using Anthropic’s open‑source Model Context Protocol. It is designed to be more readable and easier to understand than existing examples, serving as a clean foundation for building custom MCP server projects. It targets developers who want to learn or quickly prototype MCP tools.

How to use TestMcpServer?

Clone the repository, run npm install, then build with npm run build. Run the server with node build/index.js. For development, use npm run dev to watch for changes, rebuild, and launch the MCP inspector at localhost:5173. To use TestMcpServer with Cursor, add a new MCP server with type command and set the server URL to node <absolute-path-to-project>\build\index.js.

Key features of TestMcpServer

  • Clear, modular tool architecture (definitions, controllers, registry)
  • Easy addition of new tools via a four‑step guide
  • Built‑in error handling and error responses
  • Development mode with hot‑reload and built‑in inspector
  • Lowercase tool naming and PascalCase handler conventions

Use cases of TestMcpServer

  • Learning how to structure a clean MCP server from a readable example
  • Quickly prototyping and testing new MCP tools locally
  • Building a foundation for a custom MCP server with multiple tool categories

よくある質問

1

What are the dependencies required to run TestMcpServer?

Node, npm, and TypeScript are required.

2

How do I add a new tool to TestMcpServer?

Create a tool definition in `/src/definitions/`, add it to the category’s `main.ts`, implement a handler method in the corresponding controller in `/src/controllers/`, and register the handler in the `controllerMap` in `/src/utils/toolRegistry.ts`.

3

How can I run TestMcpServer locally for testing?

Build the project with `npm run build`, then execute `node build/index.js`. For an interactive development loop, use `npm run dev` to watch for changes and automatically rebuild and launch the inspector.

4

How do I connect TestMcpServer to Cursor?

In Cursor’s settings under Features → MCP Servers, click “Add new MCP server”, give it a name, set type to `command`, and enter `node <absolute-path-to-project>\build\index.js` as the command.

コメント

「その他」の他のコンテンツ