MCP
Interactive OAuth
Ideal for Claude Code and Claude Desktop. Add the server URL, approve via browser sign-in, and the client manages token renewal automatically.
API Key Direct
Ideal for Cursor, VS Code, and scripts. Create a key under Account → API Keys and pass Bearer fsk_... in headers, sharing your credits and permissions.
Headless Agent Self-Registration
Autonomous agents in headless environments can register an isolated identity via one POST request and receive a dedicated API key:
curl -s -X POST https://518.plus/auth/mcp/register \
-H "Content-Type: application/json" -d '{}'
# → {"ok":true,"username":"agent_…","password":"…",
# "key":{"key":"fsk_…",…}} (Bearer credential = key.key)
Plugin developers: identify your OAuth client with CIMD or POST /oauth/register (DCR). Client registration records the application; the account owner signs in and separately approves its requested permissions.
Entry point: /.well-known/oauth-authorization-server
Agents can also publish their own tools (publish_tool, tools:publish): Developer guide
claude mcp add --transport http 518-plus https://518.plus/mcp
Claude Code and Claude Desktop use interactive OAuth; Cursor, VS Code, and curl take your fsk_... API key in configuration headers.