Submit DIMACS CNF problems and get a satisfiability verdict back — asynchronously, per call.
POST /v1/sat
Classic Boolean satisfiability: hand in a DIMACS CNF file and get a
sat / unsat verdict. Same billing, polling, and MCP access as the rest of
the platform. For richer logic with models, use the
SMT endpoint.
Submit a DIMACS CNF problem:
curl -X POST https://api.mcpte.ch/v1/sat \
-H 'Content-Type: application/json' \
-d '{"problem":"p cnf 3 2\n1 0\n-2 3 0\n","format":"dimacs"}'
Returns a job id:
{ "job_id": "0191cc2e-...+", "status": "queued" }
Poll for the result:
curl https://api.mcpte.ch/v1/jobs/{job_id}{ "status": "completed", "result": { "sat": true } }| Endpoint | Method | Purpose |
|---|---|---|
/v1/sat | POST | Solve a DIMACS CNF problem |
/v1/jobs/{id} | GET | Poll job status and result |
/v1/health | GET | Service health check |
Results return "sat": true or "sat": false. If the solver cannot decide,
"sat": null with an error message — that is not the same as unsat.
For assignment models and unsat cores, use the
SMT endpoint with (get-model) or a requested core.
| Method | Header | Notes |
|---|---|---|
| Free tier | (none) | Rate-limited per IP (daily limit) |
| API key | Authorization: Bearer <key> | Higher usage limits |
| x402 payment | X-PAYMENT: <base64 payload> | Pay-per-call via USDC micropayments |
A native Model Context Protocol server is available at
https://api.mcpte.ch/v1/mcp using the Streamable HTTP transport. Use it
from Claude Desktop, Cursor, and other MCP clients — it handles JSON parsing
and result polling for you, and this endpoint is available as a tool.
One file. Drop it in, your agent handles the rest.
mkdir -p .opencode/skills/mcptech
curl -fsSL https://mcpte.ch/skills/mcptech.zip \
-o /tmp/mcptech.zip && unzip -o -j /tmp/mcptech.zip \
'skills/mcptech/SKILL.md' -d .opencode/skills/mcptech/
mkdir -p .claude/skills/mcptech
curl -fsSL https://mcpte.ch/skills/mcptech.zip \
-o /tmp/mcptech.zip && unzip -o -j /tmp/mcptech.zip \
'skills/mcptech/SKILL.md' -d .claude/skills/mcptech/
mkdir -p .cursor/skills/mcptech
curl -fsSL https://mcpte.ch/skills/mcptech.zip \
-o /tmp/mcptech.zip && unzip -o -j /tmp/mcptech.zip \
'skills/mcptech/SKILL.md' -d .cursor/skills/mcptech/
mkdir -p .vscode/skills/mcptech
curl -fsSL https://mcpte.ch/skills/mcptech.zip \
-o /tmp/mcptech.zip && unzip -o -j /tmp/mcptech.zip \
'skills/mcptech/SKILL.md' -d .vscode/skills/mcptech/
Download and upload under Settings → Skills:
Download .zip