Credentials. 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.
Who it is forAn 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.
The problemAgents working on a team's systems lack structured, dated context, and copying passages into prompts gives them stale or unverifiable facts.
The outcomeCursor reads typed, dated answers with stable identifiers and evidence, and anything it wants to record is proposed for a person to approve first.
What you need first
- 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
Steps
- Run
git clone https://github.com/deeplethe/utopia.gitand thencd 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.
Prompt for your agent
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.
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.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for deeplethe/utopia and "Connect a coding agent to a knowledge base over MCP"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer