DEDUPED Hot AI repos, turned into use cases Get 5 a day

How to connect a coding agent to a knowledge base over MCP with Utopia

Give Cursor a scoped MCP connection to a base so it can read dated facts and send proposed changes for review.

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

  1. Run git clone https://github.com/deeplethe/utopia.git and then cd utopia.
  2. Run docker compose --profile app up -d, open http://localhost:1516, and register the first account.
  3. 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.
  4. 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)
  5. 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.

Share: X LinkedIn Hacker News Email Copy link

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 [email protected] and we will look at it promptly. Full disclaimer page