{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "deeplethe-utopia--let-agent-read-knowledge-base-over-mcp",
 "repo": "deeplethe/utopia",
 "repo_url": "https://github.com/deeplethe/utopia",
 "repo_slug": "deeplethe-utopia",
 "title": "Connect a coding agent to a knowledge base over MCP",
 "page_title": "How to connect a coding agent to a knowledge base over MCP with Utopia",
 "summary": "Give Cursor a scoped MCP connection to a base so it can read dated facts and send proposed changes for review.",
 "who": "An engineering or operations team member using Cursor who wants the agent to answer questions about a system's entities from the team's knowledge base.",
 "problem": "Agents working on a team's systems lack structured, dated context, and copying passages into prompts gives them stale or unverifiable facts.",
 "outcome": "Cursor reads typed, dated answers with stable identifiers and evidence, and anything it wants to record is proposed for a person to approve first.",
 "steps": [
  "Run `git clone https://github.com/deeplethe/utopia.git` and then `cd utopia`.",
  "Run `docker compose --profile app up -d`, open http://localhost:1516, and register the first account.",
  "Create or pick a knowledge base, then create an access token scoped to it as described in the MCP guide at web/src/docs/mcp.md.",
  "In Cursor, add an MCP server entry that points at the Utopia MCP endpoint named in the MCP guide, using the scoped token. (inferred, check the README)",
  "Ask Cursor for the facts about an entity as of a date and check that the answer lists stable identifiers and evidence."
 ],
 "agent_prompt": "Using the Utopia repo at <repo path>, connect Cursor to the knowledge base <base name> over MCP using a token scoped to that base. Expected output: a dated answer about <entity> as of <date> with identifiers and evidence. Verify that the agent did not write any fact directly, only proposals.",
 "agents": [
  "cursor"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README points to web/src/docs/mcp.md for the tool list and connection details, which were not included here, so the exact endpoint and token steps must be taken from that guide.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "rust",
 "requirements": [
  "Docker installed (local development also needs Rust 1.85+, Node 20+, pnpm)",
  "A chat model endpoint and an embedding model endpoint, for example any OpenAI-compatible endpoint",
  "Business documents to ingest, such as PDF or Word contracts and amendments"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The MCP token grants the agent access to the knowledge base, so scope it to one base, keep it out of shared files, and revoke it when no longer needed."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/deeplethe-utopia/let-agent-read-knowledge-base-over-mcp/",
 "md": "https://dedupedai.com/use-cases/deeplethe-utopia/let-agent-read-knowledge-base-over-mcp/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/deeplethe-utopia--let-agent-read-knowledge-base-over-mcp.json",
 "api_version": "v1"
}
