Cap Shield MCP Server
by robinlidberg-dotio.github.robinlidberg-dot/cap-shieldv0.4.1
Context selection and compression for AI agents - recall measured, not claimed.
context tax
queued
security
queued
cold start
queued
freshness
Active4d ago
Install Cap Shield MCP server
Install in Claude Code
claude mcp add cap-shield -e CAP_SHIELD_API_KEY='<cap-shield-api-key>' -- uvx cap-shieldInstall in Cursor
{
"mcpServers": {
"cap-shield": {
"command": "uvx",
"args": [
"cap-shield"
],
"env": {
"CAP_SHIELD_API_KEY": "<cap-shield-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"cap-shield": {
"command": "uvx",
"args": [
"cap-shield"
],
"env": {
"CAP_SHIELD_API_KEY": "<cap-shield-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"cap-shield": {
"type": "stdio",
"command": "uvx",
"args": [
"cap-shield"
],
"env": {
"CAP_SHIELD_API_KEY": "<cap-shield-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"cap-shield": {
"command": "uvx",
"args": [
"cap-shield"
],
"env": {
"CAP_SHIELD_API_KEY": "<cap-shield-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CAP_SHIELD_API_KEY | — | yes | Only needed for the two tools that store and retrieve memory. measure_traffic and list_packages work without it. |
Freshness
Active — last maintenance signal 4d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-05 · 4d ago · GitHub
Latest release
2026-09-08 · 31d ago · GitHub · v0.5.0
Package published
no data · npm/PyPI
Registry entry updated
2026-08-26 · 44d ago · official registry · v0.4.1
FAQ
›How do I install the Cap Shield MCP server in Claude Code?
Run: claude mcp add cap-shield -e CAP_SHIELD_API_KEY='<cap-shield-api-key>' -- uvx cap-shield. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Cap Shield require an API key?
Yes. It expects CAP_SHIELD_API_KEY, of which 1 is a secret.
›Can I use Cap Shield as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Cap Shield in the official MCP registry?
Yes, as io.github.robinlidberg-dot/cap-shield.