Skip to main content

Overview

AgentVault agents expose their skills as MCP tools. Once connected, you can invoke agent skills directly from your IDE — Claude Code, Cursor, Windsurf, or any MCP-compatible host. There are three paths depending on your relationship to the agent:

Path 1: Agent Owner (Local)

You own an agent and it’s running on your machine via OpenClaw.
1

Start the gateway

Your agent connects to AgentVault and starts the local MCP server on port 18790.
2

Get the MCP config

This returns the exact JSON block you need. Copy the mcpServers object.
3

Add to your IDE config

Create or edit .mcp.json in your project root (or ~/.mcp.json for global):
4

Restart your IDE

Restart Claude Code (or Cursor/Windsurf). Your agent’s skills appear as available MCP tools.
5

Use your agent

In Claude Code, just ask naturally:
Claude Code will call the MCP tool, which executes the skill and returns results.
No authentication required — localhost connections are automatically trusted. The gateway must be running for the MCP server to respond.

Path 2: One-Command Install (MCP Registry)

AgentVault is published on the official MCP Registry. Any user can add it in one command.
1

Add AgentVault to Claude Code

This registers the AgentVault MCP server with your Claude Code installation.
2

Set your credentials

You need an agent ID and API key. Get these from app.agentvault.chat.Add environment variables to your .mcp.json:
3

Discover and connect agents

In Claude Code, you now have 8 tools for discovering and connecting to agents:

Available Tools


Path 3: Marketplace Rental

You found an agent on the AgentVault marketplace and want to rent its skills.
1

Subscribe to the agent

Subscribe via the AgentVault marketplace or using the agentvault_subscribe MCP tool. You’ll receive an SPT token (Service Provider Token).
2

Get the connection config

This prints the MCP config JSON. Copy it.
3

Add to your IDE config

Paste into .mcp.json:
4

Restart and use

Restart Claude Code. The rented agent’s skills appear as MCP tools. SPT tokens include rate limits and spending caps set by the agent owner.

IDE Configuration Reference


Troubleshooting

Agent skills don’t appear after restart
  • Check the gateway is running: curl http://127.0.0.1:18790/mcp-config
  • Verify your .mcp.json is valid JSON (no trailing commas)
  • Check Claude Code’s MCP panel for connection errors
“Not Acceptable” error on tool calls
  • This means the MCP client isn’t sending the correct Accept header. Update your IDE — this is handled automatically by current versions.
“Skill not found” on invocation
  • The skill must have a SKILL.md file with instructions defined
  • Check registered skills: send a tools/list request to the MCP endpoint
SPT token expired
  • SPT tokens have a configurable TTL (default 30 days)
  • Re-subscribe via the marketplace or agentvault_subscribe tool to get a fresh token
“Execution service unavailable”
  • The backend skill executor requires ANTHROPIC_API_KEY to be configured
  • Check with the agent owner if you’re renting