シンプルなMCPサーバー
fastMCP を使用して構築され、「hello」応答を返す最小限の TypeScript MCP サーバー。
特徴
fastMCPを使用したシンプルなMCPサーバーの実装
TypeScriptサポート
フォーマットとリンティングのためのバイオーム
パッケージマネージャーとしてのpnpm
はじめる
前提条件
Node.js 18歳以上
pnpm
インストール
発達
プロジェクト構造
src/server.ts
- メインのMCPサーバーの実装biome.json
- リンティングとフォーマットのためのバイオーム設定tsconfig.json
- TypeScript 設定
サーバーについて
これは「hello」ツールを提供するシンプルなMCP(Model Context Protocol)サーバーです。fastMCP TypeScriptフレームワークを使用して、サーバーの実装を簡素化しています。
既知の問題
クライアント機能に関する警告:
pnpm mcp:dev
または直接サーバーを実行すると、[warning] FastMCP could not infer client capabilities
のような警告が表示される場合があります。これは正常な動作であり、クライアントが機能情報を提供しない場合に発生します。サーバーは正常に動作します。
Claude Desktopの使い方
この MCP サーバーを Claude Desktop で使用するには、次の構成を追加します。
ライセンス
ISC
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
fastMCP フレームワークを使用して「hello」ツールを提供する最小限の TypeScript MCP サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityTypeScript-based MCP server designed to enhance code editing experiences by providing features such as hover information, code completion, and diagnostics.Last updated -325MIT License
- AsecurityFlicenseAqualityA TypeScript-based MCP server designed for experimentation and integration with Calude Desktop and Cursor IDE, offering a modular playground for extending server capabilities.Last updated -25957
- AsecurityFlicenseAqualityA TypeScript-based MCP server that implements a simple notes system, allowing users to create, access, and generate summaries of text notes.Last updated -123
- AsecurityAlicenseAqualityA TypeScript-based server that connects MCP Clients to Dify applications, dynamically exposing Dify applications as tools that can be used directly within the MCP Client.Last updated -4MIT License