AI Autonomous Data Manager MCP
MCP server providing controlled CRUD access to a database
Byskov-Soft
README
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:
- Through the built-in web interface when running in SSE mode (http://localhost:3001)
- Using the MCP Inspector tool (https://modelcontextprotocol.io/docs/tools/inspector)
- Programmatically via the MCP server API endpoints
To export collections to PDF:
- Access the web interface when running in SSE mode
- Navigate to the desired collection and click the PDF icon
Screenshot of the collections viewer
<img src="front-end.png" width="400">
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 installto install dependencies
Run in STDIO mode
-
Copy
run-example.shtorun.shand set the correct path (to the repository directory) -
Copy
.env-exampleto.envand modify it if needed (should work as is) -
Start MongoDB using
docker-compose upor use your own Mongo instance- If using your own instance, remember to change exported
MONGO_*andRUN_MODEenvironment variables in therun.shfile accordingly
- If using your own instance, remember to change exported
-
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 upor use your own Mongo instance- If using your own instance, remember to change exported
MONGO_*andRUN_MODEenvironment variables in the.envfile accordingly
- If using your own instance, remember to change exported
-
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-descriptionServer Description: Description of the data service and its use cases. If you are an AI, fetch and read this first!
-
data://collectionsMetadata about available collections (see schema attribute)
Available tools
- add_collection_type
- add_to_collection
- get_from_collection
- delete_from_collection
- collection_summary
- get_resource_data
Details to be added later
Recommended Servers
Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
MATLAB MCP Server
Integrates MATLAB with AI to execute code, generate scripts from natural language, and access MATLAB documentation seamlessly.
Macrostrat MCP Server
Enables Claude to query comprehensive geologic data from the Macrostrat API, including geologic units, columns, minerals, and timescales through natural language.
MCP Word Counter
A Model Context Protocol server that provides tools for analyzing text documents, including counting words and characters. This server helps LLMs perform text analysis tasks by exposing simple document statistics functionality.