Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

Welcome to the User Guide for Flock Networks® MCP and its utility flockmcp.

flockmcp lets an AI assistant read the operational state of routers running the Flock Networks IP Routing Suite. It speaks the Model Context Protocol (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.

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

With flockmcp an assistant can answer questions such as:

  • Which BGP sessions are down across my routers, and since when ?
  • Why does router r1 send traffic for 198.51.100.7 that way ?
  • Do routers r1 and r2 agree on the route to 10.1.0.0/16 ?
  • What did this neighbor send us for that prefix, and what did we send it ?

flockmcp covers the System, RIB, Static and BGP components of flockd. See the Flock Networks Routing Suite User Guide for flockd itself.

  • flockmcp reads. Of its tools all but one only report state. The one that acts, a BGP neighbor reset, is off unless both flockmcp and the router are told to allow it.
  • flockmcp returns the same values flockc prints, as JSON, so an answer from an assistant can be checked against flockc on the router.
  • A routing table is returned a part at a time, so a large table cannot flood the assistant.
  • A router that is down, or that fails to answer, does not stop the assistant asking the others.

If you have any questions, suggestions or issues, please email support@flocknetworks.com.