Auth and Account¶
These endpoints sign users in to Silicofeller Quantum Studio, manage the account profile and password, issue personal MCP tokens for Claude, and run the OAuth 2.1 authorization server that Claude connectors use. The token types, session rules and MCP allow-list are described on API Reference; this page lists the endpoints and their payloads.
Sign-in and registration¶
Method |
Path |
Purpose |
Roles/plan |
|---|---|---|---|
POST |
|
Email a registration code. Body: |
No token |
POST |
|
Create an account: |
No token |
POST |
|
Sign in with email and password (form body). Returns a token. |
No token |
POST |
|
Sign in with a Google ID token: |
No token |
GET |
|
GitHub sign-in redirect flow. |
No token |
POST |
|
End the current session. |
Signed in |
POST |
|
Appeal an account suspension: |
No token |
Codes sent by email (registration, email change, password change, password reset) expire after 15 minutes.
Sign-in response (TokenResponse):
{
"access_token": "<jwt>",
"token_type": "bearer",
"user": {
"id": "...",
"name": "A. Engineer",
"email": "engineer@example.com",
"role": "engineer",
"organization": "Independent",
"initials": "AE",
"plan": "pro",
"has_password": true,
"login_count": 12,
"profile_settings": {},
"profile_photo_url": "",
"phone_number": "",
"position": "",
"needs_onboarding": false
}
}
role is engineer, org_manager, admin or support_admin. plan is the
account’s own plan (free, basic or pro).
Profile and password¶
Method |
Path |
Purpose |
Roles/plan |
|---|---|---|---|
GET |
|
The signed-in user (same shape as |
Signed in; MCP tokens allowed |
PATCH |
|
Update |
Signed in |
POST |
|
Send a code to the new address: |
Signed in |
POST |
|
Save the first sign-in form: |
Signed in |
POST |
|
Email a code for a password change. Body: |
Signed in |
POST |
|
Set a new password: |
Signed in |
POST |
|
Email a reset code: |
No token |
POST |
|
Reset the password: |
No token |
POST |
|
Whether the user may open a design template ( |
Signed in; limits apply on Free |
Changing or resetting the password revokes every MCP token, OAuth token and unused authorization code the user holds.
MCP tokens¶
Personal MCP tokens are managed with a session JWT only. An MCP token calling these paths
(other than whoami) receives 403 MCP_TOKEN_NOT_ALLOWED.
Method |
Path |
Purpose |
Roles/plan |
|---|---|---|---|
GET |
|
Eligibility, server URL and limits. |
Signed in |
GET |
|
Your personal tokens (never the secret). |
Signed in |
POST |
|
Create a token (status |
Signed in; MCP-eligible |
POST |
|
Extend a token by the default validity from now. |
Signed in; MCP-eligible |
DELETE |
|
Revoke a token (status |
Signed in |
GET |
|
Connected OAuth apps (Claude connectors): |
Signed in |
DELETE |
|
Disconnect an app and revoke its tokens (status |
Signed in |
GET |
|
Who a token belongs to. Accepts a session JWT or an MCP token. |
Signed in; MCP tokens allowed |
GET /api/mcp/status:
{
"eligible": true,
"plan": "pro",
"reason": null,
"server_url": "https://silicofeller.com/mcp",
"limits": {"per_minute": 60, "per_day": 2000},
"max_tokens": 10,
"default_expiry_days": 90
}
Create a token. name is 1 to 80 characters; expires_in_days is 1 to 365 and
defaults to 90:
{"name": "Claude Code on workstation", "expires_in_days": 90}
{
"id": "...",
"name": "Claude Code on workstation",
"prefix": "sfmcp_...",
"created_at": "2026-11-14T11:02:00.000000Z",
"last_used_at": null,
"expires_at": "2027-02-12T11:02:00.000000Z",
"revoked_at": null,
"status": "active",
"token": "sfmcp_..."
}
Store token immediately; only prefix (the first 12 characters) is shown later.
status is active, expired or revoked. A user may hold at most 10 active
personal tokens; creating or reviving one past that returns 409 MCP_TOKEN_LIMIT. An
ineligible user receives 403 MCP_PLAN_REQUIRED.
GET /api/mcp/whoami with an MCP token:
{
"id": "...",
"name": "A. Engineer",
"email": "engineer@example.com",
"plan": "pro",
"auth": "mcp_token",
"token_name": "Claude Code on workstation"
}
With an OAuth access token the response adds "token_kind": "oauth" and client_id.
With a session JWT, auth is session.