# AiNecto MCP server

> Lets AI agents and people share project memory—documents, ERDs, diagrams, boards and mockups—through permission-checked tools.

- Repository: https://github.com/codelives/ainecto
- Page: https://hostedmcp.org/servers/codelives/ainecto
- Transport: stdio, remote
- Stars: 0
- Latest version: 0.13.1

## Install

### Claude Code

```sh
claude mcp add ainecto -- npx -y @ainecto/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "ainecto": {
      "command": "npx",
      "args": [
        "-y",
        "@ainecto/mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "ainecto": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ainecto/mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"ainecto","type":"stdio","command":"npx","args":["-y","@ainecto/mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "ainecto": {
      "command": "npx",
      "args": [
        "-y",
        "@ainecto/mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add ainecto -- npx -y @ainecto/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.ainecto]
command = "npx"
args = ["-y", "@ainecto/mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user ainecto npx -- -y @ainecto/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "ainecto": {
      "command": "npx",
      "args": [
        "-y",
        "@ainecto/mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `AINECTO_CATALOG_SYNC_TOKEN` | no | no |  |

## FAQ

### How do I set up AiNecto for Claude Code, Cursor or Codex?

Run the setup command once per machine; it signs you in through the browser and connects Claude Code, Cursor and Codex to the AiNecto server address. Each agent then signs in by itself the first time it connects.

### How are AiNecto permissions enforced for an AI agent?

What a tool may change is decided by your AiNecto permissions on the workspace, project or document it touches, and the server refuses anything else.

### Can I add AiNecto's working rules to a repository?

Yes, run the init command from the repository root; it writes .ainecto/HARNESS.md, an AGENTS.md block and a config file.

### Can I call AiNecto tools through the CLI?

Yes, list tools and call them with JSON arguments directly from the CLI, which is useful when a newly added server is not yet available in the current session.

### How do I check what is misconfigured in my AiNecto setup?

Run the doctor command; it reports what is missing and the one command that fixes each item.
