Agent♥︎Age
Catalog

io.github.turbyho/fw-context-mcp

Official

by turbyho · Python

Build-aware code intelligence for embedded C/C++ firmware — libclang, FTS5, call graphs, 33 tools

fw-context provides build-aware code intelligence for embedded C/C++ firmware coding agents. It builds a persistent semantic index from compile_commands.json and the libclang AST, then exposes the resulting program structure to agents via MCP, reducing reliance on repeated file reads and text searches.

🛠️ Key Features

  • Build-aware semantic indexing from compile_commands.json and libclang AST
  • Persistent semantic index exposed through MCP
  • Program structure queries for the active build configuration
  • 33 tools

🚀 Use Cases

  • Identify which implementation is active in a given build
  • Determine who calls a specific function

⚡ Developer Benefits

  • Leverages the active build configuration for program-structure queries
  • Supports AI agent questions based on analyzed firmware structure

⚠️ Limitations

  • Focused on embedded C and C++ firmware workflows (based on available description)