What is MCP?
The Model Context Protocol (MCP) is an open standard that allows AI assistants to connect to external tools and services. By connecting Beam AI via MCP, you can:- 📋 List and view your AI agents
- 🚀 Create and execute agent tasks
- 📊 Monitor task progress and get real-time updates
- ✅ Approve or reject tasks requiring user consent
- 📈 Access agent analytics and performance metrics
- 📁 Download agent context files
Prerequisites
Before connecting, you’ll need:- A Beam AI account - Sign up at app.beam.ai
- An API key - Generate one from your Beam Dashboard
- An MCP-compatible client - Such as Claude Desktop, Cursor, or another MCP client
Getting Your API Key
1
Navigate to Beam Dashboard
Go to app.beam.ai and sign in to your account
2
Open Personal Settings
Click on your workspace icon in the top left corner and select Personal settings
3
Access API Keys Section
In the settings menu, navigate to the API Keys section
4
Create New API Key
Click Create New API Key and give it a descriptive name
5
Copy Your API Key
Copy the generated API key and store it securely - you’ll need it for the connection setup
Connecting to Beam AI via MCP
Using Claude Code CLI
The easiest way to connect is using the Claude Code CLI:YOUR_API_KEY with the API key you generated in the previous step.
Manual Configuration (Claude Desktop)
If you prefer to configure manually, edit your Claude Desktop configuration file: macOS:~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Add the following configuration:
YOUR_API_KEY with your actual API key.
Verifying the Connection
After connecting, you can verify the connection is working by asking your AI assistant:Available MCP Tools
Once connected, your AI assistant will have access to the following Beam AI capabilities:User Management
getCurrentUser- Get your user profile and workspace information
Agent Management
listAgents- List all your AI agentsdownloadContextFile- Download agent context files
Agent Configuration
getAgentGraph- Get agent workflow configurationtestGraphNode- Test specific workflow nodesgetTaskNodesByTool- Find tasks using specific tools
Task Operations
createAgentTask- Create new agent taskslistAgentTasks- List all agent tasksgetTaskDetails- Get detailed task informationgetTaskUpdates- Stream real-time task updates
Task Execution Control
submitUserInput- Provide input for paused tasksapproveTaskExecution- Approve tasks requiring consentrejectTaskExecution- Reject task executionretryTaskExecution- Retry failed tasks
Analytics & Optimization
getAgentAnalytics- Get agent performance metricsrateTaskOutput- Rate task execution qualityoptimizeTool- Optimize tool configurationsgetToolOptimizationStatus- Check optimization progress
Example Usage
Here are some example commands you can use with your AI assistant once connected:Create an Agent Task
Monitor Task Progress
Get Agent Analytics
Manage Workflows
Troubleshooting
Connection Failed
If you’re unable to connect:- Verify your API key is correct - Try generating a new one
- Check your internet connection - Ensure you can reach api.beamstudio.ai
- Restart your AI assistant - Close and reopen the application
- Check the configuration file - Ensure the JSON syntax is correct
Tools Not Appearing
If the Beam AI tools don’t appear in your assistant:- Restart your AI assistant completely - Quit and relaunch
- Check the connection status - Ask “What MCP servers are connected?”
- Verify API key permissions - Ensure your API key hasn’t been revoked
API Key Issues
If you’re getting authentication errors:- Generate a new API key - Old keys may have expired
- Check for extra spaces - Ensure no whitespace in your API key
- Verify the Bearer format - Should be
Bearer YOUR_API_KEYwith a space
Security Best Practices
Rotate API Keys Regularly
Periodically generate new API keys and revoke old ones for enhanced security
Use Separate Keys
Create different API keys for different environments (development, production)
Monitor Usage
Regularly check API key usage in your Beam Dashboard
Revoke Compromised Keys
Immediately revoke any API key you suspect has been compromised
Need Help?
If you encounter any issues or have questions:- 📧 Email: [email protected]
- 💬 Discord: Join our community
- 📚 Documentation: docs.beam.ai
MCP connection enables powerful AI-to-AI integration, allowing your assistant to leverage Beam AI’s full capabilities seamlessly.