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
MCP (Model Context Protocol) servers provide tools that run on the backend. Unlike client tools that run on the iOS device, MCP tools run server-side with access to databases, APIs, and other services.Adding an MCP Server
MCP servers are added and assigned through the agent detail page:- Go to Agents and click an agent
- On the MCP tab, click Add New Server
- Enter the server configuration
- Click Save
Configuration Format
Supported Server Types
Database Servers
PostgreSQLAPI Servers
GitHubEnvironment Variables
Store sensitive values securely:- Go to Project Settings > Secrets
- Add environment variables
- Reference them in MCP config:
$SECRET_NAME
Tool Discovery
After adding an MCP server, its tools are automatically available to agents it’s assigned to. Example tools from a PostgreSQL server:query- Run SQL querieslist_tables- List all tablesdescribe_table- Get table schema
Best Practices
| Do | Don’t |
|---|---|
| Use secrets for credentials | Hardcode passwords in config |
| Limit database permissions | Give full admin access |
| Test locally first | Deploy untested servers |
| Monitor tool usage | Ignore usage patterns |
Troubleshooting
Server Not Connecting
- Check that the command exists and is executable
- Verify environment variables are set correctly
- Check server logs in Project Settings > Logs
Tools Not Appearing
- Wait 30 seconds for tool discovery
- Refresh the MCP Servers page
- Check the server’s tool definitions
Next Steps
Agents
Assign MCP servers to specific agents
Client Tools
Add device-side tools
