Cover image
Try Now
2025-04-11

MCP服务器可提供受控的CRUD访问数据库

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

AI Autonomous Data Manager MCP

About

The AI Autonomous Data Manager is a specialized data management system designed to give AI agents (like those in Cursor, Cline, or other AI-enabled editors) autonomous control over dynamically structured data collections. It enables AI assistants to maintain persistent memory across conversations, organize information, and manage data without human intervention.

The server was created as an excercise to learn about MCP servers. How useful it is remains to be seen. It is provided as-is under the MIT license.

Key features:

  • AI-driven collection creation with automatic schema validation
  • Autonomous CRUD operations by AI agents
  • Persistent data storage that survives across chat sessions
  • Support for both STDIO and SSE (Server-Sent Events) modes

The system empowers AI agents to do things like:

  • Build and maintain knowledge bases during conversations
  • Track projects and tasks autonomously
  • Organize learning content and generate quizzes
  • Persist important information for future reference

Viewing and Monitoring Collections

While the AI agents interact with collections programmatically, humans can monitor and inspect the data through:

  1. Through the built-in web interface when running in SSE mode (http://localhost:3001)
  2. Using the MCP Inspector tool (https://modelcontextprotocol.io/docs/tools/inspector)
  3. Programmatically via the MCP server API endpoints

To export collections to PDF:

  1. Access the web interface when running in SSE mode
  2. Navigate to the desired collection and click the PDF icon

Screenshot of the collections viewer

Getting started

  • Make sure you have Node and NPM installed

    • Development was done using Node version 22.14.0, but other versions will probably work
  • Run npm install to install dependencies

Run in STDIO mode

  • Copy run-example.sh to run.sh and set the correct path (to the repository directory)

  • Copy .env-example to .env and modify it if needed (should work as is)

  • Start MongoDB using docker-compose up or use your own Mongo instance

    • If using your own instance, remember to change exported MONGO_* and RUN_MODE environment variables in the run.sh file accordingly
  • Configure your editor/tool to use the MCP server

    Cursor editor example (mpc.json):

     {
         "mcpServers": {
             "data_service": {
                 // Same repository path as mentioned above
                 "command": "/<path>/run.sh",
                 "args": []
             }
         }
     }
    

Run in SSE mode

Note: Running in SSE mode seems sketchy at times. While it works fine for the MCP Inspector tool. The server has sometimes crashed when Cursor or Cline was the client. So some improvements should be made to make SSE mode a bit sturdier.

  • Start MongoDB using docker-compose up or use your own Mongo instance

    • If using your own instance, remember to change exported MONGO_* and RUN_MODE environment variables in the .env file accordingly
  • Start the server: npm start

  • Configure your editor/tool to use the MCP server

    Cursor editor example (mpc.json):

     {
         "mcpServers": {
             "data_service": {
                 "url": "http://localhost:3001/sse",
             }
         }
     }
    

Available resources

  • data://server-description

    Server Description: Description of the data service and its use cases. If you are an AI, fetch and read this first!

  • data://collections

    Metadata about available collections (see schema attribute)

Available tools

  • add_collection_type
  • add_batch_to_collection
  • get_from_collection
  • delete_from_collection
  • collection_summary
  • get_resource_data

Details to be added later

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • HiveNexus
  • 一个适用于中小型团队的AI聊天机器人,支持DeepSeek,Open AI,Claude和Gemini等车型。 专为中小团队设计的ai聊天应用,支持deepSeek,打开ai,claude,双子座等模型。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

    Reviews

    2 (1)
    Avatar
    user_110aeRaj
    2025-04-17

    I've been using Byskov-Soft's Autonomous Data Manager and it's simply fantastic! It automates data management tasks seamlessly, saving me a lot of time and effort. The user-friendly interface and robust functionality are the highlights for me. Highly recommend checking it out on GitHub if you're looking to streamline your data processes!