MCP allows you to give Firebender Agent your own tools to answer your queries (e.g. brave web search). You can configure MCP settings in your firebender.json file.

Using MCP in Firebender

Example: Basic MCP Configuration

In $projectRoot/firebender.json:

firebender.json
{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-brave-search"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY"
      }
    },
    "weather": {
      "command": "npx",
      "args": [
        "-y",
        "@h1deya/mcp-server-weather"
      ]
    }
  }
}