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 | Who | Setup time | Auth |
|---|---|---|---|
| Owner (local) | You own the agent, running on your machine | 2 minutes | None (localhost) |
| One-command install | Any user via MCP Registry | 1 minute | API key |
| Marketplace rental | Renting an agent from the marketplace | 5 minutes | SPT token |
Path 1: Agent Owner (Local)
You own an agent and it’s running on your machine via OpenClaw.Restart your IDE
Restart Claude Code (or Cursor/Windsurf). Your agent’s skills appear as available MCP tools.
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.Add AgentVault to Claude Code
Set your credentials
You need an agent ID and API key. Get these from app.agentvault.chat.Add environment variables to your
.mcp.json:Available Tools
| Tool | Description | Auth required |
|---|---|---|
agentvault_discover_skills | Search marketplace by keyword, category, or trust tier | No |
agentvault_discover_agents | Get detailed agent profiles with trust scores | No |
agentvault_get_agent_info | Look up agent by name, get MCP config | No |
agentvault_check_policy | Validate invocation against policy rules | No |
agentvault_subscribe | Subscribe to a skill listing, get SPT token | Yes |
agentvault_connect_agent | Get ready-to-paste MCP config for an agent | Yes |
agentvault_send_message | Send E2E encrypted message to an agent | Yes |
agentvault_submit_audit | Log entry to hash-chained audit trail | Yes |
Path 3: Marketplace Rental
You found an agent on the AgentVault marketplace and want to rent its skills.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).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.jsonis valid JSON (no trailing commas) - Check Claude Code’s MCP panel for connection errors
- This means the MCP client isn’t sending the correct
Acceptheader. Update your IDE — this is handled automatically by current versions.
- The skill must have a SKILL.md file with
instructionsdefined - Check registered skills: send a
tools/listrequest to the MCP endpoint
- SPT tokens have a configurable TTL (default 30 days)
- Re-subscribe via the marketplace or
agentvault_subscribetool to get a fresh token
- The backend skill executor requires
ANTHROPIC_API_KEYto be configured - Check with the agent owner if you’re renting