By sunilp
Adds AIP-signed identity to Claude Code MCP tool calls. Wraps an upstream MCP server with Ed25519-signed JWT tokens for verifiable tool-call provenance.
Generate or display the AIP Ed25519 identity keypair for this Claude Code installation.
Show AIP plugin identity state, configured upstream, and audit entry count.
Tail the AIP audit log. Pass --n=<count> for the last N entries (default 20).
This plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
Admin access level
Server config contains admin-level keywords
Requires secrets
Needs API keys or credentials to function
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
scopeAIP scope claim attached to outgoing tokens. Defaults to 'tool:*'.
${user_config.scope}upstreamUrlURL of the upstream HTTP MCP server to wrap. Required.
${user_config.upstreamUrl}tokenTtlSecondsToken lifetime in seconds. Defaults to 300.
${user_config.tokenTtlSeconds}A Claude Code plugin that adds AIP-signed identity to outgoing MCP tool calls.
Wraps a single upstream HTTP MCP server with an Ed25519-signed JWT (CompactToken). Every tool call Claude makes through the proxy carries a verifiable identity claim that upstream services and policy proxies (like AIP Gateway) can verify, scope-check, and audit.
Claude Code aip-proxy (this plugin) Upstream MCP server
─────────── ─────────────────────── ──────────────────
│ │ │
│ tools/call │ │
├───────────────────────────▶│ │
│ │ HTTP POST + Authorization: │
│ │ Bearer <AIP CompactToken> │
│ ├─────────────────────────────▶│
│ │ │ Verify token
│ │ │ Check scope
│ │ │ Audit ✓
│ │ 200 OK │
│ │◀─────────────────────────────┤
│ result │ │
│◀───────────────────────────┤ │
The primary install path is the Claude Code marketplace, not npm:
claude plugin marketplace add sunilp/aip-claude-code
claude plugin install aip-claude-code@aip-claude-code
Configure on first run with the upstream MCP URL:
claude plugin config aip-claude-code upstreamUrl=https://your-mcp.example.com/mcp
Optional: tighten scope and TTL.
claude plugin config aip-claude-code scope=tool:search,tool:read tokenTtlSeconds=120
The npm package exists for distribution and version pinning. It is not a standalone Node library; the binaries require Claude Code's plugin runtime to set up environment variables.
/aip:keygen
Copy the printed publicKey (z-prefixed multibase) and add it to your upstream MCP server's or AIP Gateway's trust list.
Once installed, an mcp__aip-proxy__aip_forward tool is available in your sessions. Claude can call upstream tools through it; each call carries an AIP token. The plugin's aip-tool-auth skill explains usage.
/aip:status # identity + audit entry count
/aip:audit # tail the audit log (last 20)
/aip:audit --n=100
Audit log lives at ${CLAUDE_PLUGIN_DATA}/audit.jsonl.
| Layer | Where it runs |
|---|---|
| MCP stdio server | bin/aip-mcp-proxy.mjs (spawned by Claude Code) |
| Sign + forward | Per tool call, signed CompactToken (EdDSA) attached as Authorization: Bearer |
| Audit hooks | PreToolUse + PostToolUse, JSONL append |
| Slash commands | bin/aip-cli.mjs invoked by /aip:* |
{
"iss": "aip:key:ed25519:<your-multibase-pubkey>",
"sub": "https://upstream.example.com/mcp",
"scope": ["tool:*"],
"max_depth": 0,
"iat": 1714000000,
"exp": 1714000300
}
Signed with EdDSA. Verifiable by anyone holding your multibase public key.
git clone https://github.com/sunilp/aip-claude-code
cd aip-claude-code
npm install
npm test # 27 tests across identity, audit log, sign, proxy, hooks, CLI, e2e
npm run build # produces bin/*.mjs
Apache-2.0
npx claudepluginhub sunilp/aip-claude-code --plugin aip-claude-codeMemory compression system for Claude Code - persist context across sessions
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns