1. Conduid
  2. Data
  3. Aerospike MCP Server
MCP server · Data

Aerospike MCP Server

Aerospike MCP Server - Model Context Protocol server for Aerospike database

Unclaimed Apache-2.0 last commit 10 months ago data
53Fair

Scored 22 hours ago · breakdown

About Aerospike MCP Server

Aerospike MCP Server is an MCP server published by dringdahl0320 in the Data category: aerospike MCP Server - Model Context Protocol server for Aerospike database.

The repository has 4 stars and 0 forks, with the last commit 10 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/dringdahl0320/aerospike-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Aerospike MCP Server

Powered by Claude · Grounded in docs

I know everything about Aerospike MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 22 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.1.0v0.1.0 - Initial Release · 8 Dec 2025Aerospike MCP Server v0.1.0 Initial public release of the Aerospike MCP Server. Features Schema Inspection List namespaces with configuration details List sets with statistics Describe namespace and set details Infer bin schemas from…

README

Aerospike MCP Server

A Model Context Protocol (MCP) server for Aerospike database, enabling AI assistants to interact with Aerospike clusters for Ad-Tech and real-time bidding applications.

Features

  • Schema Inspection: List namespaces, sets, and infer bin schemas
  • Query Operations: Get records, batch operations, secondary index queries, and scans
  • Write Operations: Put, delete, and batch write records (role-based)
  • Index Management: Create, list, and drop secondary indexes (admin role)
  • Cluster Operations: Monitor cluster health and node statistics
  • Safety Constraints: Built-in limits and confirmation requirements for destructive operations

Installation

Prerequisites

  • Go 1.21 or later
  • Access to an Aerospike cluster

Build from Source

git clone https://github.com/dringdahl0320/aerospike-mcp-server.git
cd aerospike-mcp-server
make build

Install

make install

Configuration

Create a configuration file (e.g., aerospike-mcp.json):

{
  "hosts": [{ "host": "localhost", "port": 3000 }],
  "namespace": "ad_platform",
  "user": "mcp_service",
  "password_env": "AEROSPIKE_PASSWORD",
  "tls": { "enabled": false },
  "role": "read-write",
  "timeout_ms": 1000,
  "max_retries": 2
}

Configuration Options

Option Description Default
hosts Aerospike cluster nodes localhost:3000
namespace Default namespace -
user Authentication username -
password Authentication password -
password_env Environment variable for password -
tls.enabled Enable TLS connection false
tls.ca_file CA certificate file path -
role Permission role: read-only, read-write, admin read-only
timeout_ms Operation timeout in milliseconds 1000
max_retries Maximum retry attempts 2
transport Transport protocol: stdio, sse, websocket stdio

Roles and Permissions

Role Permissions
read-only List, describe, get, query operations
read-write Read operations + put, batch_write, delete
admin All operations including index/UDF management and truncate

IDE Integration

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "aerospike": {
      "command": "aerospike-mcp-server",
      "args": ["--config", "/path/to/aerospike-mcp.json"],
      "env": { "AEROSPIKE_PASSWORD": "${AEROSPIKE_PASSWORD}" }
    }
  }
}

Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "aerospike": {
      "command": "aerospike-mcp-server",
      "args": ["--config", "/path/to/aerospike-mcp.json"]
    }
  }
}

Available Tools

Schema/Namespace Operations

  • list_namespaces - Enumerate all namespaces
  • describe_namespace - Get namespace details
  • list_sets - List sets with statistics
  • describe_set - Get set details with schema inference

Query/Read Operations

  • get_record - Retrieve a single record by key
  • batch_get - Retrieve multiple records
  • query_records - Execute secondary index query
  • scan_set - Perform set scan with sampling

Write Operations (read-write, admin roles)

  • put_record - Insert or update a record
  • delete_record - Remove a record
  • batch_write - Execute multiple writes (up to 5,000 operations per batch)
  • operate - Atomic read-modify-write operations (increment, append, prepend, touch, read)

Index Management (admin role)

  • list_indexes - List secondary indexes
  • create_index - Create a secondary index (NUMERIC, STRING, GEO2DSPHERE, BLOB)
  • drop_index - Remove a secondary index (requires confirmation)
  • truncate_set - Remove all records from a set (requires double confirmation)

UDF Management (admin role)

  • list_udfs - List all registered User-Defined Functions
  • register_udf - Register a Lua UDF module
  • remove_udf - Remove a UDF module (requires confirmation)
  • execute_udf - Execute a UDF on a single record

Cluster Operations

  • cluster_info - Get cluster topology and health
  • node_stats - Get performance metrics for nodes (memory, connections, uptime)

Security Features

Audit Logging

All operations are logged for compliance and debugging:

{
  "timestamp": "2024-01-15T10:30:00Z",
  "level": "AUDIT",
  "category": "WRITE",
  "operation": "put_record",
  "duration_ns": 1500000,
  "success": true
}

Rate Limiting

Write operations are rate-limited to protect the cluster:

{
  "audit": {
    "rate_limit_enabled": true,
    "rate_limit_rps": 100,
    "rate_limit_burst": 200
  }
}

Input Validation

  • Namespace/set/bin names validated against Aerospike limits
  • Key length validation
  • UDF code safety checks
  • Batch size limits enforced

Available Resources

URI Description
aerospike://cluster/info Cluster topology and status
aerospike://ns/{name} Namespace configuration
aerospike://ns/{name}/sets Set listing with statistics
aerospike://ns/{name}/indexes Secondary index definitions
aerospike://udfs Registered UDF modules
aerospike://schema/{ns}/{set} Inferred bin schema

Transport Protocols

stdio (Default)

Standard input/output transport for local IDE integration. Used by Windsurf, Cursor, and Claude Desktop.

{
  "transport": "stdio"
}

SSE (Server-Sent Events)

HTTP-based transport for remote/shared server deployments. Enables web clients and team environments.

{
  "transport": "sse",
  "port": 8080
}

Run the server:

./bin/aerospike-mcp-server --config examples/config.sse.json

Endpoints:

  • GET /sse - SSE connection endpoint (returns message URL in endpoint event)
  • POST /message?sessionId=<id> - Send JSON-RPC requests
  • GET /health - Health check

Development

Build

make build

Test

make test

Lint

make lint

Ad-Tech Use Cases

This MCP server is optimized for Ad-Tech operations:

  • User Profile Store: < 1ms P99 for audience segments and frequency caps
  • Bid Request Cache: < 500μs P99 for OpenRTB bid/response caching
  • Campaign Pacing: Real-time spend tracking and budget controls
  • Attribution Store: High-throughput click/conversion event streams
  • Fraud Scoring: Low-latency ML feature vector lookups

License

Apache License 2.0 - See LICENSE for details.

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting pull requests.

Support

README fetched from the repository 22 hours ago. The original is authoritative.

Questions

About Aerospike MCP Server

How do I install Aerospike MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Aerospike MCP Server safe to use with an AI agent?

Its trust score is 53 out of 100 (fair). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Aerospike MCP Server still maintained?

The last commit was 10 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.