Sign-in and tokens
Browser sign-in, personal access tokens, scopes and how to revoke access.
Archee MCP accepts two kinds of credentials. Both act as you, inside your plan, and both can be revoked at any time.
- Browser sign-in (OAuth) suits interactive clients such as Claude Code, Cursor and Claude Desktop. It refreshes itself, and the refresh token lasts 30 days from its last use.
- Personal access tokens (
arch_pat_…) suit CI, scripts and headless agents. You choose 7, 30 or 90 days when you create one.
Browser sign-in
Section titled “Browser sign-in”Clients that support remote MCP servers discover Archee’s sign-in automatically. On first use the client opens your browser. You sign in, see which scopes the client asks for and approve. The client then holds short-lived access tokens and refreshes them on its own.
Archee uses OAuth 2.1 with PKCE. A refresh token can be used once. If a used one comes back, Archee treats it as stolen and ends that whole sign-in.
Personal access tokens
Section titled “Personal access tokens”Create a token
Section titled “Create a token”-
In the web app, open Settings → Connections.
-
Create a token and pick its scopes and an expiry.
-
Copy it. It is shown once, so copy it now. If you lose it, create a new one.
Use a token
Section titled “Use a token”Pass it as a bearer header:
# Claude Codeexport ARCHEE_TOKEN=arch_pat_...claude mcp add --transport http archee https://mcp.archee.studio/mcp \ --header "Authorization: Bearer $ARCHEE_TOKEN"[mcp_servers.archee]url = "https://mcp.archee.studio/mcp"bearer_token_env_var = "ARCHEE_TOKEN"{ "mcpServers": { "archee": { "url": "https://mcp.archee.studio/mcp", "headers": { "Authorization": "Bearer ${env:ARCHEE_TOKEN}" } } } }Client configuration formats change. If one of these stops working, follow your client’s own remote-MCP documentation with the same URL and Authorization: Bearer header.
Scopes
Section titled “Scopes”A connection holds only the scopes you approved, and never more than your plan allows.
mcp:searchfinds SDK functions withsearch.mcp:executeruns programs withexecute.files:writeuploads files to a project.kb:readsearches the Knowledge Base and reads its pages.verifyruns TCVN drawing checks.deliverpackages deliverables.agent:runhands long work to Archee’s agent.
A client that asks for no scope gets mcp:search, mcp:execute and kb:read. A program that calls a function outside its scopes gets a ScopeDenied error naming the missing scope.
Revoke access
Section titled “Revoke access”Under Settings → Connections, revoke a connected app or a token. The next request it makes is refused. Revoking a connected app also ends its refresh tokens, so it cannot sign itself back in without you.
If your plan stops including MCP, every connection stops working within about a minute, and works again if the plan is restored.