Skip to content
Back to skills

3052 Bee Bd521c8a

ASecurity

The Bee Agent Framework is an open-source platform developed by IBM for building, deploying, and managing AI agents at scale. Integrating Bee with the Model Context Protocol (MCP) allows agents to dynamically discover and utilize tools hosted on MCP servers, enhancing their capabilities and flexibility. ---

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 1, 2026
ai-agentsjavascriptjavabashnodegitdocumentation

Works with

  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 1, 2026

npx -y skills add tools-only/X-Skills --skill 3052-bee_bd521c8a --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 3052 Bee Bd521c8a?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 3052 Bee Bd521c8a
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-3052-bee-bd521c8a/badge)](https://www.skillsdirectory.com/skills/tools-only-3052-bee-bd521c8a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Bee Agent Framework Integration with ContextForge

The Bee Agent Framework is an open-source platform developed by IBM for building, deploying, and managing AI agents at scale. Integrating Bee with the Model Context Protocol (MCP) allows agents to dynamically discover and utilize tools hosted on MCP servers, enhancing their capabilities and flexibility.

---

## 🧰 Key Features

- **Dynamic Tool Discovery**: Agents can fetch available tools from MCP servers in real-time.
- **Standardized Communication**: Utilizes the open MCP standard for consistent tool integration.
- **Multi-Server Support**: Interact with tools defined on multiple MCP servers simultaneously.
- **Human-in-the-Loop**: Incorporate human feedback into agent workflows for improved decision-making.

---

## πŸ›  Installation

To use MCP tools in the Bee Agent Framework, follow these steps:

1. **Clone the Bee Agent Framework Repository**:

   ```bash
   git clone https://github.com/i-am-bee/bee-agent-framework.git
   cd bee-agent-framework
```

2. **Install Dependencies**:

   ```bash
   yarn install
   ```

3. **Set Up the Environment**:

   Ensure you have Node.js and Yarn installed. You may also need to set environment variables for your MCP server:

   ```bash
   export MCP_GATEWAY_BASE_URL=http://localhost:4444
   export MCP_AUTH="Bearer <your_bearer_token>"
   ```

---

## πŸ”— Connecting to ContextForge

Bee provides a native `MCPTool` class to simplify integration with MCP servers. Here's how to set it up:

1. **Import the MCPTool Class**:

   ```javascript
   import { MCPTool } from 'bee-agent-framework/tools/mcp';
   ```

2. **Configure the MCPTool**:

   ```javascript
   const mcpTool = new MCPTool({
     baseUrl: process.env.MCP_GATEWAY_BASE_URL,
     auth: {
       username: process.env.MCP_AUTH_USER,
       password: process.env.MCP_AUTH_PASS,
     },
   });
   ```

3. **Register the Tool with Your Agent**:

   ```javascript
   agent.registerTool(mcpTool);
   ```

This setup allows your Bee agent to discover and invoke tools from the specified MCP server dynamically.

---

## πŸ€– Creating an Agent

After setting up the MCPTool, you can create a Bee agent:

```javascript
import { Agent } from 'bee-agent-framework';

const agent = new Agent({
  name: 'Data Analyst',
  tools: [mcpTool],
});
```

---

## πŸ§ͺ Using the Agent

Once the agent is created, you can assign tasks and execute them:

```javascript
agent.runTask('Generate a sales report for Q1 2025');
```

The agent will utilize tools from the MCP server to accomplish the task.

---

## πŸ“š Additional Resources

* [Bee Agent Framework Documentation](https://i-am-bee.github.io/beeai-framework/#/)
* [Bee Agent Framework GitHub Repository](https://github.com/i-am-bee/bee-agent-framework)
* [Model Context Protocol Overview](https://modelcontextprotocol.io/)

---

Files in this skill

  • README.md781 B
  • skill.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.