Documentation Index
Fetch the complete documentation index at: https://astralform.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Connectors let you integrate third-party services into your AI agents. Unlike MCP servers (which run server-side with your credentials), connectors support end-user authentication - each user connects their own account via OAuth or API key.| Feature | MCP Servers | Connectors |
|---|---|---|
| Auth model | Developer credentials | End-user OAuth/API keys |
| Runs on | Backend (stdio/SSE) | Backend (API proxy) |
| Use case | Databases, internal APIs | User-facing services (Slack, Notion) |
| Setup | Command + env vars | OAuth app or API key |
Connector Types
OAuth Connectors
OAuth connectors (Slack, Notion, GitHub) require you to create a dedicated OAuth app with the service provider. End users then authenticate through the standard OAuth flow. Setup requirements:- OAuth Client ID
- OAuth Client Secret
- Redirect URI configured in the provider’s app settings
API Key Connectors
API key connectors use a single API key for all requests. The key is encrypted and stored securely. Setup requirements:- Service API key
Remote MCP Connectors
Remote MCP connectors connect to external MCP servers over HTTP. No additional credentials are needed beyond the server URL.Available Connectors
| Connector | Type | Category | Tools |
|---|---|---|---|
| Slack | OAuth | Communication | slack_list_channels, slack_send_message, slack_search_messages |
| Notion | OAuth | Productivity | notion_search, notion_get_page, notion_create_page |
| GitHub | OAuth | Development | github_list_repos, github_search_issues |
Enabling a Connector
Via Dashboard
- Go to Project Settings > Connectors
- Click Enable on a connector
- Enter the required credentials
- Configure auth settings (allow end-user auth, require auth)
- Click Save
Via Claude Code Plugin
Via MCP Tool
Setting Up OAuth Apps
Slack
- Go to api.slack.com/apps
- Click Create New App > From scratch
- Add redirect URI:
https://api.astralform.ai/v1/connectors/oauth/callback - Under OAuth & Permissions, add required scopes:
channels:read- List channelschat:write- Send messagessearch:read- Search messages
- Copy the Client ID and Client Secret
Notion
- Go to notion.so/my-integrations
- Click New integration
- Select Public integration
- Add redirect URI:
https://api.astralform.ai/v1/connectors/oauth/callback - Copy the OAuth client ID and OAuth client secret
GitHub
- Go to github.com/settings/developers
- Click New OAuth App
- Set callback URL:
https://api.astralform.ai/v1/connectors/oauth/callback - Copy the Client ID and Client Secret
End-User Authentication
When a connector is enabled withrequire_auth: true (default), end users must authenticate before the agent can use connector tools.
The authentication flow:
- Agent calls a connector tool (e.g.,
slack_list_channels) - If user hasn’t authenticated, the SDK presents an OAuth prompt
- User authorizes access in their browser
- Token is stored encrypted for future requests
- Agent retries the tool call with the user’s token
Managing Connectors
List Project Connectors
View all enabled connectors and their status:Update Configuration
Update credentials, scopes, or auth settings:Disable a Connector
Removing a connector also revokes all end-user tokens:Assigning to Agents
Connectors can be assigned to specific agents in multi-agent setups:- Go to Agents and click an agent
- On the Connectors tab, assign available connectors
- Only assigned connectors’ tools will be available to that agent
Security Best Practices
| Practice | Details |
|---|---|
| Dedicated OAuth apps | Create separate OAuth apps per project, not shared |
| Minimum scopes | Request only the permissions your agent needs |
| Rotate credentials | Periodically rotate client secrets and API keys |
| Separate environments | Use different OAuth apps for dev and production |
| Monitor usage | Check token usage in provider dashboards |
Troubleshooting
OAuth Flow Not Working
- Verify redirect URI matches exactly (including trailing slash)
- Check that OAuth client ID and secret are correct
- Ensure the OAuth app is published/approved (some providers require this)
Tools Not Available
- Verify the connector is enabled (
is_enabled: true) - Check that the connector is assigned to the agent
- Ensure the user has authenticated (if
require_auth: true)
Token Expired
Tokens are automatically refreshed when possible. If refresh fails:- The user will be prompted to re-authenticate
- Check that the OAuth app’s refresh token settings are configured
Next Steps
Agents
Assign connectors to specific agents
MCP Servers
Add server-side MCP integrations
