Server facts
bagel MCP Server
GitHub stars
408
Last commit
Nov 17, 2026
Runtime
python
License
Apache-2.0
Project
- Author
- Extelligence
- Repository
- github.com/Extelligence-ai/bagel
- Website
- www.trybagel.com
- License
- Apache-2.0
- Category
- Developer Tools
Tech
- Runtime
- python
- Transports
- stdiostreamable-httpsse
- Remote access
- No
- Authentication
- None (local stdio / localhost-only Docker endpoint)
Activity
- GitHub stars
- 408
- Last commit
- Data as of
Tags
- mcap
- px4
- robotics
- ros1
- ros2
Overview
Robotics, drone, and IoT engineers looking for `bagel mcp` can connect Claude Code, Cursor, Claude Desktop, Codex, Gemini CLI, or fully offline Ollama models (`uvx ollmcp`) to telemetry recordings through `Extelligence-ai/bagel` (PyPI `bagel-mcp`, Apache-2.0). For recorded files—ROS 1 `.bag` and ROS 2 `.db3` via pure-Python `rosbags` (no ROS install needed), MCAP, PX4 `.ulg`, ArduPilot `.bin`, Betaflight `.bbl`/`.bfl`, CAN/MDF4, CSV/JSON/Parquet, ROS text logs, and live MQTT—install modular format extras via `uvx` or `pip` on Python 3.10–3.12 and launch `bagel-mcp` over `stdio` (for example with the `ros` extra in Claude Code or JSON clients). Live ROS robots (`rosbridge`), fleet batching, and standing edge pipelines run in Docker Compose (`ros2-kilted` multi-arch `arm64`/`amd64`, plus `ros2-jazzy`, `ros2-humble`, `ros1-noetic`, `px4`, `ardupilot`, `betaflight`, `iot`), exposing localhost-only HTTP (`http://localhost:8000/mcp`) and SSE (`http://localhost:8000/sse`).
Rather than trusting black-box LLM math, Bagel exports relevant topic messages to Apache Arrow and generates deterministic DuckDB SQL queries shown inline for human audit. Beyond ad-hoc triage, natural-language edge reduction pipelines preview event windows before slicing large logs or uploading to S3/GCS/Azure, export to PlotJuggler, Lichtblick, Rerun, or LeRobot (beta), and extend without rebuilds through user-saved POML capabilities (`list_agent_capabilities`, `save_agent_capability`, `run_poml_capability`) stored in `~/.bagel/capabilities/`.
Install & configure
Requirements
- Python 3.10–3.12 with `uv` / `uvx` or `pip` (`bagel-mcp` plus modular extras like `ros`, `px4`, `ardupilot`, `betaflight`, `automotive`, `iot`, `viz`, `upload`, `cloudini`)
- Native `arm64` Python on Apple Silicon Macs (Intel macOS pip builds can fail compiling `cryptography` 49; use Docker on Intel Macs)
- Docker Desktop / Docker Engine for live `rosbridge` robots, fleet pipelines, or distro-specific ROS containers (`ros2-kilted` is multi-arch; other images are `amd64`)
claude mcp add bagel -- uvx --from "bagel-mcp[ros]" bagel-mcp --transport stdioFor recorded bags without Docker, run `claude mcp add bagel -- uvx --from "bagel-mcp[ros]" bagel-mcp --transport stdio` (combine extras such as `ros,px4,automotive`), or add the matching `uvx` JSON block in Claude Desktop or Cursor. For live ROS/edge Docker containers, start `docker compose run --service-ports ros2-kilted` and connect to `http://localhost:8000/mcp` or `http://localhost:8000/sse`.
Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"bagel": {
"command": "uvx",
"args": [
"--from",
"bagel-mcp[ros]",
"bagel-mcp",
"--transport",
"stdio"
]
}
}
}Config file · Project: .cursor/mcp.json
User: ~/.cursor/mcp.json
The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"bagel": {
"command": "uvx",
"args": [
"--from",
"bagel-mcp[ros]",
"bagel-mcp",
"--transport",
"stdio"
]
}
}
}Config file · Workspace: .vscode/mcp.json
For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.
{
"servers": {
"bagel": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"bagel-mcp[ros]",
"bagel-mcp",
"--transport",
"stdio"
]
}
}
}Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"bagel": {
"command": "uvx",
"args": [
"--from",
"bagel-mcp[ros]",
"bagel-mcp",
"--transport",
"stdio"
]
}
}
}Config file · Project scope: .mcp.json at the repository root
The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.
{
"mcpServers": {
"bagel": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"bagel-mcp[ros]",
"bagel-mcp",
"--transport",
"stdio"
]
}
}
}Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.
Tools
Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.
| Tool | What it does |
|---|---|
| list_agent_capabilities | Discover built-in workflows and custom user POML capabilities stored under ~/.bagel/capabilities/ across any MCP client. |
| save_agent_capability | Persist a repeatable conversation workflow as a reusable user capability in ~/.bagel/capabilities/ without rebuilding. |
| run_poml_capability | Execute a structured POML or markdown capability file against a target ROS bag, flight log, or telemetry source. |
| preview_anomalies | Dry-run the beta Jev anomaly-detection gate against recorded telemetry logs before slicing or uploading windows. |
| write_topics_to_file | Persist flagged topic windows as Parquet files during live telemetry subscriptions. |
Use cases
- Audit ROS 1/2 bags, MCAP logs, and PX4/ArduPilot/Betaflight telemetry using natural-language prompts translated into inspectable DuckDB SQL queries.
- Build natural-language event-driven data reduction pipelines that preview detected events and retain only tight windows around hard decelerations or faults.
- Export curated telemetry windows directly into PlotJuggler, Lichtblick/Foxglove, Rerun, or LeRobot (beta) datasets and upload slices to S3, GCS, or Azure.
- Capture recurring fleet triage checks as reusable POML files via `save_agent_capability` and run them across bags or fully offline with Ollama.
Strengths
- Computes metrics through deterministic, inspectable DuckDB SQL over Apache Arrow rather than error-prone LLM arithmetic.
- Reads ROS 1 `.bag`, ROS 2 `.db3`, MCAP, PX4, ArduPilot, Betaflight, CAN/MDF4, and MQTT via modular `uvx`/`pip` extras without needing a local ROS install.
- Supports both local `stdio` clients (Claude Code, Cursor, Claude Desktop, Codex) and containerized HTTP/SSE deployments including offline Ollama setups.
- Extensible at runtime via markdown or POML capability files under `~/.bagel/capabilities/` and ships a no-LLM `demo` container check.
Limitations
- Automotive MDF4/CAN readers, LeRobot exports, and the Jev anomaly gate remain beta with documented caveats.
- Docker MCP HTTP/SSE endpoints carry no built-in authentication and bind to localhost only unless fronted by an authenticated proxy.
- Intel Macs can fail pip installs due to upstream `cryptography` 49 wheel removal (requiring Docker), and small 4–8B local models struggle with multi-topic joins.
bagel setup notes
- bagel's example uses stdio, while its catalog transports are stdio / streamable-http / sse; use the example's connection type.