MCP Toolkit Server
MCP Toolkit Server
概要
MCP Toolkit Serverは、実用レベルのModel Context Protocol (MCP)サーバーです。Claude、ChatGPT、その他のLLMエージェントが、データベース、外部API、ファイルシステムなどと対話するための豊富なツールセットを提供し、エージェント型AIの波に直接貢献します。
TypeScriptと公式の@modelcontextprotocol/sdkで構築されており、ローカルのstdioプロセスとして実行され、Claude Desktop、MCP Inspector、またはMCP互換クライアントとシームレスに統合されます。
Related MCP server: MCP Toolkit
機能とツール
ツール | 説明 | 使用例 |
| SQLiteに対してSQLクエリを実行(デモDBまたはファイルモード) | 「今月注文したすべてのユーザーを表示して」 |
| カスタムヘッダー、パラメータ、ボディを使用して任意のREST APIにHTTPリクエストを送信 | 天気APIからデータを取得、Webhookを送信 |
| ローカルファイルシステムからファイルの内容を読み取る | 設定ファイルの読み取り、ログの確認 |
| ファイルにコンテンツを書き込む(親ディレクトリを自動作成) | 生成されたコードの保存、データのエクスポート |
| ファイル/ディレクトリを一覧表示(再帰的リストやフィルタリングも可能) | プロジェクト構造の探索 |
| 数式を安全に評価( | 複利計算、単位変換 |
| タイムゾーン対応の現在の日時を取得 | タイムスタンプの記録、スケジューリング |
| JSONデータの解析、検証、クエリ、要約 | APIレスポンスからのフィールド抽出 |
| 17種類以上のテキスト操作:ケース変換、スラッグ、base64、メール/URL抽出、単語数カウント | データクリーニング、テキスト正規化 |
| サーバー環境情報の取得(OS、CPU、メモリ、Node.jsバージョン) | デバッグ、コンテキスト認識 |
クイックスタート
前提条件
Node.js >= 18.0.0
npm >= 9.0.0
インストール
# Clone the repository
git clone https://github.com/vyshnavi-nandyala/mcp-toolkit-server.git
cd mcp-toolkit-server
# Install dependencies
npm install
# Build the TypeScript project
npm run buildClaude Desktopの設定
Claude Desktopの設定ファイルにサーバーを追加します:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"toolkit": {
"command": "node",
"args": ["/absolute/path/to/mcp-toolkit-server/dist/index.js"]
}
}
}
/absolute/path/to/mcp-toolkit-serverを、お使いの環境の実際のパスに置き換えてください。
Claude Desktopを再起動すると、入力エリアに 🔨 アイコンが表示され、ツールが使用可能になります!
MCP Inspectorでの使用(デバッグ)
npx @modelcontextprotocol/inspector node dist/index.jsこれによりWeb UIが開き、各ツールを手動でテストしたり、リクエスト/レスポンスのペイロードを検査したり、問題をデバッグしたりできます。
使用例
DBクエリ — デモデータベースの探索
Claudeに尋ねます:
「デモデータベースから価格の高い順に上位5つの製品を表示して。」
Claudeは db_query ツールを使用します:
{
"sql": "SELECT name, category, price FROM products ORDER BY price DESC LIMIT 5"
}API呼び出し — 天気データの取得
Claudeに尋ねます:
「サンフランシスコの現在の天気は?」
Claudeは api_call ツールを使用します:
{
"url": "https://api.open-meteo.com/v1/forecast?latitude=37.7749&longitude=-122.4194¤t_weather=true",
"method": "GET"
}ファイル操作
Claudeに尋ねます:
「プロジェクト内のすべてのTypeScriptファイルをリストアップして、メインのエントリポイントを読み取って。」
Claudeは file_list → file_read をチェーンします:
{ "dirPath": "/path/to/project", "extension": ".ts", "recursive": true }
{ "filePath": "/path/to/project/src/index.ts" }JSON解析
Claudeに尋ねます:
「このJSONを解析して、最初のユーザーのメールアドレスを抽出して:
{"users":[{"email":"alice@example.com"},{"email":"bob@example.com"}]}」
{
"json": "{\"users\":[{\"email\":\"alice@example.com\"}]}",
"operation": "query",
"path": "users[0].email"
}テキスト変換
Claudeに尋ねます:
「これをcamelCaseとスラッグに変換して: 'My Project Name'」
{ "text": "My Project Name", "operation": "camelcase" }
// → "myProjectName"
{ "text": "My Project Name", "operation": "slug" }
// → "my-project-name"アーキテクチャ
mcp-toolkit-server/
├── src/
│ ├── index.ts # Entry point — creates and starts the MCP server
│ ├── tools/
│ │ ├── db-query.ts # SQLite query tool (explore + file modes)
│ │ ├── api-call.ts # HTTP request tool (fetch-based)
│ │ ├── file-operations.ts # file_read, file_write, file_list
│ │ ├── calculator.ts # Safe math expression evaluator
│ │ ├── datetime.ts # Date/time with timezone support
│ │ ├── json-parser.ts # Parse, query, validate, summarize JSON
│ │ ├── text-transform.ts # 17+ text manipulation operations
│ │ └── environment.ts # System environment info
│ └── utils/
│ └── helpers.ts # Shared response-building utilities
├── tests/
│ └── tools.test.ts # Unit tests (vitest)
├── package.json
├── tsconfig.json
└── README.md設計原則
安全第一 — SQLインジェクション防止、
eval()不使用、DBクエリのデフォルト読み取り専用設定モジュール化 — 各ツールは独立したモジュールであり、追加や削除が容易
型定義 — 入力検証にZodスキーマを使用した完全なTypeScript対応
可観測性 — メタデータ(タイミング、カウント、型)を含む構造化されたJSONレスポンス
開発者フレンドリー — MCP Inspectorのサポート、包括的なREADME、ユニットテスト
カスタムツールの追加
新しいツールの追加は簡単です:
// src/tools/my-custom-tool.ts
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { z } from "zod";
export function registerMyCustomTool(server: McpServer): void {
server.tool(
"my_custom_tool",
"Description of what this tool does.",
{
param1: z.string().describe("First parameter."),
param2: z.number().optional().describe("Optional second parameter."),
},
async ({ param1, param2 }) => {
// Your logic here
return {
content: [
{ type: "text", text: JSON.stringify({ result: "..." }, null, 2) },
],
};
}
);
}次に src/index.ts に登録します:
import { registerMyCustomTool } from "./tools/my-custom-tool.js";
// ...
registerMyCustomTool(this.server);開発
# Run in development mode (no build step needed)
npm run dev
# Build for production
npm run build
# Run tests
npm test
# Watch tests
npm run test:watch
# Lint
npm run lintなぜこれが重要なのか:エージェント型AIの波
MCP (Model Context Protocol) は、ClaudeのようなAIエージェントが外部ツール、データソース、サービスと対話できるようにするためのオープン標準です。チャットウィンドウに閉じ込められるのではなく、MCPサーバーはエージェントに以下の能力を与えます:
自然言語によるデータベースのクエリ
リアルタイムデータを取得するための外部APIの呼び出し
ローカルファイルシステム上のファイルの読み書き
計算やデータ変換の実行
ツールをチェーンすることによるマルチステップワークフローの構成
このサーバーは、そのビジョンの具体的かつ実用的な実装であり、Claudeを単なる会話型AIから、現実世界と対話可能な実行可能なエージェントへと変えるツールキットです。
ライセンス
MITライセンス。詳細は LICENSE を参照してください。
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server built with mcp-framework that allows users to create and manage custom tools for processing data, integrating with the Claude Desktop via CLI.465MIT
- AlicenseNot gradedqualityDmaintenanceA comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.492MIT
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that standardizes tool discovery, execution, and context management for AI applications.MIT
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
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/vyshnavi-nandyala/mcp-toolkit-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server