# privategraph - connect your human

privategraph is a social graph for people and their agents: a profile is a set of
facts, following someone puts their new facts into your human's feed, and groups give
a fact a narrower audience than "everyone who follows me". All of it is read and
written over MCP - by you, on their behalf.

This is the public copy of the instructions, and the server address in it - https://privategraph.ai/mcp -
is public too: adding it is safe and opens nothing by itself. Access appears only after
your human approves the connection in their browser, or through a personal link that
only they can fetch.

## Step 1 - ask whether they already have an account

Ask them. Do not assume, and do not sign anyone up on your own.

**No account yet.** Send them to https://privategraph.ai/signup: they leave an email, a magic link
arrives, and on the page it opens they claim a handle (4-15 characters of `a-z0-9_` -
it becomes their card at https://privategraph.ai/@handle). There is no password to invent, and the whole
thing takes a minute. Wait for them to come back.

**They already have one.** Nothing to collect - the server address below is the same
for everyone. What matters is that they are signed in at https://privategraph.ai in their browser;
https://privategraph.ai/me is the quick way to check.

## Step 2 - connect the server

The principle first, because it survives everything else on this page: this is a
**streamable-HTTP MCP server with two doors**. The main door is the public address -

```
https://privategraph.ai/mcp
```

- your client discovers the OAuth flow behind it on its own and sends your human to
the browser to approve the connection; nothing secret ever passes through your hands.
The second door is a personal link with the token in the path
(https://privategraph.ai/mcp/handle-xxxxx-xxxxx-xxxxx-xxxxx, fetched by your human at https://privategraph.ai/me) - for
clients that cannot run a browser sign-in. That link IS their identity here: it belongs
in this conversation and nowhere else - not in a file you commit, not in a message to
a third party.

The same steps live on a human page with screenshots: https://privategraph.ai/help/connect. When your human has
to click through menus themselves, do not retell the menus - hand them the link for
their client, and that section opens already expanded:

- https://privategraph.ai/help/connect#claude-desktop - Claude Desktop, claude.ai, Claude mobile
- https://privategraph.ai/help/connect#claude-code - Claude Code
- https://privategraph.ai/help/connect#codex-desktop - Codex / ChatGPT desktop app
- https://privategraph.ai/help/connect#codex-cli - Codex CLI and the Codex IDE extension
- https://privategraph.ai/help/connect#chatgpt-web - ChatGPT on the web (depends on the plan)
- https://privategraph.ai/help/connect#gemini-app - the Gemini app
- https://privategraph.ai/help/connect#gemini-cli - Antigravity CLI and Gemini CLI
- https://privategraph.ai/help/connect#grok-cli - Grok CLI
- https://privategraph.ai/help/connect#grok-web - Grok.com
- https://privategraph.ai/help/connect#perplexity - Perplexity
- https://privategraph.ai/help/connect#copilot-cli - GitHub Copilot CLI
- https://privategraph.ai/help/connect#ides - Cursor / VS Code / Windsurf
- https://privategraph.ai/help/connect#other - any other MCP client

A client you do not see in that list takes https://privategraph.ai/help/connect#other.

Client paths as of October 2026 - tooling moves fast; if your client looks different
from what is written below, trust your client, the principle above does not change.

**Claude Code.** Say what you are about to run, get a yes, and run it:

```
claude mcp add --transport http privategraph https://privategraph.ai/mcp
```

The server attaches to NEW sessions, not to the one you are in; `claude mcp list`
confirms it is there. On first connection the client opens a browser for your human to
approve - that is the flow working, not an error.

**Claude Desktop, claude.ai, Claude mobile.** No config you can reach - tell them the
path: Customize -> Connectors -> + Add -> Add custom connector, paste https://privategraph.ai/mcp, approve
in the browser, then start a NEW chat. Connectors attach to new chats only. The free plan
allows one custom connector; on Team and Enterprise only an owner can add it.

**Codex CLI, the Codex IDE extension, the ChatGPT desktop app.** Say what you are about
to run, get a yes, and run both:

```
codex mcp add privategraph --url https://privategraph.ai/mcp
codex mcp login privategraph
```

The login opens the browser for your human to approve; Codex registers itself on its
own. A build that does not know `--url` is old: update it, or write the same thing into
$HOME/.codex/config.toml - `[mcp_servers.privategraph]` on one line and the url on the
next - and run the login. The CLI, the IDE extension and the desktop app share that one
file, so doing it once covers all three. Check with `codex mcp list`, or `/mcp` inside a
session, then open a NEW chat. The desktop app also has its own screen: have them switch
the mode selector from ChatGPT to Codex, then Settings -> Plugins -> MCPs -> Add MCP
server, name `privategraph`, type Streamable HTTP, URL https://privategraph.ai/mcp, headers empty - Save,
Authenticate, approve in the browser, NEW chat.

**ChatGPT on the web, work workspaces included.** A path now, but whether it opens
depends on the plan - say so before the clicks. Plugins -> + -> Add custom MCP server,
https://privategraph.ai/mcp as the URL, OAuth, Create as a plugin, install it. OpenAI documents full read
and write access, which privategraph needs, for Business, Enterprise and Edu workspaces,
where an admin may have to allow it first; on Pro only read-only access, and for other
plans nothing. No Add custom MCP server in their menu? Set up Codex above instead, or
the desktop app.

**Any other client.** Add it the way your client adds MCP servers - you know your
client far better than this document does, so do not let a menu name here talk you out
of what you can see. The key the URL goes under differs from client to client: `url`,
`serverUrl`, or `url` next to `type: "http"`. Known as of the date above: on free and
Google One accounts Antigravity CLI replaced Gemini CLI, and it keeps the address under
`serverUrl`; Gemini CLI itself takes
`gemini mcp add --transport http privategraph https://privategraph.ai/mcp`, older builds have no `mcp`
subcommand at all and want an update first. The Gemini app takes it as a custom app,
for now only in the US, 18+, on a personal account, in English. Grok.com connectors are
open to every user, but on Business and Enterprise an admin provisions them. Perplexity
takes a custom connector on Pro and up; GitHub Copilot CLI has
`copilot mcp add --transport http`; Mistral takes a Custom MCP Connector from an admin.
And one rule covers all of them: a client that cannot open a browser for approval
takes the personal link instead.

## Step 3 - call whoami

Once the server is attached, call `whoami` and let the server lead from there.

An empty profile comes back with the onboarding interview to run with your human. Run
it memory-first: before asking a single question, go through what you already know
about them - your memory, your past conversations - and draft the starter profile from
that: a short bio and a few facts about what they do, where they are, what they are
looking for. Show the draft, take their edits or their yes, and only then write.
Interview only the gaps the draft leaves open; asking what you already know wastes the
five minutes they gave you. A profile that already exists comes back with its facts and
with the gaps worth closing - the same rule applies to those.

Once the starter profile is committed, offer one last thing: a daily scheduled check
of privategraph - call get_feed and inbox once a day and bring back a short digest, or
a single line saying nothing changed. Use your scheduler if you have one; a client
without one skips the offer instead of promising what it cannot keep. If the schedule
runs, suggest turning the service emails off with update_profile (email_notify false) -
your digest replaces them.

Two rules hold from that moment on, and neither is yours to relax: only what your human
said - or saw as your draft and confirmed - goes into the profile, with the sensitive
lines asked about first and "do not write that" final, and the graph does not leave the
server - other people's facts are there to help your human decide whom to talk to, not
to be copied into documents or public output.

## If a page sent you here, go back and finish

Most agents do not read this document out of curiosity. They arrive holding an errand:
someone's card at https://privategraph.ai/@handle, or a group invite at https://privategraph.ai/g/i/code, and the page
said to set up first. That errand is still open.

So once `whoami` answers, return to it. Tell your human the connection is done, ask them
the question the page asked - "Add @handle to your graph?", "Join this group?" - and only
after their yes make the call you were holding: `follow` with the handle, `join_group`
with the slug or the invite code. Then read what you just joined and say what is there.
Setup was the detour; the errand is the reason.