JSON Contracts MCP Server
by json-contractsio.github.json-contracts/json-contractsv0.1.2
MCP server for natural-language-to-JSON workflows using Git-controlled JSON contracts and JSON Schema validation.
context tax
queued
security
queued
cold start
queued
freshness
Slowing5mo ago
Install JSON Contracts MCP server
Install in Claude Code
claude mcp add json-contracts -- npx -y json-contractsInstall in Cursor
{
"mcpServers": {
"json-contracts": {
"command": "npx",
"args": [
"-y",
"json-contracts"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"json-contracts": {
"command": "npx",
"args": [
"-y",
"json-contracts"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"json-contracts": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"json-contracts"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"json-contracts": {
"command": "npx",
"args": [
"-y",
"json-contracts"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| JSON_CONTRACTS_DIR | — | — | Folder containing JSON contract files. Defaults to ./json-contracts. |
Freshness
Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-05-05 · 5mo ago · GitHub
Latest release
2026-05-05 · 5mo ago · GitHub · v0.1.2
Package published
no data · npm/PyPI
Registry entry updated
2026-05-05 · 5mo ago · official registry · v0.1.2
FAQ
›How do I install the JSON Contracts MCP server in Claude Code?
Run: claude mcp add json-contracts -- npx -y json-contracts. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does JSON Contracts require an API key?
No required environment variables are declared in its published metadata.
›Can I use JSON Contracts as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is JSON Contracts in the official MCP registry?
Yes, as io.github.json-contracts/json-contracts.
Alternatives to JSON Contracts
Other version control MCP servers.