Aimdb logo

Aimdb

by aimdb-dev

Inspect, query, modify, and profile live AimDB instances through MCP over Unix sockets or optional serial transport.

Install Aimdb

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://aimdb.dev/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Hosted endpointLive · TodayLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 10/29/2026, 2:18:32 PM

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://aimdb.dev/mcp

Overview

aimdb-dev/aimdb connects MCP clients to running AimDB instances for natural-language introspection, debugging, monitoring, and architecture editing. It communicates with the target through the AimDB client, using Unix domain sockets by default and optional serial/UART endpoints when built with the serial feature. Its 30 tools cover instance discovery, records, schemas, dependency graphs, buffer metrics, stage profiling, and architecture proposals. Reach for it when an agent needs to inspect embedded or hosted AimDB deployments, investigate data flow, or make controlled topology changes.

Use cases

  • Discover running AimDB instances and inspect their records
  • Debug record schemas and dependency-graph data flow
  • Read or update writable AimDB configuration records
  • Measure pipeline stage latency and buffer lag
  • Propose and validate AimDB topology changes

Key features

  • Unix-socket and optional serial/UART endpoint selection
  • Record inspection, updates, schema inference, and draining
  • Dependency-graph nodes, edges, and topological ordering
  • Stage profiling and buffer metrics
  • Architecture proposals backed by .aimdb/state.toml
  • Public mode with restricted tool exposure and endpoint pinning

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars101Stargazers on the source repository.
Last commit2d agoMost recent push to the default branch.

How Aimdb works

What aimdb-dev/aimdb does

aimdb-dev/aimdb exposes a Model Context Protocol interface for running AimDB instances. It lets an MCP client discover available instances, inspect their metadata and records, read or update writable values, infer JSON schemas, and drain buffered data for analysis.

The server also provides visibility into AimDB's dependency graph. Agents can inspect nodes, directed data-flow edges, and initialization order. Optional profiling and metrics features add per-stage timing and live buffer counters, including produced, consumed, dropped, and current occupancy values.

A separate architecture-agent capability works with .aimdb/state.toml. It can inspect the recorded architecture and create proposed schema or topology edits. Changes follow a proposal-and-resolution process rather than being applied immediately.

How it works

MCP clients communicate with the Rust executable over stdio using JSON-RPC 2.0. The executable translates tool calls through the AimDB client to a selected running instance. Unix domain sockets can be written as unix:// or uds:// URLs, and a bare socket path is also accepted.

Each instance-oriented tool accepts an optional endpoint. If that argument is absent, the server checks the startup --connect option and then AIMDB_CONNECT. This allows a deployment to pin one target while keeping endpoint selection out of individual model requests.

Serial endpoints use the form serial:///dev/ttyACM0?baud=115200. Serial support is disabled in the default build and requires the transport-serial Cargo feature.

Setup and configuration

Build the executable from the AimDB repository with Cargo:

bash
cargo build --release -p aimdb-mcp

The resulting binary is target/release/aimdb-mcp. Configure an MCP client to launch that binary as a stdio server. VS Code reads a server entry from .vscode/mcp.json; Claude Desktop uses its claude_desktop_config.json MCP server configuration.

A fixed target can be configured with either a command argument:

config.json
{
  "args": ["--connect", "unix:///tmp/aimdb-demo.sock"]
}

or an environment entry:

config.json
{
  "env": { "AIMDB_CONNECT": "unix:///tmp/aimdb-demo.sock" }
}

To enable serial transport, rebuild with --features transport-serial. The example remote-access demo can be started from examples/remote-access-demo and creates an instance at /tmp/aimdb-demo.sock.

Tools and capabilities

The server provides 30 tools in total. The main introspection and operations set includes:

  • Discovering running instances and retrieving instance information
  • Listing records and reading or writing record values
  • Inferring JSON Schema from record contents
  • Draining accumulated record values in chronological order
  • Listing dependency-graph nodes, edges, and topological order
  • Reading and resetting per-stage profiling data
  • Reading and resetting buffer metrics

Profiling reports call counts and timing statistics for named or indexed stages and identifies the highest-average-time stage. The target instance must be built with the profiling feature. Buffer metrics likewise require the target to be built with the metrics feature.

Architecture tools read and update .aimdb/state.toml, validate proposed changes, and can generate Mermaid and Rust artifacts after confirmation. Proposal, removal, and rename operations create pending changes that a later resolution step can confirm, reject, or revise.

Limitations and notes

Public mode advertises only discover_instances, list_records, and get_record. It also removes client-provided endpoints, so tools use the server-pinned --connect setting or AIMDB_CONNECT value instead of probing arbitrary host paths.

Profiling and buffer counters are unavailable unless the connected AimDB instance includes the corresponding build feature. Reset operations require write permission. Draining is destructive: it consumes values accumulated since the previous drain, and the first call starts empty.

Architecture editing is unavailable in public mode. Serial connectivity adds a Linux libudev dependency through the serial transport stack, which is why that feature is opt-in.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Aimdb

aimdb-dev/aimdb is an MCP server that connects AI clients to running AimDB instances through Unix sockets or optional serial endpoints. Its main tools discover instances, inspect and modify records, infer schemas, drain buffers, examine dependency graphs, report profiling and buffer metrics, and propose architecture changes.

Build it from the AimDB repository with `cargo build --release -p aimdb-mcp`. The executable is created at `target/release/aimdb-mcp`, which you then register as a stdio MCP server in your client configuration.

Set the target with a tool's `endpoint` argument, the `--connect` startup option, or `AIMDB_CONNECT`. Unix socket endpoints can use `unix://`, `uds://`, or a bare socket path; omitted tool arguments use the startup option before the environment variable.

Yes, it works with VS Code and Claude Desktop through stdio MCP configuration. VS Code loads an entry from `.vscode/mcp.json`, while Claude Desktop uses `claude_desktop_config.json`; both launch the compiled `aimdb-mcp` binary.

Build the server with Cargo's `transport-serial` feature, then use an endpoint such as `serial:///dev/ttyACM0?baud=115200`. Serial transport is disabled in the default build.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAimdb AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/aimdb-dev-aimdb?style=directory)](https://allmcps.com/mcp/aimdb-dev-aimdb)
HTML Embed
<a href="https://allmcps.com/mcp/aimdb-dev-aimdb"><img src="https://allmcps.com/api/badge/aimdb-dev-aimdb?style=directory" alt="Aimdb on AllMCPs" /></a>