JS

JSON Contracts MCP Server

Published by json-contracts

JSON contract registry and validator for structured LLM and agent outputs.

Website
CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
0.1.2
SOURCE CHECKED
Nov 28, 2026

Quick answers

How do I add JSON Contracts MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --transport stdio json-contracts -- npx -y json-contracts
Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "json-contracts": {
      "command": "npx",
      "args": [
        "-y",
        "json-contracts"
      ]
    }
  }
}
Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add json-contracts -- npx -y json-contracts
Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "json-contracts": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "json-contracts"
      ]
    }
  }
}
VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "json-contracts": {
      "command": "npx",
      "args": [
        "-y",
        "json-contracts"
      ]
    }
  }
}
Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use JSON Contracts MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does JSON Contracts MCP Server need an API key?

Its listing declares no key or settings needed to run it.

Is JSON Contracts MCP Server official?

It's published by json-contracts. The Official MCP Registry accepts names under io.github.json-contracts only from the GitHub account or organisation json-contracts. We last checked its listing on Nov 28, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · json-contracts@0.1.2
View source repository