SDKs and MCP
Language SDKs and an MCP server that wrap the Ours Privacy Platform REST API for Node.js, Go, and AI assistants.
Prefer not to call the REST API directly? The Ours Privacy platform ships with language SDKs and an MCP server that wrap every endpoint documented in this section. All are generated from the same OpenAPI specification. The SDKs and MCP server accept either a Platform API key or an OAuth access token issued by Ours Privacy as the bearer credential. MCP clients that support MCP authorization, such as Claude, connect with OAuth by signing in; no client ID is needed.
Available wrappers
| Tool | Best for | Docs |
|---|---|---|
| MCP Server | Driving your account from Claude, ChatGPT, Codex, and other AI assistants | MCP Server (platform) |
| Node.js / TypeScript SDK | Backend services, scripts, and Next.js / Node automation | Node.js SDK (platform) |
| Go SDK | Go services and infrastructure tooling | Go SDK (platform) |
| OpenAPI spec | Generating your own client in any language | Platform OpenAPI Schema |
For a high-level comparison of all SDK families, including client and ingest SDKs, see the SDK Overview.
When to pick which
- AI assistant in the loop? Use the MCP Server. Connect an MCP client to
https://ai.oursprivacy.com/mcpwith OAuth or an API key, then ask about analytics, heatmaps, and consent and build sources, destinations, Tag Manager tags, consent banners, and experiments in plain language. OAuth needs an organization admin to turn on OAuth connections first; API keys work with any client that can send a header. - Writing application code? Use the Node.js or Go SDK. Both are typed, auto-generated, and track the OpenAPI spec.
- Need a language we don't ship? Generate a client from the OpenAPI spec.
- Want answers without connecting an outside client? The built-in AI Assistant answers questions about your configuration and analytics inside the dashboard, with no API key or setup.
Next Steps
- Platform SDKs overview: the full SDK landing page with install snippets.
- Authentication: choose API keys or OAuth for the SDK and MCP connection.
- Quickstart: the same operations against the raw REST API.
How is this guide?

