Claude Code Integration
Connect your MCP bundles to Claude Code (CLI) to use tools directly from the command line.
Requirements
- Claude Code CLI installed (get it from Anthropic)
- A bundle enabled in your MCPBundles dashboard
- Credentials connected for providers in your bundle
Time to complete: 2-3 minutes
Step-by-Step Setup
1. Get Your Bundle URL
- Log in to MCPBundles Dashboard
- Click on the bundle you want to use
- Copy the MCP Server URL
2. Add the Bundle
Use the claude mcp add
command:
claude mcp add --transport http your-bundle-name https://mcp.mcpbundles.com/bundle/YOUR-BUNDLE-ID
Replace:
your-bundle-name
- Short identifier (e.g.,marketing
)https://mcp.mcpbundles.com/bundle/YOUR-BUNDLE-ID
- Your actual bundle URL
Example:
claude mcp add --transport http marketing https://mcp.mcpbundles.com/bundle/abc123
3. Start Claude Code
Launch a Claude Code session:
claude
You'll enter an interactive session.
4. Authenticate MCP Tools
Inside the Claude Code session, type:
/mcp
This triggers the authentication flow:
- Claude Code will list available MCP servers
- Select your bundle
- Follow the OAuth/authentication prompts
- Once authenticated, tools are available
5. Verify Tools Are Available
Ask Claude:
What tools do you have access to?
Expected response:
"I have access to the following tools from your marketing bundle:
- list_campaigns
- create_contact
- send_message ..."
Using Tools in Claude Code
Once connected, Claude can use your tools when relevant.
Example Prompts
Check campaign data:
"Check my Smartlead campaigns and summarize the top 3 by reply rate"
Create contacts:
"Add John Doe (john@example.com) to HubSpot as a new contact"
GitHub operations:
"List my GitHub repos and tell me which ones have open PRs"
Claude Code will call the tools, get results, and respond.
Managing MCP Servers
List all MCP servers
claude mcp list
Remove a bundle
claude mcp remove your-bundle-name
Update a bundle URL
Remove and re-add:
claude mcp remove marketing
claude mcp add --transport http marketing https://mcp.mcpbundles.com/bundle/new-id
Troubleshooting
"Authentication required" when using tools
Cause: Credentials not connected.
Fix:
- Exit Claude Code
- Go to Dashboard → Providers
- Click Connect on needed providers
- Complete OAuth or add API key
- Restart Claude Code and run
/mcp
again
Tools don't appear after adding bundle
Cause: MCP server not initialized.
Fix:
- Exit Claude Code (
Ctrl+C
or typeexit
) - Restart:
claude
- Run
/mcp
again - Select your bundle and authenticate
"Server connection failed"
Cause: Invalid URL or bundle not enabled.
Fix:
- Verify URL is exactly as shown in dashboard
- Check bundle is enabled (Dashboard → Bundles)
- Make sure you used
--transport http
- Try removing and re-adding the bundle
"/mcp command not found"
Cause: Outdated Claude Code.
Fix:
- Update Claude Code to the latest release
- MCP support is included in current versions
Advanced Usage
Multiple Bundles
Add multiple bundles:
claude mcp add --transport http marketing https://mcp.mcpbundles.com/bundle/abc123
claude mcp add --transport http dev-tools https://mcp.mcpbundles.com/bundle/def456
claude mcp add --transport http crm https://mcp.mcpbundles.com/bundle/ghi789
All tools from all bundles will be available in Claude Code sessions.
Environment-Specific Bundles
Use different bundles for different environments:
Production:
claude mcp add --transport http prod https://mcp.mcpbundles.com/bundle/prod-id
Staging:
claude mcp remove prod
claude mcp add --transport http staging https://mcp.mcpbundles.com/bundle/staging-id
Scripting with Claude Code
You can use Claude Code in scripts:
#!/bin/bash
echo "Check campaign performance" | claude
Tools will be called automatically if relevant.
Limitations
- Interactive authentication: OAuth flows require manual interaction
- Session-based: Each new session may require re-authentication
- Network required: Tools need internet access
Tips
Naming Bundles
Use short, descriptive names:
- ✅
marketing
- ✅
dev
- ✅
crm
- ❌
my-really-long-bundle-name-2024
Testing Before Production
Test bundles in a separate session:
- Add with a test name
- Verify tools work
- Remove test bundle
- Add with production name
Next Steps
- Browse Bundles - Explore available bundles
- Connect Credentials - Set up authentication
- Troubleshooting - Fix issues
- FAQ - Common questions
Need Help?
- Not working? See Troubleshooting
- Questions? Check the FAQ
- Support: Email help@mcpbundles.com