Skip to main content
Glama

MCP 툴킷 서버


개요

MCP 툴킷 서버는 Claude, ChatGPT 및 기타 LLM 에이전트가 데이터베이스, 외부 API, 파일 시스템 등과 상호 작용할 수 있는 풍부한 도구 세트를 제공하는 프로덕션급 Model Context Protocol (MCP) 서버로, 에이전트 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에서 데이터 가져오기, 웹훅 전송

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

이 명령은 각 도구를 수동으로 테스트하고, 요청/응답 페이로드를 검사하며, 문제를 디버깅할 수 있는 웹 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_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

설계 원칙

  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를 참조하세요.

Available Tools

10 tools
api_callA

Make an HTTP request to any external API endpoint and return the response.

Supported features:

  • All HTTP methods: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS

  • Custom headers (including Authorization / Bearer tokens)

  • JSON and form-urlencoded request bodies

  • URL query parameters (via url or params)

  • Configurable timeout (default 15 seconds)

  • Response includes status code, headers, and body

Use cases:

  • Fetching data from REST APIs

  • Sending webhooks

  • Querying third-party services (weather, maps, etc.)

  • Testing and debugging API endpoints

Inputs: url (required), method, headers, body, +2 more.

calculatorA

Evaluate a mathematical expression and return the result.

Supported operations:

  • Arithmetic: +, -, *, /, %, **

  • Parentheses for grouping: (2 + 3) * 4

  • Common functions: abs, ceil, floor, round, sqrt, min, max

  • Constants: PI, E

Safety:

  • Does NOT use eval() — uses a safe expression parser

  • Rejects any non-mathematical input

Examples:

  • "2 + 3 * 4" → 14

  • "(2 + 3) * 4" → 20

  • "sqrt(144)" → 12

  • "round(3.14159, 2)" → 3.14

  • "max(10, 20, 30)" → 30

Inputs: expression (required).

db_queryA

Execute a SQL query against a SQLite database and return the results.

Modes:

  • "explore" (default): Uses a built-in in-memory demo database pre-loaded with sample tables (users, products, orders). Great for quick testing.

  • "file": Queries a user-specified SQLite file on disk.

Security:

  • In "explore" mode only SELECT statements are allowed.

  • In "file" mode only SELECT, EXPLAIN, and WITH ... SELECT are allowed.

  • DML/DDL (INSERT, UPDATE, DELETE, DROP, etc.) will be rejected.

Returns:

  • rows: array of objects

  • rowCount: number of rows returned

  • columns: list of column names

Inputs: sql (required), mode, dbPath, limit.

file_listA

List files and directories at a given path.

Features:

  • List contents of any directory

  • Recursive listing with configurable depth

  • Filter results by file extension

  • Returns file sizes and types

Use cases:

  • Exploring project structures

  • Finding specific file types

  • Auditing directory contents

Inputs: dirPath (required), recursive, extension.

file_readA

Read the contents of a file from the local filesystem.

Features:

  • Read entire file or a specific byte range

  • Automatic encoding detection (UTF-8 default)

  • Returns file metadata (size, last modified)

  • Supports any text file type

Security:

  • Rejects paths outside the allowed root directories

  • Refuses to read binary files or directories

Inputs: filePath (required), encoding.

file_writeA

Write content to a file on the local filesystem.

Features:

  • Creates parent directories automatically if they don't exist

  • Overwrites existing files or creates new ones

  • Supports any text encoding (default: UTF-8)

Use cases:

  • Saving generated code, configs, or data

  • Creating log files

  • Writing reports or exports

Inputs: filePath (required), content (required), encoding.

get_datetimeA

Get the current date and time in various formats.

Returns:

  • ISO 8601 string

  • Unix timestamp

  • Individual components (year, month, day, hour, minute, second)

  • Day of week and week number

  • Timezone information

This tool does not require any parameters.

Inputs: timezone.

get_environmentA

Get information about the current server environment.

Returns:

  • Operating system details (platform, arch, release)

  • Node.js version

  • Server process info (PID, uptime, memory usage)

  • CPU information

  • Memory (total, free, used)

  • Network hostname

This tool does not require any parameters. No sensitive environment variables or secrets are exposed.

Inputs: no named parameters.

json_parserA

Parse, validate, and query JSON data.

Modes:

  • "parse": Parse a JSON string and return it formatted.

  • "query": Extract a specific field using dot-notation (e.g., "data.users[0].name").

  • "validate": Check if a string is valid JSON and describe its structure.

  • "summarize": Return a schema-like summary of a JSON object's structure.

Examples:

  • Parse: '{"a":1,"b":2}' → pretty-printed object

  • Query: '{"users":[{"name":"Alice"}]}' with path "users[0].name" → "Alice"

  • Validate: '{"a":1}' → {"valid": true, "type": "object", "keys": ["a"]}

Inputs: json (required), operation, path.

text_transformA

Transform text using various operations.

Supported operations:

  • "uppercase": Convert to UPPERCASE

  • "lowercase": Convert to lowercase

  • "titlecase": Convert to Title Case

  • "camelcase": Convert to camelCase

  • "snakecase": Convert to snake_case

  • "kebabcase": Convert to kebab-case

  • "reverse": Reverse the text

  • "trim": Remove leading/trailing whitespace

  • "slug": URL-safe slug (lowercase, hyphens, no special chars)

  • "base64_encode": Encode to Base64

  • "base64_decode": Decode from Base64

  • "word_count": Count words, characters, sentences, and paragraphs

  • "remove_duplicates": Remove duplicate lines

  • "sort_lines": Sort lines alphabetically

  • "extract_emails": Extract all email addresses from text

  • "extract_urls": Extract all URLs from text

  • "hash": Simple hash summary (character frequency)

Inputs: text (required), operation (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 10 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: HTTP requests, math, SQL, file operations, datetime, environment, JSON parsing, text transformation. No overlap or ambiguity.

    Naming Consistency5/5

    All tool names use snake_case consistently, with a verb_noun pattern for most (file_list, file_read, file_write, get_datetime, get_environment) and simple nouns for others (calculator, json_parser). No mixing of conventions.

    Tool Count5/5

    10 tools is an appropriate size for a general-purpose utility toolkit, covering diverse common operations without being unwieldy or too sparse.

    Completeness4/5

    Covers majority of common utility tasks: HTTP, math, SQL, file I/O, datetime, environment, JSON, text transforms. Missing a file delete tool and more advanced date or CSV operations, but overall solid for the toolkit domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      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.
      5
      -
    • F
      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.
      2
      -
    • 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
      -