Ainecto logo

Ainecto

Connects AI clients to AI-ERD projects for document, ERD, and attachment operations through MCP and the ai-erd CLI.

Install Ainecto

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ainecto": {
      "command": "npx",
      "args": [
        "-y",
        "ai-erd@latest"
      ],
      "env": {
        "AINECTO_MCP_ENDPOINT": "YOUR_VALUE_HERE",
        "AINECTO_TOKEN": "YOUR_VALUE_HERE",
        "AINECTO_ALLOW_CUSTOM_ENDPOINT_TOKEN": "YOUR_VALUE_HERE",
        "AI_ERD_ROLE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y ai-erd@latest

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Ainecto MCP server connects AI clients to AI-ERD projects through a remote MCP endpoint and the ai-erd CLI. It exposes project discovery, document operations, ERD change application, and attachment uploads, with repository roles controlling how sessions work. Use it when an agent needs to inspect or update AI-ERD project data from a development repository. Setup uses browser authentication, repository initialization, and client-specific MCP configuration.

Use cases

  • Initialize a repository with an AI-ERD role and project
  • List AI-ERD projects from an agent session
  • Apply ERD changes from JSON input
  • Create and list project documents
  • Upload files as document attachments

Key features

  • Repository-scoped Design, Development, Test, and Validation roles
  • MCP access to AI-ERD projects
  • Document and ERD command paths
  • JSON tool calls through the ai-erd CLI
  • Attachment uploads with document registration
  • Production, development, and custom endpoint selection

Security & health

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

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 78d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · ai-erd@latest (npm)

Adoption & maintenance

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

npm downloads72Package downloads in the last 30 days.
Last commit1d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Ainecto works

What Ainecto MCP server does

The Ainecto MCP server connects an AI client or command-line workflow to the AI-ERD service. It provides access to projects and generated catalog operations, including document commands, ERD changes, and attachment handling. The package is published under the ai-erd, @ai-erd/mcp, and @ai-erd/cli names, while the executable command is ai-erd.

The Ainecto MCP server is suited to repositories where AI sessions need a defined working role: Design, Development, Test, or Validation. That role is associated with an AI-ERD project and is stored in repository configuration. Roles act as workflow guardrails rather than security boundaries.

How it works

Run npx -y ai-erd@latest init from the repository root to choose a role and project. The command can open a browser for sign-in, then writes an MCP entry for Claude Code or Cursor and prints the Codex profile to use. Agents must ask the user to choose the role; they should not select one automatically.

After initialization, CLI commands locate the repository configuration and apply its role automatically. ai-erd tools list shows available tools, while ai-erd tools call <tool> '<json>' invokes one directly. The MCP tools receive the new role only in a new client session; the CLI can continue using it immediately. A running session does not acquire an MCP server added during that session.

The default production endpoint is https://ai-erd.com/mcp. Development is available with --env dev, and an explicit endpoint can be supplied with --endpoint. Endpoint selection also supports AINECTO_MCP_ENDPOINT.

Setup and configuration

Use npx -y ai-erd@latest init --role development for noninteractive setup, or provide a project with --project <uuid>. If several projects are available, the command requires a project choice. It must run from the repository root rather than a subdirectory of a Git repository.

Authentication is performed once per machine and environment with ai-erd auth login; status and logout are also available. The CLI accepts AINECTO_TOKEN for authentication. Custom endpoints require HTTPS, except for localhost loopback URLs. A token is sent to custom endpoints only when AINECTO_ALLOW_CUSTOM_ENDPOINT_TOKEN=1 is set.

Use --dry-run to inspect repository changes and --undo to remove files written by initialization. The supported package command can be run through npx, or installed globally with npm; only one of the three equivalent packages should be installed globally.

Tools and capabilities

The Ainecto MCP server exposes its own tool names, such as list_projects and erd_apply_changes. Generated command paths include ai-erd documents list, ai-erd documents create, and ai-erd erd apply-changes. JSON files or standard input can provide array and object payloads.

Attachment uploads use ai-erd attachments upload with a document UUID and one or more local files. The command handles upload-token retrieval, the raw file upload, and attachment registration. Destructive generated commands prompt in human-readable mode and require --yes in JSON mode.

Limitations and notes

Repository roles are not security controls. MCP tools added while a client session is running are unavailable until a new session starts. Claude Code may require permission to execute the external package through npx. A client can connect without a repository role, but role-specific behavior begins after initialization and a new session.

The registry compatibility name remains io.github.codelives/ainecto, although the current commands and package documentation use ai-erd names. Tool names should be used without the client-specific prefixes that some AI clients display.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

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

Frequently Asked Questions about Ainecto

Ainecto is an MCP server that connects AI clients to the AI-ERD service. Its main tools support project listing, document operations, ERD change application, and attachment workflows. The same distribution provides the ai-erd CLI, which can authenticate users, initialize repository roles, invoke MCP tools, and upload files linked to AI-ERD documents.

Run `npx -y ai-erd@latest init` from the repository root. The command signs in through the browser if needed, asks for a role and project in interactive use, and writes client configuration for Claude Code or Cursor. You can also install one of the equivalent packages globally with npm.

Run `npx -y ai-erd@latest init --role <role>` and select or provide the project with `--project <uuid>`. Supported roles are Design, Development, Test, and Validation. The role is written into repository configuration, and CLI commands use it automatically from that repository.

Yes, Ainecto initialization writes an `ai-erd` server entry to `.cursor/mcp.json`. Run initialization from the repository root, then start a new client session so MCP tools use the newly configured repository role.

Run `ai-erd attachments upload --document-uuid <documentUuid> ./file`. You can provide one or more local files. The command obtains an upload token, performs the raw upload, and registers the attachment with the document.

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 PreviewAinecto AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ainecto?style=directory)](https://allmcps.com/mcp/ainecto)
HTML Embed
<a href="https://allmcps.com/mcp/ainecto"><img src="https://allmcps.com/api/badge/ainecto?style=directory" alt="Ainecto on AllMCPs" /></a>