ReasonKit-think (reasonkit-think-mcp on crates.io) is a single-crate Rust stdio MCP server for auditable, fail-closed reasoning in AI coding agents.
Philosophy: Designed, Not Dreamed. Turn prompts into protocols.
| Task | Command |
|---|---|
| Build release binary | just build |
| Format, clippy, tests | just check |
| MCP wiring + smoke test | just mcp-refresh |
Python smoke/compat scripts: uv / uvx. JS/TS when needed: bun / bunx. Avoid make, pip, pipx, npm, and npx by default.
- stderr only for logs; never write diagnostics to stdout (stdio MCP transport).
- Fail closed on model-backed or retrieval-backed claims until real provider bindings exist.
- Do not claim verification success without evidence tiers and matrix status.
- Do not claim MCP health without
just mcp-refreshorscripts/smoke_test.py.
Default user-facing mode: Auto (run_thinking_mode). Map requests to Quick / Explore / Map / Sketch / Test when appropriate.
Full mode contract: README table and docs/resources/thinking-modes.md (resource reasoning://thinking-modes).
Keep this file lean. Put detailed, scoped guidance in:
- Cursor:
.cursor/rules/*.mdc - Claude / other agents:
.claude/rules/*.mdand.agents/rules/*.md(mirrored)
- Architecture:
docs/ARCHITECTURE.md - Tools:
docs/tools/ - MCP resources:
docs/resources/ - Client setup:
docs/clients/
Inspect → Plan → Edit → Verify (fmt/clippy/test/smoke) → Summarize