Skip to main content
Glama

JSON MCP

대장간 배지

모델 컨텍스트 프로토콜(MCP) 서버는 LLM이 JSON 파일과 효율적으로 상호 작용할 수 있도록 지원합니다. JSON MCP를 사용하면 정의된 조건에 따라 JSON 파일 내에서 데이터를 분할 , 병합 및 검색하고, 유효성을 검사할 수 있습니다.



🌟 주요 특징

✅ 빠르고 가벼움
✅ LLM 친화적 기능


Related MCP server: mcp-server-test

🎥 데모

아래는 split 기능을 보여주는 데모입니다.

데모: JSON 분할


🔧 사용 사례(도구)

1. split

JSON 파일을 지정된 수의 객체로 분할합니다.

참고: 파일 경로를 제공해야 합니다.

프롬프트 예:

지엑스피1

2. merge

JSON 파일을 하나의 JSON 파일로 병합

참고: 폴더 경로를 제공해야 합니다.

프롬프트 예:

Merge json files from /Users/json-mcp/tests

⚙️ 구성

VS 코드 수동 구성

VS Code에서 JSON MCP 서버를 수동으로 구성하려면 사용자 설정(JSON) 파일을 업데이트하세요.

{
  "mcp": {
    "servers": {
      "json-mcp-server": {
        "command": "npx",
        "args": ["json-mcp-server@latest"]
      }
    }
  }
}

VS Code에 설치

VS Code CLI를 사용하여 JSON MCP 서버를 설치할 수 있습니다.

# For VS Code
code --add-mcp '{"name":"json-mcp-server","command":"npx","args": ["json-mcp-server@latest"]}'

설치 후 JSON MCP 서버를 VS Code의 GitHub Copilot 에이전트와 함께 사용할 수 있습니다.

클로드 데스크탑

Smithery를 통해 Claude Desktop에 json-mcp를 자동으로 설치하려면:

npx -y @smithery/cli install @VadimNastoyashchy/json-mcp --client claude

⚙️ 설치 서버

전역적으로 설치

npm install -g json-mcp-server@latest

글로벌 설치 후 실행

json-mcp-server

최신 버전의 npx 사용(권장)

npx json-mcp-server@latest

Available Tools

2 tools
mergeC

Merge JSON files into a one JSON file

Inputs: path (required).

splitB

Split a JSON file into a specified number of objects

Inputs: path (required), numObjects (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 2 tools

    Disambiguation5/5

    Merge and split are clearly opposite operations. An agent can easily distinguish their purposes without ambiguity.

    Naming Consistency5/5

    Both tools use concise, single-word verbs (merge, split) following a consistent pattern.

    Tool Count4/5

    Two tools is slightly below the typical well-scoped range, but the server's narrow focus on merge/split operations justifies this minimal set.

    Completeness4/5

    The server covers the core merge and split operations for JSON files. Minor gaps like transform or validate exist, but the surface is complete for its stated purpose.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers