Help · Guide
Connect your own assistant
If your assistant can add an MCP server, it can connect to Provenance and ask you before it buys anything. It shows in Provenance as a personal agent: one that you own, with no company behind it.
Before you begin: set up your Provenance home with a passkey, and use an assistant that can add a remote MCP server.
How to connect
In Provenance, open Your agents → Connect an agent → Your own assistant. It shows the address to add, https://mcp.provenanceauth.com, and a setup card for each assistant:
| Assistant | How |
|---|---|
| Claude | Settings → Connectors → Add custom connector, then paste the address. |
| ChatGPT | Settings → Apps & Connectors → Advanced → Developer mode, then Create and paste the address. |
| Cursor, VS Code | Add to Cursor or Add to VS Code opens the editor with Provenance ready to install. |
| Claude Code, Codex CLI, Gemini CLI | Add the address to the assistant's MCP config file, below, or connect from a terminal. |
An assistant that reads an MCP config file takes the same address:
{
"mcpServers": {
"provenance": {
"type": "http",
"url": "<the address Provenance shows>"
}
}
}
The assistant then opens Provenance. Choose You, personally, sign in with your passkey, give the assistant a name (for example "My laptop assistant"), and confirm with your passkey. The connection lasts an hour at a time and renews itself for 30 days of use. Turning the assistant off in Provenance ends the connection everywhere.
Each assistant's steps are also in connect a client.
What the connect screen shows
Before you confirm, Provenance shows three lines about the assistant:
| Line | What it is |
|---|---|
| App | The name the assistant gives itself. Anyone can choose a name, so check the next two lines too. |
| From | The website the assistant identifies itself with, when it uses one (a client metadata document). |
| Returns to | Where your browser goes after you confirm. |
When the assistant only returns to your own computer (an app on your desktop or a command-line tool), Provenance first asks you to confirm that you started it: This app runs on your computer. Continue only if you started it. Choose Cancel if you didn't, and nothing is connected.
Provenance never loads a logo from the assistant's website, and it sends the assistant a signed note of which server answered (iss), so the assistant can tell Provenance's answer from anyone else's.
From a terminal
The Provenance connect tool connects Claude Code, Codex CLI or Gemini CLI in one step:
This package isn't on npm yet. Until then, every request in these docs runs over HTTP against the sandbox.
With access to the private Provenance repository, which your Provenance contact grants, install from it:
git clone https://github.com/michaelnbane-jpg/provenance.git provenance
cd provenance && pnpm install && pnpm build
node scripts/check-publishable.mjs --out ../provenance-packs
cd ../your-project
npm install ../provenance-packs/provenanceauth-connect-1.0.0.tgz- It shows an 8-letter code. Open the link it prints, enter the code in Provenance, name the assistant and confirm with your passkey.
- It shows each change it wants to make to the assistant's config as a diff, and writes only after you say yes.
- Restart the assistant.
For Claude Code it also adds a hook that runs before each tool call. Every tool call goes through Provenance, so you can stop or limit any Claude Code session, and calls that spend, send or delete ask your phone first. Pick your own list with --tools Bash,mcp__shop__buy. Undo everything with its remove command, which also ends the connection.
What it can do
It starts with no standing permission. Its tools:
| Tool | What happens |
|---|---|
request_ | It asks you to approve one exact order. You decide in Provenance or from the notification, with your passkey. |
request_ | It asks for a standing permission, capped at the default limits for personal agents. You set the limits and can only lower them. |
buy_ | It buys inside the permission you granted. Anything outside it comes to you first. |
answer_ | It answers a question you asked about one of its waiting requests. |
record_ | It starts a session of its own, for one window or task, which you can stop or limit by itself. |
Notes you send it, and questions you ask it from a waiting request, arrive on its next tool result.
Your tools
Services you connect in Tools (GitHub, Notion and others) show up as more tools for the assistants you give them to, named with the service in front: github.create_issue. The assistant calls them like its other tools; Provenance checks each call against your rules and calls the service with the sign-in it keeps for you. See Connect your tools.
Sessions
Each window or task of your assistant is its own session in Provenance, labelled with the name your assistant sends (with Claude Code's hook, also the project folder). Stop one, or limit it to no spending or to some tools, from the assistant's page in Your agents; the others keep running.
Assistants on the newest version of MCP (2026-07-28) have one session for the whole connection, plus a session for each window they start with record_session. Stopping the connection's session stops all its requests until you choose Resume. A window's session ends after a day without requests. See sessions.
What stores see
Stores see that a person approved, with a code that's different for each store, never your name. They also see that the agent is personal and unverified, because no company vouches for it, so stores may ask you more often. Personal agents aren't listed in the agent directory and have no public record.
Errors you might see
| Code | What to do |
|---|---|
mcp_ | This server doesn't offer sign-in for assistants. Use the address Provenance shows under Your own assistant. |
invalid_ | The sign-in expired or was already used. Connect again. |
session_ | You stopped this session in Provenance. Start a new one in your assistant. |
session_ | The session's limits don't allow this. Change them in Provenance, or ask for something within them. |
tool_ | You haven't given this assistant that tool. See Connect your tools. |
See also
- Provenance for people
- Connect your tools
- Connect a client: the same steps for developers, with what each sign-in sees
- Let people connect