JSON Contracts for Windsurf
io.github.json-contracts/json-contracts
JSON contract registry and validator for structured LLM and agent outputs.
client:Windsurf
transport:stdio
runtime:npm
Install JSON Contracts in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"json-contracts": {
"command": "npx",
"args": [
"-y",
"json-contracts"
],
"env": {
"JSON_CONTRACTS_DIR": "<JSON_CONTRACTS_DIR>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs