io.github.robinlidberg-dot/cap-shield
Context selection and compression for AI agents - recall measured, not claimed.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/robinlidberg-dot/cap-shield-mcp
- Website
- cap-shield-robin.fly.dev/
- Server address
https://cap-shield-robin.fly.dev/mcp(streamable-http)- Version
- 0.7.6
- Author
- robinlidberg-dot (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 26, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
The server optionally accepts a header: Authorization. Replace YOUR_KEY with your key.
Variables to fill in: CAP_SHIELD_API_KEY.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http cap-shield https://cap-shield-robin.fly.dev/mcp \
--header "Authorization: Bearer YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://cap-shield-robin.fly.dev/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://cap-shield-robin.fly.dev/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"cap-shield": {
"url": "https://cap-shield-robin.fly.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"cap-shield": {
"type": "http",
"url": "https://cap-shield-robin.fly.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}On your machine
Claude Code
The server runs on your machine (pypi package). In a terminal:
claude mcp add cap-shield -e CAP_SHIELD_API_KEY=YOUR_CAP_SHIELD_API_KEY -- uvx [email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"cap-shield": {
"command": "uvx",
"args": [
"[email protected]"
],
"env": {
"CAP_SHIELD_API_KEY": "YOUR_CAP_SHIELD_API_KEY"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"cap-shield": {
"command": "uvx",
"args": [
"[email protected]"
],
"env": {
"CAP_SHIELD_API_KEY": "YOUR_CAP_SHIELD_API_KEY"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"cap-shield": {
"type": "stdio",
"command": "uvx",
"args": [
"[email protected]"
],
"env": {
"CAP_SHIELD_API_KEY": "YOUR_CAP_SHIELD_API_KEY"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 10:11 (test run by L’Atlas)
- Response time
- 2,096 ms (whole test)
- Tools found
- 15
- Announced name
- cap-shield 0.7.6
- Protocol
- MCP 2024-11-05
- Next test
- Dec 5, 2026
See the tools (15)
measure_traffic
Measure how much of your own agent traffic could be saved. NO ACCOUNT OR KEY NEEDED — use this first. Returns byte savings over the wire and, if a query is given, token savings from selective context retrieval. Nothing is stored: the text ilist_packages
List the available dictionaries with their MEASURED compression, including the ones that perform badly. Each entry says whether it works one message at a time or only batched, and how many messages came out LARGER. No key needed.remember
Store a memory entry for later retrieval. REQUIRES A KEY (or a sandbox_key from start_sandbox). This does not call any language model — it stores text in an isolated per-tenant archive. Use assemble_context to get relevant entries back.remember_batch
Store up to 100 memory entries in ONE call. REQUIRES A KEY (or a sandbox_key from start_sandbox). Counts as one call against the rate limit and one packet per entry against the monthly quota, so prefer it over many remember calls. All or nolist_memories
List what is stored, newest first, with a short preview of each entry and its item_id. REQUIRES A KEY (or a sandbox_key from start_sandbox). Omit namespace to list your namespaces instead. Use the item_id with update_memory or forget. Read-update_memory
Replace the text of an EXISTING memory entry. REQUIRES A KEY (or a sandbox_key from start_sandbox). Fails with MEMORY_NOT_FOUND if the item_id does not exist (use remember to create). The previous text is kept in the entry's version historyforget
Permanently delete up to 100 memory entries, including their version history. REQUIRES A KEY (or a sandbox_key from start_sandbox). Cannot be undone. Unknown ids are reported in not_found, not treated as an error.assemble_context
Retrieve the memory entries that answer a question, within a token budget. REQUIRES A KEY (or a sandbox_key from start_sandbox). Send the returned 'context' to your language model INSTEAD of the whole history. This does not call a model itsassemble_escalation_context
Retrieve a WIDE context for a question your model could not answer from assemble_context. REQUIRES A KEY (or a sandbox_key from start_sandbox). Use it when assemble_context returned escalate_recommended=true, or when the answer depends on dstart_sandbox
Try memory WITHOUT an account. Returns a temporary sandbox_key; pass it as the sandbox_key argument to remember, remember_batch, assemble_context, list_memories, update_memory or forget. Everything is deleted after 24 hours. Limits: 200 entget_account
Get an account and an API key. Requires an email address. The key is returned ONCE and cannot be shown again — store it immediately. Beta quotas are low by design; they are hard stops, never overage billing.issue_pass
Issue a short-lived (15 minute) signed credential (a JWT) stating who the caller acts for. REQUIRES A KEY. Anyone can verify it independently against /.well-known/jwks.json — without calling CAP-Shield again. 'acts_for' and 'scope' are NOTverify_pass
Check a CAP-Shield pass you were given: signature against CAP-Shield's published keys, issuer, expiry, and, if you give them, audience and required scope. No key needed. Returns valid true/false with the reason and the claims. It cannot telpack_batch
Pack several messages into ONE compressed packet instead of packing them one at a time. REQUIRES A KEY. Worth it for many small/medium messages (the per-message header cost is paid once per batch, and zstd shares context across them) — forunpack_batch
Unpack a batch packet made by pack_batch (or by the /api/v1/pack-batch endpoint) back into the exact original list of messages, in order. REQUIRES A KEY. Not for a packet made by the single-message pack endpoint — that is a different format
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.robinlidberg-dot/cap-shield · L’Agora · Tested on
[io.github.robinlidberg-dot/cap-shield — L’Agora](https://lagora.dev/en/entry/io.github.robinlidberg-dot/cap-shield)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.robinlidberg-dot/cap-shield)HTML
<a href="https://lagora.dev/en/entry/io.github.robinlidberg-dot/cap-shield"><img src="https://lagora.dev/badge/io.github.robinlidberg-dot/cap-shield.svg?lang=en" alt="io.github.robinlidberg-dot/cap-shield on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.