modelscope·@AINative-Studio/ainative-zerodb-mcp-server
暂无描述。
Enterprise-grade Model Context Protocol (MCP) server providing full access to ZeroDB's vector search, quantum compression, NoSQL operations, and persistent memory for AI agents.
npm install -g ainative-zerodb-mcp-server
npx ainative-zerodb-mcp-server
Before using the MCP server, you need a ZeroDB account and project.
Visit: https://api.ainative.studio/docs
curl -X POST 'https://api.ainative.studio/v1/public/auth/register' \
-H 'Content-Type: application/json' \
-d '{
"email": "your-email@example.com",
"password": "YourSecurePassword123!",
"username": "yourname"
}'
Response:
{
"email": "your-email@example.com",
"id": "user-uuid-here",
"username": "yourname"
}
After registration, create a project to get your PROJECT_ID:
# 1. Login to get your access token
curl -X POST 'https://api.ainative.studio/v1/public/auth/login-json' \
-H 'Content-Type: application/json' \
-d '{
"username": "your-email@example.com",
"password": "YourSecurePassword123!"
}'
Response:
{
"access_token": "eyJhbGc...",
"token_type": "bearer",
"expires_in": 1800
}
# 2. Create a project using your token
curl -X POST 'https://api.ainative.studio/v1/public/projects' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "My ZeroDB MCP Project",
"description": "Project for Claude Desktop MCP integration"
}'
Response:
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "My ZeroDB MCP Project",
"status": "ACTIVE",
...
}
Save this Project ID! You'll need it for the MCP configuration.
Add to your Claude Desktop configuration file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"zerodb": {
"command": "npx",
"args": ["ainative-zerodb-mcp-server"],
"env": {
"ZERODB_API_URL": "https://api.ainative.studio",
"ZERODB_PROJECT_ID": "your-project-id-here",
"ZERODB_USERNAME": "your-email@example.com",
"ZERODB_PASSWORD": "your-password",
"MCP_CONTEXT_WINDOW": "8192",
"MCP_RETENTION_DAYS": "30"
}
}
}
}
After saving the configuration, restart Claude Desktop to activate the MCP server.
In Claude Desktop, try:
Store a memory: "This is my first ZeroDB memory entry"
Claude will use the zerodb_store_memory tool to persist this information.
All 60 operations are organized into 9 categories. Each operation is exposed as an MCP tool that Claude can invoke.
zerodb_store_memoryStore agent memory in ZeroDB for persistent context across sessions.
Parameters:
content (string, required) - Memory content to storerole (string, required) - Message role: "user", "assistant", or "system"session_id (string, optional) - Session identifier (auto-generated if not provided)agent_id (string, optional) - Agent identifier (auto-generated if not provided)metadata (objec…