Overview
Thebloom-mcp package wraps any MCP (Model Context Protocol) server with Bloom’s security layer. This provides:
- Authentication for every tool call
- Tool-level permissions (allow/block specific tools)
- Audit logging of all MCP interactions
- Kill switch support
Package: bloom-mcp on NPM
Quick Start
1. Install
2. Configure Environment
3. Wrap Your MCP Server
How It Works
Claude Desktop Configuration
Add to yourclaude_desktop_config.json:
Tool-Level Permissions
Control which MCP tools your agent can use.Dashboard Configuration
- Go to Scopes
- Create or edit a scope
- Set Scope Type to “MCP”
- Configure:
- Allowed Tools:
["*"]for all, or["create_issue", "list_repos"] - Blocked Tools:
["delete_repo", "force_push"]
- Allowed Tools:
API Configuration
Permission Logic
Monitoring MCP Calls
Dashboard
Go to Activity > MCP Tools tab to see:- All tool calls with timestamps
- Allow/block status for each call
- Agent and tool name
- Latency metrics
Webhooks
Subscribe to MCP events:Supported MCP Servers
Works with any stdio-based MCP server:| Server | Package |
|---|---|
| GitHub | @modelcontextprotocol/server-github |
| Filesystem | @modelcontextprotocol/server-filesystem |
| Slack | @modelcontextprotocol/server-slack |
| Google Drive | @modelcontextprotocol/server-gdrive |
| PostgreSQL | @modelcontextprotocol/server-postgres |
| Custom | Any stdio MCP server |
CLI Commands
Environment Variables
| Variable | Required | Description |
|---|---|---|
BLOOM_API_KEY | Yes | Your organization API key |
BLOOM_AGENT_ID | Yes | The agent ID to use |
BLOOM_PROXY_URL | No | Custom proxy URL (default: iam.bloomtechnologies.app) |
Troubleshooting
Tool calls being blocked unexpectedly
Tool calls being blocked unexpectedly
- Check the agent has an MCP-type scope assigned
- Verify the tool is in
allowed_tools(orallowed_toolsis["*"]) - Verify the tool is NOT in
blocked_tools - Check Activity > MCP Tools for the denial reason
Authentication errors
Authentication errors
- Verify
BLOOM_API_KEYandBLOOM_AGENT_IDare set correctly - Check the agent exists and is active in the dashboard
- Ensure the API key hasn’t been revoked
MCP server not starting
MCP server not starting
- Check the underlying MCP server command works without bloom-mcp
- Verify all required environment variables for the MCP server are set
- Check for port conflicts if running multiple servers