Model Context Protocol server with CockroachDB
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":"crdb-mcp-server","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.
# crdb-mcp-server     A Model Context Protocol (MCP) server implemented in Python using FastAPI and CockroachDB. --- ## 🧠 What This Is `crdb-mcp-server` is a production-grade, spec-aligned MCP server that: - Implements the [Model Context Protocol](https://modelcontextprotocol.io/introduction) - Uses **CockroachDB** as a resilient, SQL-compatible backend - Exposes full **CRUD APIs** for managing model contexts - Stores context definitions as **JSONB**, allowing arbitrary input/output schema - Works seamlessly with the [`crdb-mcpctl`](https://github.com/viragtripathi/crdb-mcpctl) CLI --- ## ✅ Feature Highlights - ✅ REST API for MCP context management (`/contexts`) - ✅ Schema bootstrapping via CLI flag or env var - ✅ CRDB URL auto-detection and dialect fix - ✅ ASCII banner and version info - ✅ Structured logging and configurable log level - ✅ Ready for `/run`, `/deploy`, `/evaluate` extensions --- ## 🚀 Quickstart ### 📦 Install from PyPI ```bash pip install crdb-mcp-server ```` ### 🏃 Run with schema init ```bash crdb-mcp-server serve --init-schema --log-level INFO ``` Or: ```bash export MCP_AUTO_INIT_SCHEMA=true crdb-mcp-server serve ``` > Server runs at `http://localhost:8081` by default --- ## 🔧 CLI Usage ```bash crdb-mcp-server serve --init-schema crdb-mcp-server serve --port 8081 --host 127.0.0.1 --reload crdb-mcp-server --version crdb-mcp-server --banner ``` --- ## 🔐 Configuring the Database ### ✅ Set the `CRDB_URL` environment variable ```bash export CRDB_URL="postgresql://root@localhost:26257/defaultdb?sslmode=disable" ``` > Automatically rewritten to `cockroachdb://...` under the hood for compatibility. Alternatively, set it directly: ```…
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.