Sign in with DECA
MCP clients such as Claude, ChatGPT and Cursor connect with your DECA account through OAuth 2.1 with PKCE. Nothing to paste.
A client that supports OAuth can connect with your DECA account instead of a pasted API key. The workspace's owner approves the client once, and the client gets a key of its own that you can revoke at any time.
For people
- Add
https://app.decalabs.ai/mcpas a connector in your client. In Claude, choose Sign in when needed: the free tools work at once, and you are asked to sign in only when a tool needs your workspace. Choose Sign in now to sign in right away. See Connect Claude. - DECA opens a page that names the client and what it could do. Only the workspace's owner can approve it.
- After you approve, the client gets a key with the
read,quoteandtestscopes. It appears under MCP & API as "client · connected date". Revoke it there to disconnect.
| Scope | What the client may do |
|---|---|
read |
Read signals, ideas, benchmarks, your workspace's ideas and your tests |
quote |
Price tests with quote_test |
test |
Pay for and cancel tests |
For client builders
DECA follows the MCP authorization spec: OAuth 2.1 with PKCE (S256), dynamic client registration (RFC 7591), authorization server metadata (RFC 8414) and protected resource metadata (RFC 9728).
| Protected resource metadata | https://app.decalabs.ai/.well-known/oauth-protected-resource/mcp |
| Authorization server metadata | https://app.decalabs.ai/.well-known/oauth-authorization-server |
| Registration | POST https://app.decalabs.ai/register |
| Authorization | https://app.decalabs.ai/authorize |
| Token | POST https://app.decalabs.ai/token |
| Resource | https://app.decalabs.ai/mcp |
| Scopes | read, quote, test. None asked means all three. |
The flow
- Discover. A tool that needs a workspace, called with no key, answers
401withWWW-Authenticate: Bearer realm="deca", resource_metadata="https://app.decalabs.ai/.well-known/oauth-protected-resource/mcp". The resource metadata names the authorization server. - Register.
POST /registerwithredirect_uris(one to ten;https, orhttptolocalhostonly) and aclient_name. Only public clients are supported:token_endpoint_auth_methodisnone. - Authorize. Send the person to
/authorizewithresponse_type=code, yourclient_id,redirect_uri,state,scopeand a PKCEcode_challengewithcode_challenge_method=S256. - Exchange.
POST /tokenwithgrant_type=authorization_code, thecode, yourredirect_uri,client_idand thecode_verifier. A code is good once, for ten minutes. - Call. Send the
access_tokenasAuthorization: Beareron every MCP or REST call.
curl -X POST https://app.decalabs.ai/register \
-H "content-type: application/json" \
-d '{"client_name": "My agent", "redirect_uris": ["http://localhost:8976/callback"], "token_endpoint_auth_method": "none"}'curl -X POST https://app.decalabs.ai/token \
-d grant_type=authorization_code \
-d code=CODE \
-d redirect_uri=http://localhost:8976/callback \
-d client_id=CLIENT_ID \
-d code_verifier=VERIFIERThe token answer:
{ "access_token": "deca_sk_…", "token_type": "Bearer", "scope": "read quote test" }The access token is an ordinary DECA API key, so everything a key does holds for it: scopes, the rate limit of 600 calls a minute, and calls counted in the dashboard. It does not expire and there is no refresh token; it stops working when the workspace's owner revokes it under MCP & API.