Skip to main content

API Management Endpoints

All server management API requests require authentication:
Alternative with JWT:

MCP Protocol Endpoints

Two authentication methods available:
1

Token URL

No additional headers needed:
2

API Key

Requires authentication headers:

JWT User Isolation

Servers support automatic userId extraction from JWT tokens:
  • When using x-alloy-user-token header with a JWT
  • The server extracts the userId from the JWT payload
  • Each JWT user gets isolated data based on their JWT userId
Example:

Security Best Practices

  1. Never share your API key or token URL - Treat them like passwords
  2. Rotate keys regularly - Generate new keys periodically
  3. Use restrictions - Limit what each server can access
  4. Monitor usage - Check logs for unexpected activity
  5. Store credentials securely - Use environment variables or secret managers