
光标-MCP-Collector
3 years
Works with Finder
1
Github Watches
0
Github Forks
1
Github Stars
Cursor MCP Collector
A script to automatically collect and process Cursor's mcp.json
configuration files from all workspaces. The script can either package the files into a zip archive or send them directly to a Splunk HTTP Event Collector (HEC).
Features
- Automatically discovers all Cursor workspaces
- Collects both global and workspace-specific
mcp.json
files - Two operation modes:
- Zip collection: Packages all found files into a zip archive
- Splunk integration: Sends files directly to Splunk HEC
Prerequisites
- Bash shell
-
curl
(for Splunk integration) -
zip
(for zip collection mode)
Configuration
Edit the following settings at the top of the script:
# Splunk settings
SPLUNK_ENABLED=true # Set to false to disable Splunk integration
SPLUNK_URL="https://hec.example.com:8088"
SPLUNK_TOKEN="your-auth-token"
SPLUNK_INDEX="your-index"
SPLUNK_SOURCETYPE="your-sourcetype"
Operation Modes
Zip Collection Mode
When SPLUNK_ENABLED=false
:
- Creates a temporary directory
- Collects all
mcp.json
files - Packages them into
/tmp/collected_mcp.zip
- Cleans up temporary files
Splunk Integration Mode
When SPLUNK_ENABLED=true
:
- Discovers all
mcp.json
files - Sends each file directly to Splunk HEC
- Includes workspace information in the event data
- No temporary files or zip archive created
For more details about manual collection, see manual-collection.md.
相关推荐
Reviews

user_Xlqipjai
The cursor-mcp-collector by TowelDude is an outstanding tool! Its seamless integration and user-friendly interface make it an essential for any MCP application user. The efficiency and precision in data collection have significantly boosted my productivity. Highly recommend for anyone looking to optimize their workflow.

user_LnylnXBa
The cursor-mcp-collector by TowelDude is an outstanding tool for managing cursor data efficiently. Its user-friendly interface and smooth performance make it a must-have for anyone who needs to track cursor activity for UX research or software testing. Highly recommend giving it a try!

user_fBhVXQWe
The cursor-mcp-collector by TowelDude is an exceptional tool for MCP applications. Its seamless integration and user-friendly interface make it an invaluable addition to my workflow. The efficient data collection and processing capabilities ensure that all necessary information is captured accurately and promptly. Highly recommended for anyone looking to enhance their MCP application experience!

user_LIHrrjxz
cursor-mcp-collector by TowelDude is a fantastic tool for efficiently gathering and managing data from various sources. As an avid user, I am impressed with its seamless integration and user-friendly interface. It has significantly streamlined my workflow, making data collection a breeze. Highly recommended for anyone in need of a reliable and effective data collector!

user_FHJ98J3s
The cursor-mcp-collector by TowelDude is an exceptional tool for data collection. Its intuitive design and user-friendly interface make it easy to navigate and utilize effectively. Highly recommended for anyone needing an efficient and reliable data collection solution!

user_0qYKKpgk
The cursor-mcp-collector by TowelDude is an exceptional tool for managing and collecting cursor data efficiently. It's user-friendly and integrates seamlessly into my workflow, making the process much smoother. Highly recommended for anyone needing a reliable cursor management solution!

user_wXe8cyYU
The Cursor-MCP-Collector by TowelDude is a phenomenal tool that seamlessly integrates into my workflow. Its efficiency in gathering data and ease of use is unparalleled. It's become an essential part of my daily routine. Highly recommended for anyone looking to streamline their data collection process!

user_dRgnyoSO
The cursor-mcp-collector by TowelDude is an exceptional tool for managing data collection efficiently. It provides a seamless experience with its intuitive interface and reliable performance. Highly recommended for anyone looking to streamline their data processes!

user_Tkt8cWSo
Cursor-mcp-collector by TowelDude is a fantastic tool for MCP applications. Its seamless integration and user-friendly interface make it a must-have for anyone looking to efficiently manage and collect MCP data. Highly recommend for anyone in the field!

user_dDKWG7wa
As a dedicated MCP user, I can affirm that the cursor-mcp-collector by TowelDude is an exceptional tool. Its seamless integration and user-friendly interface make collecting MCP data incredibly efficient. The clear welcome message and helpful starting URL ensure a smooth onboarding experience. Highly recommended for anyone looking to optimize their MCP application usage.