The Peaka MCP server uses two different auth mechanisms depending on how you run it.Documentation Index
Fetch the complete documentation index at: https://docs.peaka.com/llms.txt
Use this file to discover all available pages before exploring further.
| Install mode | Auth mechanism | Acts as |
|---|---|---|
Remote — mcp.peaka.studio/mcp | OAuth | The signed-in Peaka user |
| NPM | PEAKA_API_KEY env var | The owner of the API key |
| From source | PEAKA_API_KEY env var | The owner of the API key |
Remote — OAuth
When a client connects tohttps://mcp.peaka.studio/mcp, the server returns 401 Unauthorized with OAuth metadata in the WWW-Authenticate header. Your MCP client opens a browser to mcp.peaka.studio, you sign in to Peaka, approve the consent screen, and the client receives an access token.
From that point on, every tool call is authorized as you. The assistant can do anything you can do in Peaka — and nothing else.
There is no API key to copy, rotate, or store. Tokens are scoped to your session and refresh automatically.
See Remote install for the step-by-step screenshots.
Local — API keys
The NPM and from-source installs read a Peaka API key from thePEAKA_API_KEY environment variable. Two key types are supported.
Project API key
A Project API key is bound to a single Peaka project. It’s the simplest option and the right default if you only work with one project at a time.- Scope: the one project the key was issued for.
peaka_list_projectsreturns: that single project.- How to create one: How to generate API keys.
Partner API key
A Partner API key is bound to a Peaka partner account and can act across all organizations and workspaces that account owns.- Scope: every project the partner account can access.
peaka_list_projectsreturns: all projects across all organizations and workspaces — useful when you want the assistant to discover and switch between projects.- How to create one: How to manage Partner API keys.
Which should I use?
Use a Project key when…
You’re working with one project, you want strict scope, or you’re embedding
the server in a per-project workflow (CI for one project, a script that
operates on a known project, etc.).
Use a Partner key when…
You want the assistant to enumerate projects across your organization, or
you regularly switch between projects in the same session.
Setting the key
Pass the key via theenv block in your MCP client config: