MCP Neo4j Aura Database Instance Manager
Project description
🚀💖☁️ Neo4j Aura Database Manager MCP Server
🌟 Overview
A Model Context Protocol (MCP) server implementation that provides tools for managing Neo4j Aura database instances through the Neo4j Aura API.
This server allows you to create, monitor, and manage Neo4j Aura instances directly through Claude, making it easy to provision and maintain your graph database infrastructure.
🔑 Authentication
Authentication with the Neo4j Aura API requires:
- Client ID
- Client Secret
You can obtain these credentials from the Neo4j Aura console, see the documentation of the Aura API
Here is the API Specification
📦 Components
🔧 Tools
The server offers these core tools:
🛠️ Instance Management
-
list_instances- List all Neo4j Aura database instances
- No input required
- Returns: List of all instances with their details
-
get_instance_details- Get details for a specific instance or multiple instances by ID
- Input:
instance_ids(string or array): ID of the instance to retrieve, or array of instance IDs
- Returns: Detailed information about the instance(s)
-
get_instance_by_name- Find an instance by name
- Input:
name(string): Name of the instance to find
- Returns: Instance details if found
-
create_instance- Create a new Neo4j Aura database instance
- Input:
tenant_id(string): ID of the tenant/project where the instance will be createdname(string): Name for the new instancememory(integer): Memory allocation in GBregion(string): Region for the instance (e.g., 'us-east-1')version(string): Neo4j version (e.g., '5.15')type(string, optional): Instance type (enterprise or professional)vector_optimized(boolean, optional): Whether the instance is optimized for vector operations
- Returns: Created instance details
-
update_instance_name- Update the name of an instance
- Input:
instance_id(string): ID of the instance to updatename(string): New name for the instance
- Returns: Updated instance details
-
update_instance_memory- Update the memory allocation of an instance
- Input:
instance_id(string): ID of the instance to updatememory(integer): New memory allocation in GB
- Returns: Updated instance details
-
update_instance_vector_optimization- Update the vector optimization setting of an instance
- Input:
instance_id(string): ID of the instance to updatevector_optimized(boolean): Whether the instance should be optimized for vector operations
- Returns: Updated instance details
-
pause_instance- Pause a database instance
- Input:
instance_id(string): ID of the instance to pause
- Returns: Instance status information
-
resume_instance- Resume a paused database instance
- Input:
instance_id(string): ID of the instance to resume
- Returns: Instance status information
-
delete_instance- Delete a database instance
- Input:
tenant_id(string): ID of the tenant/project where the instance existsinstance_id(string): ID of the instance to delete
- Returns: Deletion status information
🏢 Tenant/Project Management
-
list_tenants- List all Neo4j Aura tenants/projects
- No input required
- Returns: List of all tenants with their details
-
get_tenant_details- Get details for a specific tenant/project
- Input:
tenant_id(string): ID of the tenant/project to retrieve
- Returns: Detailed information about the tenant/project
🔧 Usage with Claude Desktop
💾 Installation
pip install mcp-neo4j-aura-manager
⚙️ Configuration
Add the server to your claude_desktop_config.json:
"mcpServers": {
"neo4j-aura": {
"command": "uvx",
"args": [
"mcp-neo4j-aura-manager==0.2.1",
"--client-id",
"<your-client-id>",
"--client-secret",
"<your-client-secret>"
]
}
}
Alternatively, you can set environment variables:
"mcpServers": {
"neo4j-aura": {
"command": "uvx",
"args": [ "mcp-neo4j-aura-manager==0.2.1" ],
"env": {
"NEO4J_AURA_CLIENT_ID": "<your-client-id>",
"NEO4J_AURA_CLIENT_SECRET": "<your-client-secret>"
}
}
}
🐳 Using with Docker
"mcpServers": {
"neo4j-aura": {
"command": "docker",
"args": [
"run",
"--rm",
"-e", "NEO4J_AURA_CLIENT_ID=${NEO4J_AURA_CLIENT_ID}",
"-e", "NEO4J_AURA_CLIENT_SECRET=${NEO4J_AURA_CLIENT_SECRET}",
"mcp-neo4j-aura-manager:0.2.1"
]
}
}
📝 Usage Examples
🔍 Give overview over my tenants
🔎 Find an instance by name
📋 List instances and find paused instance
▶️ Resume paused instances
➕ Create a new instance
🚀 Development
📦 Prerequisites
- Install
uv(Universal Virtualenv):
# Using pip
pip install uv
# Using Homebrew on macOS
brew install uv
# Using cargo (Rust package manager)
cargo install uv
- Clone the repository and set up development environment:
# Clone the repository
git clone https://github.com/yourusername/mcp-neo4j-aura-manager.git
cd mcp-neo4j-aura-manager
# Create and activate virtual environment using uv
uv venv
source .venv/bin/activate # On Unix/macOS
.venv\Scripts\activate # On Windows
# Install dependencies including dev dependencies
uv pip install -e ".[dev]"
🐳 Docker
Build and run the Docker container:
# Build the image
docker build -t mcp-neo4j-aura-manager:<version> .
# Run the container
docker run -e NEO4J_AURA_CLIENT_ID="your-client-id" \
-e NEO4J_AURA_CLIENT_SECRET="your-client-secret" \
mcp-neo4j-aura-manager:<version>
📄 License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_neo4j_aura_manager-0.2.1.tar.gz.
File metadata
- Download URL: mcp_neo4j_aura_manager-0.2.1.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cc6b60e783cd16e1d75efbf0402936ae4964a96f10888181d03c17219de4fb9
|
|
| MD5 |
50832d7bdbf2681155bf103548c44ef7
|
|
| BLAKE2b-256 |
1a3c3426bfca35fef4f131684afcb7d3e7c6ac60d4820e1c2ff481f3b1bd4a54
|
File details
Details for the file mcp_neo4j_aura_manager-0.2.1-py3-none-any.whl.
File metadata
- Download URL: mcp_neo4j_aura_manager-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acc646c9ca5250e57bfd3778e31b984c1e4a9cfad02f8d4a0d0ff21a2aa02baa
|
|
| MD5 |
8b3bad79d847a8830d30239cc1b98fc9
|
|
| BLAKE2b-256 |
6a74f67eb2bac0cdfc8f3c1fd9f0c07362aeed78da57de76742599b20fdd3899
|