bee

bee is an agent for coding agents from jrmatherly/mcp-context-forge. It costs 0 tokens per session (652 once invoked), scanned A, a copy of bee, Apache-2.0.

An integration between IBM's Bee Agent Framework and MCP, a standard way for AI agents to find and use external tools.

In plain words
What is it for?
It is for building Bee-based agents that use tools from one or more MCP servers and can include human feedback.
Why use it?
It lets Bee agents discover tools from MCP servers instead of connecting to each tool through a separate custom integration.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/jrmatherly/mcp-context-forge/bee
Clone the repo
git clone --depth 1 https://github.com/jrmatherly/mcp-context-forge

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bee

README.md
[![agentmods](https://agentmods.dev/badge/agents/jrmatherly/mcp-context-forge/bee.svg)](https://agentmods.dev/agents/jrmatherly/mcp-context-forge/bee)
Your own site
<a href="https://agentmods.dev/agents/jrmatherly/mcp-context-forge/bee"><img src="https://agentmods.dev/badge/agents/jrmatherly/mcp-context-forge/bee.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 652 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00652
Opus 5 $0.00000 $0.00326
Sonnet 5 $0.00000 $0.00130
Haiku 4.5 $0.00000 $0.00065

Measured yesterday against content hash 1a8c033ee93c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bee scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to bee — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

docs/docs/using/agents/bee.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bee Agent Framework Integration with MCP Gateway

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:

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

2. **Install Dependencies**:

   ```bash
   yarn install
  1. Set Up the Environment:

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

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

🔗 Connecting to MCP Gateway

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

  1. Import the MCPTool Class:

    import { MCPTool } from 'bee-agent-framework/tools/mcp';
    
  2. Configure the MCPTool:

    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:

    agent.registerTool(mcpTool);
    

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

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 110 lines · 0 tokens per session scan A 1a8c033ee93c

Subscribe to this mod's changes

bee is an agent published in the GitHub repository jrmatherly/mcp-context-forge (0 stars, last pushed 6mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 652 tokens. A static security scan graded it A with 0 findings. It is 94% identical to bee, differing in 4 lines, and is treated as a copy.