Skip to content

For AI agents

A context vault your agents can read and write.

MyContext is shared memory for every agent you use: what you've read, and the plans, decisions and session notes your agents write — as clean text, summaries, tags, versions and a semantic index. Connect Claude Code, Codex, ChatGPT and other compatible agents through the live MCP server, then approve access securely in your browser.

context vault · MCP + OAuth
MCP endpoint
https://mycontext.work/mcp

Instructions for agents
https://mycontext.work/llms.txt

OAuth discovery and consent are automatic.
The person signs in and approves access in their browser.

What an agent can do

Everything you can do in the app, minus the clicking.

The MCP tools use the same vault permissions and search that power the app. An authorised agent gets Dex's prepared context without a second, disconnected knowledge store.

Context in one call

An agent starts with one budgeted call: your standing rules, your profile and writing voice, a map of the folders and what belongs in each, your skills, what's waiting from Dex's morning page and — when it says what it's about to do — the few files that matter. A fingerprint lets it check later in a handful of tokens whether anything changed, instead of re-reading. When you correct it, it writes the rule down, so the next agent doesn't need telling.

Pages with sources

What the vault knows about each person, project, topic and decision is kept as pages of short claims, each citing the files it comes from and when it was last confirmed. Dex compiles new saves into them; agents read them and add what they learn. When a newer source disagrees, the claim is flagged for you — nothing is overwritten, every change can be undone. Every night Dex checks for facts nobody has confirmed in a month and links that broke.

Skills every agent can reuse

Write down how a recurring job is done — meeting prep, filing meeting notes, a weekly update — once, as a skill in your vault. Any connected agent can list your skills and follow the steps instead of improvising, you run the same skill in Ask with /name, and when you teach an agent a new routine it saves it as a skill for the next one. Built-in skills are there to start from.

Search by meaning

One call runs the same hybrid search you use in the app: full text, semantic similarity and the query language (#tag, is:unread, after:, url:, -not). Results come back with Dex's summary and tags, so an agent can decide what to open without reading everything.

Read clean text

Opening an entry returns the readable article text, the summary (when you asked Dex for one), the tags, your note, reading progress and every highlight with its note. No scraping, no boilerplate — the version Dex already prepared.

Save on your behalf

Agents can file links, notes and text into any folder, with tags. Every save is read in the background straight away; ask for processing and the call waits for Dex so the summary and tags are in the response.

Highlight and explain

Agents can mark passages and attach notes (labelled as AI-written so you can tell), and call the same grounded “Explain this” you use in the reader.

Navigate vault Files

Every vault is one file system: notes as Markdown and HTML, saved pages as .url files, uploads by name — started from one template (inbox, me, people, projects, meetings, topics, decisions, activity, skills), each folder with an _index.md that says what belongs there. Agents list folders, read by path, grep inside files, and write, move or update without flattening your structure.

Ask Dex outright

One tool puts a question to Dex, who searches, opens and reads the vault itself and answers with citations — the same conversation you can open in Ask and continue. Answers are written in the background, so an agent can check back rather than wait.

Show, don't tell

Three calls cover most of it.

save a link and have Dex read it now
curl -X POST https://mycontext.work/api/public/v1/bookmarks \
  -H "Authorization: Bearer kp_…" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/pricing-memo.pdf",
    "note": "Read this before Tuesday'\''s review",
    "tags": ["pricing", "q4"],
    "process": true
  }'
what an entry looks like
GET https://mycontext.work/api/public/v1/bookmarks/{id}
→ {
    "bookmark": {
      "title": "…", "url": "…", "summary": "…",
      "tags": ["…"], "note": "…",
      "text_content": "clean article text…",
      "word_count": 1840, "read_progress": 0.35,
      "highlights": [ { "text": "…", "note": "…" } ]
    }
  }
write a memory (JavaScript)
// an agent writing down what it learned, as a note
await fetch("https://mycontext.work/api/public/v1/bookmarks", {
  method: "POST",
  headers: { Authorization: `Bearer ${KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({
    title: "Decision: keep the free plan at 1,000 entries",
    text: "Agreed in the 25 Sep review. Reasons: …",
    tags: ["decisions", "pricing"],
  }),
});

API reference

Ten endpoints. One header.

Base URL https://mycontext.work/api/public/v1. Authenticate every call with Authorization: Bearer kp_…. Requests and responses are JSON; CORS is open so browser-side tools work too.

Public API endpoints
MethodPath
GET/me

Who this key belongs to: display name, email, entry count, the folder tree and tags.

GET/bookmarks?q=…&limit=…

Hybrid search with the query language. `?url=` looks up whether a page is already saved.

POST/bookmarks

Save a `url` or `text`, with optional `title`, `note`, `tags`, `folder` (or an exact `path`), `process`.

GET/bookmarks/:id

Full entry: clean text, summary, tags, note, reading data and highlights.

PATCH/bookmarks/:id

`title`, `note`, `favourited`, `archived`, `read`, `addTags`, `folder` or `path` (move / rename), `process: "crawl" | "enrich" | "all"`.

DELETE/bookmarks/:id

Remove an entry permanently.

GET · POST/folders

The vault's folder tree (`?parent=` for one level), or create a folder by `path`.

GET · POST/bookmarks/:id/highlights

List or add highlights (`text`, `color`, `note`, `noteSource`). The same passage twice is one highlight.

PATCH · DELETE/highlights/:id

Recolour, annotate or remove a highlight.

POST/explain

Stream a grounded explanation of `text` from `bookmarkId` (`mode`: explain, simplify, context).

DELETE/me

Revoke the key this request was made with.

Signed-in users can also copy ready-made examples from Settings → API keys.

Patterns

What people build on it.

Research assistant

Search → open → cite. The agent answers from what you actually read and links back to the entry, instead of guessing from the open web.

Universal clipper

Anything that can call a URL can save: a Shortcut on your phone, a Slack bot, a cron job that files a weekly report. It lands in the same vault, read the same way.

Memory across agents

Plan with Claude Code, build with Codex. The agent writes the plan, the decisions and what it learned into the folders that fit, every edit kept as a version — and the next session, with any agent or with you, picks it up by meaning.

Bring any model

MyContext doesn't care which model calls it. Dex does the reading and indexing once; whatever you run on top just asks.

Trust

Powerful for agents. Boring for you.

Access should be easy to grant and easier to take away.

  • Sign in, then approve

    MCP clients use OAuth discovery. MyContext opens in your browser so you can sign in and approve the connection without copying credentials into a conversation.

  • Your vault roles still apply

    The connection only reaches vaults you can access. Viewers stay read-only; editors and owners can write. Every tool checks the selected vault and your role.

  • Machine-written is labelled

    Notes and titles written by an agent or by Dex carry an AI mark in the app, and never overwrite a title you typed yourself.

Questions

The builder's FAQ.

Is there an MCP server?

Yes. Add https://mycontext.work/mcp to a compatible client. It discovers MyContext's OAuth configuration, opens a browser for sign-in and approval, then exposes thirty tools: one call for your rules, profile and folder map, plus searching, reading, saving and navigating vault files, seeing every version of a file and restoring an earlier one, reading and updating pages of sourced facts and the review queue, remembering corrections, listing and following your skills, reading what's coming up on your calendar, having Dex file the inbox or split a folder, and asking Dex a question outright. The REST API below remains available for scripts and custom integrations.

Do entries saved by an agent count towards my allowance?

Yes. An entry is an entry regardless of who saved it — that keeps the plan honest and the API simple.

Can I limit what an agent can see?

An MCP connection acts as your account and only reaches vaults you can access. Every tool call is checked against your role in the selected vault: viewers can read, while editors and owners can write. You can remove the connection to stop access.

Are there rate limits?

No published hard limit today; the API is meant for personal automation, not crawling. Every save is read in the background either way. Processing calls (process: true) are the slow path because they wait for Dex to finish (up to about 25 seconds; the answer says whether it did) — use them when you need the summary right away.

Which model powers Dex, and can I use my own?

Dex uses commercial models through our own gateway; you don't need a key of your own and never see the provider. Your agents, on the other hand, can run on anything — they talk to MyContext, not to Dex's model.

“Dex, what does my research say about this?” — now your agent can ask too.

One vault, read once, available to you and the agents you approve. Give your agent llms.txt and let it start the secure connection.