Semantic index of C/C++ firmware built from compile_commands.json: symbol search, call graphs, hotspots and dead code detection.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add fw-context -- uvx fw-context-mcp~/.codex/config.toml
[mcp_servers.fw-context]
command = "uvx"
args = ["fw-context-mcp"]
# codex mcp add fw-context -- uvx fw-context-mcp~/.cursor/mcp.json
{
"mcpServers": {
"fw-context": {
"command": "uvx",
"args": [
"fw-context-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"fw-context": {
"type": "stdio",
"command": "uvx",
"args": [
"fw-context-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"fw-context": {
"command": "uvx",
"args": [
"fw-context-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"fw-context": {
"command": "uvx",
"args": [
"fw-context-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"fw-context": {
"command": "uvx",
"args": [
"fw-context-mcp"
]
}
}
}