Overview
BoostGPT supports multiple authentication methods for your custom MCP servers.Supported Auth Methods
API Key
Simple key-based authentication
Bearer Token
JWT or OAuth access tokens
Basic Auth
Username and password
OAuth 2.0
Full OAuth authorization flow
API Key Authentication
In OpenAPI Spec
In Postman Collection
Configuration
After creating your MCP server:Bearer Token Authentication
In OpenAPI Spec
In Postman Collection
Configuration
Basic Authentication
In OpenAPI Spec
In Postman Collection
Configuration
OAuth 2.0
In OpenAPI Spec
Configuration
OAuth Settings
- Client ID: Your OAuth client ID
- Client Secret: Your OAuth client secret
- Authorization URL: Provider’s auth endpoint
- Token URL: Provider’s token endpoint
- Scopes: Required scopes (e.g.,
read write)
Custom Headers
Add custom headers to all requests:Multiple Auth Methods
Some APIs require multiple auth methods:Security Best Practices
- Never commit credentials - Use environment variables in Postman
- Rotate tokens regularly - Update tokens periodically
- Use OAuth when possible - More secure than API keys
- Limit scopes - Request only necessary permissions
- Monitor usage - Check agent Insights for auth failures
Testing Authentication
Test your auth configuration:Troubleshooting
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
- Check if your API key has required permissions
- Verify OAuth scopes include necessary access
Token expired
Token expired
- For Bearer tokens: Update token in settings
- For OAuth: Re-authorize to get new access token