← Blog

Cross-examine your network state with AI: Flock Routing Suite 26.5

Flock Routing Suite 26.5 is out, and with it a new product: flockmcp, which lets an AI assistant talk to your routers.

flockmcp

flockmcp is a Model Context Protocol (MCP) server. It speaks MCP to the assistant and gRPC to the flockd daemon on each router, so in one conversation an assistant can look at several routers and compare them. Like all Flock software, flockmcp and flockmcpd are written in Rust, so they are memory safe and fast.

AI assistant ──MCP──▶ flockmcp ──gRPC──▶ flockd on r1
                               ├───────▶ flockd on r2
                               └───────▶ flockd on ...

Instead of running flockc on each box and piecing the answers together, you ask:

> Are all the BGP sessions on r1 and r2 established ?

> What route does r1 use for 198.51.100.7, and where did it come from ?

> Do r1 and r2 agree on the route to 10.1.0.0/16 ?

> Compare the BGP routes r1 sends r2 with what r2 says it received.

The assistant picks from 19 tools covering the fleet of routers, the system, the RIB, the label RIB, static routes and BGP, including EVPN. It calls them across the set of routers and puts the answer together for you.

Even if you only have a single Flock node on your network you can still get an overview of the entire protocol state (from the perspective of the Flock node).

Getting started

Install flockmcp on any host that can reach your routers; the quick start walks through it end to end. With Claude Code, for example:

$ claude mcp add flock -- /usr/bin/flockmcp \
      --daemon r1=http://192.0.2.1:50051 \
      --daemon r2=http://192.0.2.2:50051

Any MCP client works the same way, as the MCP clients chapter shows: Codex CLI, Gemini CLI, or an open model on your own hardware with Ollama and MCPHost, so your routers’ state never leaves your network. If your assistant connects to MCP servers by URL, run flockmcpd instead. It is a long-lived service on streamable HTTP, shipped as a Debian package and as a container image at ghcr.io/flocknetworks/flockmcpd.

Built for operators

  • Read-only by default. flockmcp cannot change a router’s configuration. Its only action, a BGP neighbor reset, is refused unless both flockmcp and the router are configured to allow it, and a reset is never sent twice.
  • Answers you can check. Every answer is the same JSON that flockc --format json prints. Our test suite runs each tool against real flockd and compares the result with flockc.
  • Made for real tables. Large tables are returned a page at a time, so a full BGP table cannot flood the assistant. A router that is down does not stop the assistant asking the others.

See the flockmcp user guide for installation, every tool, and setup for each assistant. Downloads are on the demo page.

What else is new in 26.5

Software BFD. We have supported offloading BFD to the dataplane for years. Now BFD (RFC 5880, 5881, 5882) can be run in the control plane on IPv4 and IPv6, link-local included, for BGP, OSPFv2, OSPFv3 and static routes. Protocols share one session per neighbor, and settings changes apply without a reset.

IS-IS IPv6 and wide metrics. IS-IS now routes IPv6 (RFC 5308) alongside IPv4, and uses wide metrics (RFC 5305) by default. It also adds prefix attributes (RFC 7794) and RFC 8918 handling of invalid TLVs.

EVPN Type-5 through the RIB. Remote Type-5 routes now land in the VRF’s RIB as ordinary BGP routes, including IPv6 prefixes over IPv4 VTEPs.

A secure-by-default API. flockd’s gRPC API now serves reads only, unless /etc/flockd/flockd.json allows configuration changes or actions.

A new timer engine. Every protocol now runs its timers on twheel, a hierarchical timer wheel we built to replace our old timer store. Arming, cancelling and expiring a timer now takes constant time, and timers get the jitter the RFCs ask for. In our benchmarks:

OperationTimersBeforetwheelSpeed-up
Expire one-shot timers200,00037 ms4.5 ms8.3x
Expire recurring timers200,00060.6 ms8.0 ms7.5x
Reset every timer50,00018.4 ms8.2 ms2.3x
Delete every timer50,00015.3 ms0.43 ms35x

With this release’s timer work, flockd 26.5 uses roughly half the CPU that 26.4 did in our PIM scale lab (1,000 sources × 10 groups each).

Questions, or want a demo? Email info@flocknetworks.com.

Building a network device? The FIRE source code is available to license.Book a technical call