🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@agentkeys-io/mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentkeys-io/mcp

MCP server for managing credentials and agents through AgentKeys

latest
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

@agentkeys-io/mcp

An MCP (Model Context Protocol) server that lets AI agents manage credentials and make proxied API calls through AgentKeys.

Store API keys in AgentKeys and let your agent use them safely through the proxy — without ever seeing the raw secrets.

Quick Start

AGENTKEYS_API_KEY=ak_ws_xxxx npx @agentkeys-io/mcp

Get your workspace API key from app.agentkeys.io/settings.

Configuration

Environment VariableRequiredDefaultDescription
AGENTKEYS_API_KEY✅ YesWorkspace API key (starts with ak_ws_)
AGENTKEYS_URLNohttps://app.agentkeys.ioAgentKeys web app URL
AGENTKEYS_PROXY_URLNohttps://proxy.agentkeys.ioAgentKeys proxy URL

MCP Client Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "agentkeys": {
      "command": "npx",
      "args": ["@agentkeys-io/mcp"],
      "env": {
        "AGENTKEYS_API_KEY": "ak_ws_your_key_here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "agentkeys": {
      "command": "npx",
      "args": ["@agentkeys-io/mcp"],
      "env": {
        "AGENTKEYS_API_KEY": "ak_ws_your_key_here"
      }
    }
  }
}

Windsurf / Cline

Same config format — add to your MCP settings:

{
  "mcpServers": {
    "agentkeys": {
      "command": "npx",
      "args": ["@agentkeys-io/mcp"],
      "env": {
        "AGENTKEYS_API_KEY": "ak_ws_your_key_here"
      }
    }
  }
}

Available Tools

Credential Management

list_credentials

List all credentials stored in the workspace.

create_credential

Create a new credential in the workspace.

ParameterTypeRequiredDescription
namestringUnique name for this credential
typestringAPI_KEY | BASIC_AUTH | CUSTOM_HEADER | QUERY_PARAM | COOKIE
valuestringFor API_KEYThe secret value
providerstringNoProvider name (e.g. stripe, resend, github)
baseUrlstringNoProvider API base URL (e.g. https://api.resend.com)

delete_credential

Delete a credential by ID. Also revokes all associated proxy tokens.

Agent Management

list_agents

List all agents in the workspace.

create_agent

Create a new agent identity.

ParameterTypeRequiredDescription
namestringAgent name (e.g. marketing-bot)
descriptionstringNoWhat this agent does

assign_credential

Assign a credential to an agent. Returns a proxy token.

⚠️ The proxy token is shown once — store it securely.

Proxy Requests

proxy_request

Make an API call through the AgentKeys proxy.

ParameterTypeRequiredDescription
proxyTokenstringProxy token (starts with pxr_)
urlstringTarget URL (e.g. https://api.resend.com/emails)
methodstringNoHTTP method (default: GET)
headersobjectNoAdditional request headers
bodystringNoJSON string body

Typical Workflow

1. list_credentials          → see what's available
2. create_agent              → create agent for this task
3. assign_credential         → get proxy token
4. proxy_request             → call API using proxy token

FAQs

Package last updated on 19 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts