New `mcp_clients` table for tracking MCP usage
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- cpp
- Domain
- operating-systems, security
Research direction
Start by reviewing how osquery's existing generic apps and programs tables represent application metadata, then inspect the listed ChatGPT, Claude Desktop, and Cursor configuration paths across their stated platforms. Done means a new mcp_client table provides common MCP client metadata and connected MCP servers through a unified cross-platform interface; the issue does not name specific files or tests.
Written by the indexing model from the issue text.
Description
Feature request
What new feature do you want?
With the advent of large-language models (LLMs) popularity, a new protocol named Model Context Protocol (MCP) has been standardized and developed for connecting data sources with these tools. We'd like a way to track usage and write policies around MCP clients on devices with osquery installed with a new OSQuery table: mcp_client. This table would include useful metadata about the particular MCP client not exposed by the existing, generic apps or programs tables such as listing currently configured MCP servers.
How is this new feature useful?
This would provide a unified, cross-platform way for organizations to better track usage of MCP clients and servers, as well as, enforce policies (outside the scope of osquery) based on what MCP clients and servers are permitted.
How can this be implemented?
1. Search for common MCP client configuration, for example:
OpenAI's ChatGPT desktop client config:
- ~/.chatgpt
Anthropic's Claude Desktop client config:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json
Anysphere's Cursor config:
- ~/.cursor/mcp.json
2. Parse the found config and provide common metadata such as connected MCP servers
- Dominant language
- C++
- Stars
- 23.8k
- Forks
- 2.7k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 69
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from osquery/osquery
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 3 days
-
usb_devices: usb_address and usb_port are wrong for bus/device numbers 8–99 on Linux (zero-padded udev values parsed as octal)Possibly taken @mjatin2007 claimed this 6 days ago. OpenLinux virtual tables
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days
-
Update the expired Slack invite link in READMEMay be free again @ayushkrsingh946 claimed this 39 days ago, and no pull request is open. Openmaintainer task
Difficulty 1/5 Under an hour Newbie friendliness 68/100
osquery/osquery#9215 · 4 comments ·
Maintainers usually reply within 3 days
-
fix(docs): debugging guide incorrectly says invalid configuration blocks daemon startupPossibly taken @nightcityblade claimed this 54 days ago. Openconfiguration documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
osquery/osquery#9143 · 1 comment ·
Maintainers usually reply within 3 days
-
scheduled_tasks.hidden returns the task's Enabled state instead of Hidden (Windows)Possibly taken @a-bonfim-tech claimed this 67 days ago. Openbug triage virtual tables Windows
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 3 days
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
[Bug]: pip install -U cudaq-qec fails with a conflict that names cudaq-qec itselfPossibly taken @fedonman claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
SparseLinearAlgebra/spla#316 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day