Documentation Index
Fetch the complete documentation index at: https://docs.boostgpt.co/llms.txt
Use this file to discover all available pages before exploring further.
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
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
security:
- ApiKeyAuth: []
In Postman Collection
{
"auth": {
"type": "apikey",
"apikey": [
{
"key": "key",
"value": "X-API-Key"
},
{
"key": "value",
"value": "{{api_key}}"
},
{
"key": "in",
"value": "header"
}
]
}
}
Configuration
After creating your MCP server:
Go to Settings
Dashboard -> MCP Servers -> Your Server -> Settings
Authentication
Select API Key as auth method
Configure
- Header Name:
X-API-Key (or your custom header)
- API Key: Enter your actual API key
Save
Click Save - your MCP server will now use this key for all requests
Bearer Token Authentication
In OpenAPI Spec
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
security:
- BearerAuth: []
In Postman Collection
{
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{access_token}}"
}
]
}
}
Configuration
Go to Settings
Dashboard -> MCP Servers -> Your Server -> Settings
Authentication
Select Bearer Token as auth method
Enter Token
Paste your bearer token or JWT
Save
Token will be included in Authorization: Bearer <token> header
Basic Authentication
In OpenAPI Spec
components:
securitySchemes:
BasicAuth:
type: http
scheme: basic
security:
- BasicAuth: []
In Postman Collection
{
"auth": {
"type": "basic",
"basic": [
{
"key": "username",
"value": "{{username}}"
},
{
"key": "password",
"value": "{{password}}"
}
]
}
}
Configuration
Go to Settings
Dashboard -> MCP Servers -> Your Server -> Settings
Authentication
Select Basic Auth as auth method
Credentials
- Username: Your username
- Password: Your password
Save
Credentials will be Base64 encoded in Authorization header
OAuth 2.0
In OpenAPI Spec
components:
securitySchemes:
OAuth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://oauth.example.com/authorize
tokenUrl: https://oauth.example.com/token
scopes:
read: Read access
write: Write access
security:
- OAuth2: [read, write]
Configuration
Go to Settings
Dashboard -> MCP Servers -> Your Server -> Settings
Authentication
Select OAuth 2.0 as auth method
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)
Authorize
Click Authorize to complete OAuth flow
Add custom headers to all requests:
Go to Settings
Dashboard -> MCP Servers -> Your Server -> Settings
Custom Headers
Click Add Custom Header
Configure
- Header Name:
X-Custom-Header
- Header Value:
your-value
Save
Custom headers will be included in all requests
Multiple Auth Methods
Some APIs require multiple auth methods:
# OpenAPI: API Key + Custom Header
components:
securitySchemes:
ApiKey:
type: apiKey
in: header
name: X-API-Key
CustomAuth:
type: apiKey
in: header
name: X-Custom-Auth
security:
- ApiKey: []
- CustomAuth: []
Configure both in MCP server settings.
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:
Connect to Agent
Add your MCP server to an agent
Test in Playground
User: "List users from my API"
Agent: *uses your MCP server with auth* "Found 10 users..."
Check Logs
Go to Dashboard -> MCP Servers -> Your Server -> Logs to see auth status
Troubleshooting
- Verify your credentials are correct
- Check if token has expired
- Ensure header name matches API requirements
- Check if your API key has required permissions
- Verify OAuth scopes include necessary access
- For Bearer tokens: Update token in settings
- For OAuth: Re-authorize to get new access token
Next Steps
OpenAPI Import
Import OpenAPI specification
Postman Import
Upload Postman collection