Agent Access & Authentication
Learn how to authenticate AI agents, manage API keys, and configure MCP OAuth.
auto-social.io provides multiple ways for external agents, developer tools, and automation pipelines to interact securely with your workspace.
Authentication Methods
There are two primary ways to authenticate with auto-social.io agent interfaces:
- API Keys (
ask_...): Best for CLI tools, server scripts, and CI/CD automation. - OAuth 2.0 (MCP OAuth / PKCE): Designed for desktop agent clients like Cursor, Claude Desktop, and VS Code.
API Keys
Generating an API Key
- Log into auto-social.io and navigate to Account Settings.
- Go to the Agent access card.
- Click the New API key button.
- Enter a Key name to identify this key (for example:
Cursor Assistant,CLI deploy worker). - Click Create key.
- In the modal, click Copy key to copy the secret (
ask_...) immediately. For security, keys cannot be displayed again after closing.
Using API Keys
You can pass your API key as a Bearer token in the Authorization header:
Or configure environment variables for CLI usage:
MCP OAuth (PKCE)
For AI agents that support MCP (Model Context Protocol) authentication:
- Authorize Endpoint:
https://auto-social.io/api/mcp/oauth/authorize - Token Endpoint:
https://auto-social.io/api/mcp/oauth/token
The OAuth flow uses standard Proof Key for Code Exchange (PKCE) to securely issue scoped access tokens without storing long-lived master passwords on your client machines.
Revoking Credentials
If an API key or agent credential is compromised:
- Visit Account Settings, under Agent access.
- Locate the key in the list.
- Click the trash icon button (Revoke key). All subsequent requests using that credential will immediately fail with a
401 Unauthorizedstatus.