Home / Workflows / Call an external API through the vault
Agent Identity Opsintermediate3-step workflow~18 min

Call an external API through the vault

Store an API credential in the vault, call an external endpoint using it, then delete the credential once the task is done.

Workflow

Step 1 of 3

Vault Store

Store the external API's credential under the agent's handle.

vault_store({"handle": "my-agent", "name": "example", "value": {}})
Step 2 of 3

Vault Call Api

Call the external API using the stored credential, never exposing it in the prompt.

vault_call_api({"handle": "my-agent", "method": "GET", "url": "https://example.com", "auth": {}})
Step 3 of 3

Vault Delete

Delete the credential once the task no longer needs it.

vault_delete({"handle": "my-agent", "name": "example"})

Install

One command wires up every tool below for Claude Code:

claude mcp add --transport http wingman https://wingmanprotocol.com/mcp

Claude Desktop, Cursor and Continue configs are on /install. A free key (500 calls/month, no card) is on /pricing; beyond that it is x402 pay-per-call in USDC on Base.