MCP server for Stubborn — deterministic code and contract context
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"stubborn-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# stubborn-mcp **MCP server for [Stubborn](https://github.com/stubborn-ai/stubborn)** — exposes source-neutral code and contract graph tools to Cursor and other MCP clients. [](https://pypi.org/project/stubborn-mcp/) Thin adapter over [`stubborn.api`](https://github.com/stubborn-ai/stubborn/blob/main/src/stubborn/api.py). All compile and contract graph logic lives in **[`stubborn-stub`](https://pypi.org/project/stubborn-stub/)**. Part of the [stubborn-ai](https://github.com/stubborn-ai) program — see [stubborn-hub](https://github.com/stubborn-ai/stubborn-hub). ## Install ```bash pip install stubborn-stub stubborn-mcp stubborn try # bundled fixture smoke test (no Java) ``` For binary/NDJSON SCIP indexing, install Stubborn with its SCIP extra: ```bash pip install "stubborn-stub[scip]" stubborn-mcp stubborn index --scip index.scip --out metadata/symbols.db export STUBBORN_DB=metadata/symbols.db stubborn-mcp ``` Contract-only databases are also supported: ```bash stubborn index-openapi \ --openapi openapi.json \ --service customers-service \ --workspace petclinic \ --out metadata/symbols.db export STUBBORN_DB=metadata/symbols.db stubborn-mcp ``` ## Cursor configuration `.cursor/mcp.json`: ```json { "mcpServers": { "stubborn": { "command": "stubborn-mcp", "env": { "STUBBORN_DB": "${workspaceFolder}/metadata/symbols.db" } } } } ``` Module entry: `python -m stubborn_mcp` ## Tools | Tool | Purpose | |------|---------| | `workspace_info` | Inspect workspace source kinds: code repos, contract sources, symbols, endpoints | | `get_context` | Prune + weave code or contract context (`java-stub` or `stubborn-dsl`) | | `list_symbols` | Browse/search symbols by `stable_id` | | `list_contracts` | Browse/search OpenAPI contract endpoint stable IDs and schema constraints | | `metrics` | Compression KPI vs source tree | Full parameter reference: [docs/MCP.md](docs/MCP.md)…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.