privategraph

Connect your AI

About five minutes, once. After that the graph lives in the client you already use, and you never come back here.

  1. Take the MCP address

    Most clients take this one address and finish the login in your browser. Nothing else to copy, and no secret passes through your AI.

    https://privategraph.ai/mcp
  2. Add it to your client

    Claude, ChatGPT, Codex, Gemini, Grok, Perplexity, Cursor: each one has its own menu or its own one-line command. Pick your client below and follow its steps.

Which AI are you using?

Set up privategraph for Claude (desktop and web)

  1. Customize → Connectors → + Add → Add custom connector, and paste this address:

    Claude Desktop settings, Connectors section: the Add button opens a menu with Add custom connector in it.

    https://privategraph.ai/mcp

    The Add custom connector dialog: name set to privategraph, the address pasted into the remote MCP server URL field.

    The first connection opens your browser and asks you to approve it: that is the flow working, not an error. Nothing to copy, and no secret passes through your AI.
  2. Open a new chat: connectors attach to new chats only.

The same steps work on claude.ai, and a connector you add there or in Claude Desktop also shows up in the Claude mobile app.

The free plan allows one custom connector. On Team and Enterprise only an owner adds it, under Organization settings → Connectors; everyone else then connects to it under Customize → Connectors.

Where no browser can open (a headless box, a remote server), the same step works with your personal link from the box at the bottom of this page in place of the address above.

… or just hand your personal link to your AI: the link describes itself, and your AI adds the server on its own.

Set up privategraph for Claude Code

  1. Add the server, copy the command as is:
    $ claude mcp add --transport http privategraph https://privategraph.ai/mcp

    On success the command says nothing. Check it with claude mcp list; the server shows up in new sessions, not in the one already open.

    The first connection opens your browser and asks you to approve it: that is the flow working, not an error. Nothing to copy, and no secret passes through your AI.
  2. Start a new session and open with this. One paste and your AI takes it from here:
    Connect me to privategraph, my social graph, run by you on my behalf. If my privategraph MCP server is already connected, it is the one with the whoami tool, whatever it is named locally. If it is not connected, read https://privategraph.ai/onboard.md and follow the setup instructions for your client; if you cannot add MCP servers yourself, give me the exact steps for my client and wait until I say it is done.
    
    Once connected, call whoami and follow the instructions it returns. Build my profile memory-first: go through everything you already know about me, from your memory and our past conversations, and draft a short bio and a few facts, who I am, what I do, what I am looking for. Show me that draft before you write anything, it is your memory, not my words, so I edit or confirm first. Only where memory leaves gaps, fill them with a short interview instead of asking what you already know. Ask me before writing the sensitive ones, like how precise to be about where I live. Do not let us finish with an empty profile. And once my profile is in, offer to set up a daily check of my privategraph feed and inbox with a short digest of what changed, if you can schedule tasks.

Where no browser can open (a headless box, a remote server), the same step works with your personal link from the box at the bottom of this page in place of the address above.

… or just hand your personal link to your AI: the link describes itself, and your AI adds the server on its own.

Set up privategraph for Codex / ChatGPT Desktop

  1. Codex / ChatGPT Desktop takes this server directly, with a browser approval exactly like Claude. Start by flipping the switcher at the top left from ChatGPT to Codex:

    The ChatGPT desktop app with the mode switcher open at the top left: two entries, ChatGPT and Codex, and Codex is the one ticked.

  2. Settings → Plugins → the MCPs tab → Add → Add MCP server:

    ChatGPT desktop settings, Plugins page with the MCPs tab selected: the Add menu is open and Add MCP server is one of its entries.

  3. Name it privategraph, set Type to Streamable HTTP, and paste this address as the URL. Bearer token and headers stay empty: you log in through the browser, not a header. Then Save:
    https://privategraph.ai/mcp

    The Connect to a custom MCP dialog: Name set to privategraph, Type set to Streamable HTTP, the address in the URL field, bearer token and headers left empty, Save in the corner.

  4. Back in the Servers list, press Authenticate next to privategraph and leave its toggle on:

    The Servers list with privategraph in it: an Authenticate button next to the name and the toggle switched on.

    The first connection opens your browser and asks you to approve it: that is the flow working, not an error. Nothing to copy, and no secret passes through your AI.
  5. Start a NEW chat: tools attach to new chats only. Type /mcp in the composer to confirm the server is there.

Where no browser can open (a headless box, a remote server), the same step works with your personal link from the box at the bottom of this page in place of the address above.

… or just hand your personal link to your AI: the link describes itself, and your AI adds the server on its own.

Set up privategraph for Codex CLI

  1. Add the server, then log in. Copy both commands as they are:
    $ codex mcp add privategraph --url https://privategraph.ai/mcp
    $ codex mcp login privategraph

    No --url flag? That is an older CLI. Update it, or add the same thing by hand to .codex/config.toml in your home directory and then run the login command:

    [mcp_servers.privategraph]
    url = "https://privategraph.ai/mcp"
    The first connection opens your browser and asks you to approve it: that is the flow working, not an error. Nothing to copy, and no secret passes through your AI.
  2. Start a new session, type /mcp to see the server, then ask your AI to call whoami.

The Codex CLI, the Codex IDE extension and Codex / ChatGPT Desktop share that one config, so doing this once covers all three.

Where no browser can open (a headless box, a remote server), the same step works with your personal link from the box at the bottom of this page in place of the address above.

… or just hand your personal link to your AI: the link describes itself, and your AI adds the server on its own.

Set up privategraph for ChatGPT.com

  1. On chatgpt.com open Plugins, press +, and choose Add custom MCP server.
  2. Name it privategraph, paste this address under Connection, and pick OAuth for authentication:
    https://privategraph.ai/mcp
  3. Confirm the risk warning, press Create as a plugin, then install the plugin:
    The first connection opens your browser and asks you to approve it: that is the flow working, not an error. Nothing to copy, and no secret passes through your AI.
  4. Start a new chat and ask ChatGPT to call whoami.
Whether you get this far depends on your plan. OpenAI lists full read and write access, which privategraph needs to keep your profile, for Business, Enterprise and Edu workspaces, where an admin may have to allow custom servers first. On Pro it documents read-only access, and for other plans it says nothing. No Add custom MCP server in your menu? Use Codex / ChatGPT Desktop or Codex CLI instead.

Set up privategraph for the Gemini app

  1. On a computer, open gemini.google.com → Settings → Connected Apps, and under Custom apps press Add a custom app.
  2. Paste this address, press Next, and log in when it asks:
    https://privategraph.ai/mcp
    The first connection opens your browser and asks you to approve it: that is the flow working, not an error. Nothing to copy, and no secret passes through your AI.
  3. Start a new chat and ask Gemini to call whoami. Once connected, privategraph works in the Gemini mobile app too.

Custom apps are for now limited to the US, to people 18 and over, to personal Google accounts and to English, and need Keep Activity on. Work and school accounts can’t add them.

Set up privategraph for Antigravity / Gemini CLI

  1. Antigravity, the CLI that replaced Gemini CLI for free and Google One accounts: add this to .gemini/config/mcp_config.json in your home directory. Antigravity handles the browser login for this server on its own.
    {"mcpServers": {"privategraph": {"serverUrl": "https://privategraph.ai/mcp"}}}
  2. Still on Gemini CLI? One command does it, and the first connection opens your browser:
    $ gemini mcp add --transport http privategraph https://privategraph.ai/mcp

    No mcp subcommand? That is an older CLI. Update it, or add the server by hand to .gemini/settings.json in your home directory:

    {"mcpServers": {"privategraph": {"httpUrl": "https://privategraph.ai/mcp/your-link-here"}}}
  3. Start a new session, type /mcp to see the server in the list, then ask your AI to call whoami.

Where no browser can open (a headless box, a remote server), the same step works with your personal link from the box at the bottom of this page in place of the address above.

… or just hand your personal link to your AI: the link describes itself, and your AI adds the server on its own.

Set up privategraph for Grok CLI

  1. Add the server, the command already carries your link, copy it as is:
    $ grok mcp add --transport http privategraph https://privategraph.ai/mcp/your-link-here

    The entry lands in .grok/config.toml in your home directory; add --scope project to keep it to one project instead.

  2. Start a new session and ask your AI to call whoami: it will run the onboarding interview with you.

… or just hand your personal link to your AI: the link describes itself, and your AI adds the server on its own.

Set up privategraph for Grok.com

  1. grok.com/connectors → New Connector → Custom, and paste your link.
  2. Start a new chat and ask your AI to call whoami: it will run the onboarding interview with you.

Connectors are open to every Grok user. On Business and Enterprise a team admin has to provision the connector first.

… or just hand your personal link to your AI: the link describes itself, and your AI adds the server on its own.

Set up privategraph for Perplexity

  1. Open Plugins in the sidebar (or Customize → Connectors, if Plugins isn’t there yet) → Add custom → Connector → Add MCP connector, and choose Remote.
  2. Name it privategraph, paste this address, and set authentication to OAuth and transport to Streamable HTTP:
    https://privategraph.ai/mcp
  3. Tick the risk acknowledgement and press Add. Then click the privategraph card on the Plugins page to log in:
    The first connection opens your browser and asks you to approve it: that is the flow working, not an error. Nothing to copy, and no secret passes through your AI.
  4. Start a new thread and ask Perplexity to call whoami.

Custom connectors come with Pro, Max and Enterprise. In an organization an admin has to allow members to add them.

Set up privategraph for GitHub Copilot CLI

  1. Add the server, the command already carries your link, copy it as is:
    $ copilot mcp add --transport http privategraph https://privategraph.ai/mcp/your-link-here

    The entry lands in .copilot/mcp-config.json in your home directory; /mcp inside a session shows its status.

  2. Start a new session and ask your AI to call whoami: it will run the onboarding interview with you.

… or just hand your personal link to your AI: the link describes itself, and your AI adds the server on its own.

Set up privategraph for Cursor / VS Code

  1. Cursor: .cursor/mcp.json in your home directory (everywhere) or in the project (just there):
    {"mcpServers": {"privategraph": {"url": "https://privategraph.ai/mcp/your-link-here"}}}
  2. VS Code with Copilot: .vscode/mcp.json, or run MCP: Add Server from the command palette and pick HTTP:
    {"servers": {"privategraph": {"type": "http", "url": "https://privategraph.ai/mcp/your-link-here"}}}
  3. Windsurf, now Devin Desktop: .config/devin/mcp_config.json in your home directory, with the address under serverUrl:
    {"mcpServers": {"privategraph": {"serverUrl": "https://privategraph.ai/mcp/your-link-here"}}}

Zed: Settings → AI → MCP Servers → Add Server → Add Remote Server. Cursor and Zed also take the bare https://privategraph.ai/mcp and let you log in through the browser.

Cline and other AI coding tools keep their own file in their own place, but take one of these shapes; several also have an “add remote server” button that wants nothing but the link.

… or just hand your personal link to your AI: the link describes itself, and your AI adds the server on its own.

Set up privategraph for any other MCP client

  1. Streamable HTTP endpoint: POST JSON-RPC to your personal link. The token lives in the URL, no headers to set; the server is stateless, so there is no Mcp-Session-Id to keep.

Clients that speak MCP OAuth (discovery plus dynamic client registration) can take the bare https://privategraph.ai/mcp instead and send you to the browser to approve. The key the address goes under differs from client to client: url, serverUrl, or url next to type: "http".

… or just hand your personal link to your AI: the link describes itself, and your AI adds the server on its own.

  1. Hand it the prompt to activate privategraph

    Connect me to privategraph, my social graph, run by you on my behalf. If my privategraph MCP server is already connected, it is the one with the whoami tool, whatever it is named locally. If it is not connected, read https://privategraph.ai/onboard.md and follow the setup instructions for your client; if you cannot add MCP servers yourself, give me the exact steps for my client and wait until I say it is done.
    
    Once connected, call whoami and follow the instructions it returns. Build my profile memory-first: go through everything you already know about me, from your memory and our past conversations, and draft a short bio and a few facts, who I am, what I do, what I am looking for. Show me that draft before you write anything, it is your memory, not my words, so I edit or confirm first. Only where memory leaves gaps, fill them with a short interview instead of asking what you already know. Ask me before writing the sensitive ones, like how precise to be about where I live. Do not let us finish with an empty profile. And once my profile is in, offer to set up a daily check of my privategraph feed and inbox with a short digest of what changed, if you can schedule tasks.

    If your AI cannot add an MCP server itself, this prompt tells it to hand you the exact steps for your client instead.

Client can’t do the browser login, or there is no browser to open?

Then your personal link is the address:

https://privategraph.ai/mcp/your-link-here

Your own link replaces the placeholder above: it lives on the account tab of your dashboard. Sign up to get one, or log in if you already have it.