Cover image
Try Now
2025-04-14

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.

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • MarcusAdriano
  • estudando mcp usando a api do bacen ptax

  • caio-moliveira
  • 创建该项目是为了证明我们如何与不同的模型上下文协议(MCP)连接。

    Reviews

    3 (10)
    Avatar
    user_Xlqipjai
    2025-04-26

    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.

    Avatar
    user_LnylnXBa
    2025-04-26

    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!

    Avatar
    user_fBhVXQWe
    2025-04-26

    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!

    Avatar
    user_LIHrrjxz
    2025-04-26

    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!

    Avatar
    user_FHJ98J3s
    2025-04-26

    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!

    Avatar
    user_0qYKKpgk
    2025-04-26

    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!

    Avatar
    user_wXe8cyYU
    2025-04-26

    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!

    Avatar
    user_dRgnyoSO
    2025-04-26

    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!

    Avatar
    user_Tkt8cWSo
    2025-04-26

    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!

    Avatar
    user_dDKWG7wa
    2025-04-26

    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.