API Management Endpoints
All server management API requests require authentication: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
Security Best Practices
- Never share your API key or token URL - Treat them like passwords
- Rotate keys regularly - Generate new keys periodically
- Use restrictions - Limit what each server can access
- Monitor usage - Check logs for unexpected activity
- Store credentials securely - Use environment variables or secret managers