Skip to main content
Glama

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

機能とツール

ツール

説明

使用例

db_query

SQLiteに対してSQLクエリを実行(デモDBまたはファイルモード)

「今月注文したすべてのユーザーを表示して」

api_call

カスタムヘッダー、パラメータ、ボディを使用して任意のREST APIにHTTPリクエストを送信

天気APIからデータを取得、Webhookを送信

file_read

ローカルファイルシステムからファイルの内容を読み取る

設定ファイルの読み取り、ログの確認

file_write

ファイルにコンテンツを書き込む(親ディレクトリを自動作成)

生成されたコードの保存、データのエクスポート

file_list

ファイル/ディレクトリを一覧表示(再帰的リストやフィルタリングも可能)

プロジェクト構造の探索

calculator

数式を安全に評価(evalは不使用)

複利計算、単位変換

get_datetime

タイムゾーン対応の現在の日時を取得

タイムスタンプの記録、スケジューリング

json_parser

JSONデータの解析、検証、クエリ、要約

APIレスポンスからのフィールド抽出

text_transform

17種類以上のテキスト操作:ケース変換、スラッグ、base64、メール/URL抽出、単語数カウント

データクリーニング、テキスト正規化

get_environment

サーバー環境情報の取得(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 build

Claude 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&current_weather=true",
  "method": "GET"
}

ファイル操作

Claudeに尋ねます:

「プロジェクト内のすべてのTypeScriptファイルをリストアップして、メインのエントリポイントを読み取って。」

Claudeは file_listfile_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

設計原則

  1. 安全第一 — SQLインジェクション防止、eval()不使用、DBクエリのデフォルト読み取り専用設定

  2. モジュール化 — 各ツールは独立したモジュールであり、追加や削除が容易

  3. 型定義 — 入力検証にZodスキーマを使用した完全なTypeScript対応

  4. 可観測性 — メタデータ(タイミング、カウント、型)を含む構造化されたJSONレスポンス

  5. 開発者フレンドリー — 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 を参照してください。

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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.
    46
    5
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A 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.
    49
    2
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
    2

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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