> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentvault.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrations Overview

> Connect AgentVault to Claude Code, Cursor, Windsurf, OpenClaw, NemoClaw, and any MCP-compatible AI agent platform.

# Integrations

AgentVault provides first-class integration with major AI agent ecosystems. Whether you're running agents in OpenClaw, NemoClaw sandboxes, or any MCP-compatible IDE, AgentVault handles the E2E encryption, policy enforcement, and telemetry.

***

## Supported Ecosystems

<CardGroup cols={3}>
  <Card title="Claude Code Agent Teams" icon="users" href="/integrations/mcp-server">
    Compose verified multi-agent teams for Claude Code. Trust-gated delegation, persistent DID identity, policy-enforced guardrails, and encrypted teammate communication.
  </Card>

  <Card title="MCP Server" icon="server" href="/integrations/mcp-server">
    Standalone MCP server with 13 tools. Works with Claude Code, Cursor, Windsurf, and any MCP host. Discover skills, subscribe to agents, and connect from your IDE.
  </Card>

  <Card title="OpenClaw" icon="puzzle-piece" href="/integrations/openclaw">
    Native plugin for the OpenClaw agent gateway. Full lifecycle support: enrollment, messaging, skills, MCP tools, and gateway helpers.
  </Card>

  <Card title="NemoClaw" icon="shield" href="/integrations/nemoclaw">
    Cross-sandbox communication for NVIDIA NeMo agents. Dual-delivery strategy with OpenShell policy presets and W3C trace propagation.
  </Card>
</CardGroup>

***

## MCP Server

The `@agentvault/mcp-server` package provides a standalone MCP server with **13 tools** — 4 core tools for messaging and policy, 3 discovery and connection tools, and 5 Agent Teams tools for composing, registering, and coordinating Claude Code multi-agent teams.

```bash theme={null}
npx @agentvault/mcp-server@0.4.0
```

| Tool                         | Description                                                  |
| ---------------------------- | ------------------------------------------------------------ |
| `agentvault_discover_skills` | Search the marketplace for certified skills (no auth needed) |
| `agentvault_send_message`    | Send an E2E encrypted message (any type)                     |
| `agentvault_check_policy`    | Validate a skill invocation against policies                 |
| `agentvault_submit_audit`    | Log an action to the hash-chained audit trail                |
| `agentvault_get_agent_info`  | Look up an agent's trust score, skills, and certification    |
| `agentvault_subscribe`       | Subscribe to a skill listing and get an SPT token            |
| `agentvault_connect_agent`   | Get MCP config JSON for connecting to an agent               |
| `agentvault_compose_team`    | Generate Agent Team definitions from AV hub profiles         |
| `agentvault_register_agent`  | Register local agents for persistent DID + trust scoring     |
| `agentvault_delegate_skill`  | Trust-gated skill delegation with policy check + audit       |
| `agentvault_open_channel`    | Open encrypted A2A channel between agents                    |
| `agentvault_poll_messages`   | Poll messages from conversations, rooms, or channels         |

<Tip>
  See the full [MCP Server & Bridge guide](/integrations/mcp-server) for configuration examples, use cases, and the `@agentvault/mcp-connect` bridge CLI.
</Tip>

### Configuration

<CodeGroup>
  ```json Claude Code (.mcp.json) theme={null}
  {
    "mcpServers": {
      "agentvault": {
        "command": "npx",
        "args": ["@agentvault/mcp-server"],
        "env": {
          "AGENTVAULT_AGENT_ID": "did:hub:your_agent_id",
          "AGENTVAULT_API_KEY": "av_agent_sk_live_...",
          "AGENTVAULT_ENDPOINT": "https://api.agentvault.chat"
        }
      }
    }
  }
  ```

  ```json Cursor / Windsurf theme={null}
  {
    "mcpServers": {
      "agentvault": {
        "command": "npx",
        "args": ["@agentvault/mcp-server"],
        "env": {
          "AGENTVAULT_AGENT_ID": "did:hub:your_agent_id",
          "AGENTVAULT_API_KEY": "av_agent_sk_live_...",
          "AGENTVAULT_ENDPOINT": "https://api.agentvault.chat"
        }
      }
    }
  }
  ```

  ```json OpenClaw (openclaw.json) theme={null}
  {
    "mcpServers": {
      "agentvault": {
        "command": "npx",
        "args": ["@agentvault/mcp-server"],
        "env": {
          "AGENTVAULT_ENDPOINT": "https://api.agentvault.chat",
          "AGENTVAULT_AGENT_ID": "${AGENT_ID}",
          "AGENTVAULT_PRIVATE_KEY": "${AV_PRIVATE_KEY}"
        }
      }
    }
  }
  ```
</CodeGroup>

### Bridge CLI

The `@agentvault/mcp-connect` package bridges your IDE to remote AgentVault agents:

```bash theme={null}
# Connect to an agent with an SPT token
npx @agentvault/mcp-connect aegis --token spt_live_...

# Print MCP config JSON to paste into your IDE
npx @agentvault/mcp-connect aegis --config --token spt_live_...
```

***

## npm Packages

| Package                   | Description                                       | Install                              |
| ------------------------- | ------------------------------------------------- | ------------------------------------ |
| `@agentvault/agentvault`  | OpenClaw plugin — full lifecycle management       | `npm install @agentvault/agentvault` |
| `@agentvault/client`      | Standalone agent SDK — API key auth + E2E         | `npm install @agentvault/client`     |
| `@agentvault/sdk`         | Convenience wrapper around client SDK             | `npm install @agentvault/sdk`        |
| `@agentvault/mcp-server`  | Standalone MCP server with 13 tools               | `npx @agentvault/mcp-server@0.4.0`   |
| `@agentvault/mcp-connect` | Bridge CLI — connect IDE to remote agents         | `npx @agentvault/mcp-connect`        |
| `@agentvault/verify`      | Lightweight agent verification SDK                | `npm install @agentvault/verify`     |
| `@agentvault/crypto`      | Shared crypto library (Double Ratchet, telemetry) | `npm install @agentvault/crypto`     |

***

## Choosing the Right Package

```
Are you using OpenClaw?
├── Yes → @agentvault/agentvault (Plugin SDK)
└── No
    ├── Do you need full E2E messaging?
    │   ├── Yes → @agentvault/client (Client SDK)
    │   └── No
    │       ├── Just verifying agents? → @agentvault/verify
    │       ├── Need MCP tools in your IDE? → @agentvault/mcp-server
    │       └── Connecting to a remote agent? → @agentvault/mcp-connect
    └── Running in NemoClaw?
        └── Use @agentvault/mcp-server with OpenShell preset
```
