Tables such as processes, npm_packages, homebrew_packages, python_packages and vscode_extensions reveal agent installs, while the file table and JSON parsing locate and read config files. A short query pack over these tables catches most local agents and MCP configs. An open osquery proposal for an mcp_clients table shows where native support may head.
Read in this order
- Officialosquery npm_packages tableStart here: find agent CLIs installed through npm, with versions.
- Officialosquery file tableHow to locate and read agent config files on disk.
- Open sourceosquery issue 8652: proposed mcp_clients tableWhere native MCP client discovery in osquery may be going.