SDKsPlatform

MCP Server (platform)

Connect Claude Code, Claude Desktop, ChatGPT, and other AI assistants to your Ours Privacy account through the MCP server at ai.oursprivacy.com/mcp.

MCP Server (platform)

The Ours Privacy MCP server lets AI assistants like Claude and ChatGPT manage your account directly. Create experiments, edit variants, start and stop tests, and read live results through natural language.

The server speaks the Model Context Protocol over Streamable HTTP at:

https://ai.oursprivacy.com/mcp

It uses the same Platform API keys as the REST API. Create a key in your dashboard, then plug it into the AI tool of your choice.

Open API Keys in app

Connect from Claude Code

In Claude Code, register the server with one command:

claude mcp add --transport http oursprivacy https://ai.oursprivacy.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Restart Claude Code, then prompt: "List my running experiments."

Full reference: Claude Code MCP docs.


Connect from Claude Desktop or claude.ai

Both clients accept remote MCP servers through their UI. No config file required.

  1. Open Settings → Connectors.
  2. Click Add custom connector.
  3. Set the URL to https://ai.oursprivacy.com/mcp.
  4. Add an Authorization: Bearer YOUR_API_KEY header.
  5. Save and refresh — oursprivacy appears in the connector picker.

Full reference: Claude Connectors docs.


Connect from ChatGPT

ChatGPT supports remote MCP servers in developer mode.

  1. In ChatGPT, open Settings → Apps & Connectors → Advanced and turn on developer mode.
  2. Under Apps, click Create.
  3. Set the URL to https://ai.oursprivacy.com/mcp and add an Authorization: Bearer YOUR_API_KEY header.
  4. Save — the app is selectable in the message composer.

Full reference: OpenAI MCP docs.


Connect from Codex CLI

Codex reads MCP servers from ~/.codex/config.toml. Add this block:

[mcp_servers.oursprivacy]
url = "https://ai.oursprivacy.com/mcp"
headers = { Authorization = "Bearer YOUR_API_KEY" }

Restart Codex, then prompt: "Create a new experiment named Pricing v2."

Full reference: Codex CLI MCP docs.


What You Can Do Today

The server exposes tools for the experimentation lifecycle:

  • Experiments — create, edit, start, stop, and read live results
  • Variants — add and update treatment variants on an experiment
  • Experiment settings — manage targeting, traffic allocation, and consent rules
  • Versions — publish a configuration version and diff against the previous one

More resources roll out alongside the Platform REST API.


Next Steps


Need Help?

Questions about setup, scopes, or which client to use? Reach out to support@oursprivacy.com.

How is this guide?

On this page