cap-shield
io.github.robinlidberg-dot/cap-shield
MCP server OK 15 tools
Context selection and compression for AI agents - recall measured, not claimed.
Technical sheet
- Author
- robinlidberg-dot (registry namespace)
- Repository
- github.com/robinlidberg-dot/cap-shield-mcp
- Site
- cap-shield-robin.fly.dev
- Version
- 0.7.7
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://cap-shield-robin.fly.dev/mcp Streamable HTTP
- Packages
- cap-shield 0.6.3 pypi stdio
- Tools
- 15
- Categories
- AI, agents and memory
- Last updated
- 29 Nov 2026
- Published
- 29 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.robinlidberg-dot/cap-shield)<a href="https://latlas.dev/en/mcp/io.github.robinlidberg-dot/cap-shield"><img src="https://latlas.dev/badge/statut/mcp/io.github.robinlidberg-dot/cap-shield.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.robinlidberg-dot/cap-shield)<a href="https://latlas.dev/en/mcp/io.github.robinlidberg-dot/cap-shield"><img src="https://latlas.dev/badge/fiche/io.github.robinlidberg-dot/cap-shield.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://cap-shield-robin.fly.dev/mcp
- Last result
- OK 28 Nov 2026, 10:11
- Response time
- 2,096 ms (initialize + tools/list)
- Protocol version
- 2024-11-05
- Announced name
- cap-shield 0.7.6
- Tools
- 15
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:11 | OK | 2,096 ms | 15 |
Exposed tools (15, from tools/list, 28 Nov 2026)
measure_traffic
Measure possible savings
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 is compressed in memory and discarded. Rate limited to 20 calls per hour per IP.
| Parameter | Type | Required | Description |
|---|---|---|---|
| texts | array<string> | yes | Your actual messages. 200 max. |
| query | string | no | Optional. What your agent would search its memory for. Given this, token savings are measured too. |
| dict_id | string | no | Which trained dictionary to measure against. Call list_packages to see the options and their measured figures. |
list_packages
List compression 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.
No parameters.
remember
Store a memory entry
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes | Groups related memories. |
| text | string | yes | |
| item_id | string | no | Optional. Same id overwrites the entry. Omit for a generated one. |
| ttl_days | integer | no | Optional. After this many days, assemble_context stops selecting this entry. It is not deleted, just no longer chosen. Omit to keep it eligible indefinitely, as before this field existed. |
| sandbox_key | string | no | Optional. A temporary key from start_sandbox, for trying without an account. |
remember_batch
Store many memory entries
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 nothing: duplicate ids or a blocked entry reject the whole batch before anything is stored. Does not call any language model.
| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes | Groups related memories. |
| items | array<object> | yes | |
| sandbox_key | string | no | Optional. A temporary key from start_sandbox, for trying without an account. |
list_memories
List stored memory
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-only.
| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | no | Omit to list namespaces. |
| offset | integer | no | |
| limit | integer | no | Default 50. |
| tag | string | no | Only entries with this tag. |
| sandbox_key | string | no | Optional. A temporary key from start_sandbox, for trying without an account. |
update_memory
Replace a memory entry
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 history; created date and tags are kept.
| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes | |
| item_id | string | yes | |
| text | string | yes | |
| ttl_days | integer | no | Optional. Omit to keep the current expiry. |
| sandbox_key | string | no | Optional. A temporary key from start_sandbox, for trying without an account. |
forget
Delete memory entries
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes | |
| item_ids | array<string> | yes | |
| sandbox_key | string | no | Optional. A temporary key from start_sandbox, for trying without an account. |
assemble_context
Retrieve relevant memory
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 itself — it selects what to send. The budget is a ceiling, not a target: selection stops where relevance runs out, often well below it. The response says how many entries were left behind and why. If the response has a 'budget_warning', the best match did not fit: call again with its suggested_token_budget.
| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes | |
| query | string | yes | What you need context about. |
| token_budget | integer | no | |
| reduce | boolean | no | Opt-in (FAS L): shorten the assembled context with a small, local, task-agnostic model before it is returned, to lower your own model's token cost. Requires tenant consent for context_reduction (set via /api/v1/gdpr/consent) — otherwise the call is rejected with SAMTYCKE_KRAVS instead of silently i… |
| target_tokens | integer | no | Only relevant together with reduce=true. How many tokens the assembled context should be shortened to. Omit for a default halving of what was actually retrieved. |
| sandbox_key | string | no | Optional. A temporary key from start_sandbox, for trying without an account. |
assemble_escalation_context
Retrieve wide dated memory
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 dates, counts or several sessions. This does not call a model itself. Returns 'context' (up to token_budget, default 150 000 tokens: lower it if your model's window is smaller), where each stored entry starts with a header '--- Session YYYY/MM/DD (Ddd) HH:MM ---' giving when it was stored, and 'utelamnat_kontext': lower-ranked entries that were left out, in the same format. Read those only if the answer is still missing from 'context'. Python users can pass the whole response to cap_escalate_helper.eskalera_om_behovs_v6().
| Parameter | Type | Required | Description |
|---|---|---|---|
| namespace | string | yes | |
| query | string | yes | The question to answer. |
| token_budget | integer | no | Ceiling for 'context'. The default is what the method was measured with. |
| utelamnat_tokens | integer | no | Ceiling for 'utelamnat_kontext'. 0 = none. |
| sandbox_key | string | no | Optional. A temporary key from start_sandbox, for trying without an account. |
start_sandbox
Start a 24-hour memory 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 entries, 1 MB of text. No email needed. Do not store real personal data in a sandbox.
No parameters.
get_account
Create account and API key
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| string | yes | ||
| traffic | string | no | Optional. What your agent sends. |
issue_pass
Issue a signed agent 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 NOT validated against reality: the pass only attests that the key holder claimed this, at this time, and that the claim is recorded in the audit chain. This is identity and claimed authorization, not a payment or access-control mechanism.
| Parameter | Type | Required | Description |
|---|---|---|---|
| acts_for | string | yes | Who the agent claims to act for, e.g. 'acme-corp/procurement'. |
| audience | string | no | Optional. Who the pass is shown to. |
| scope | object | no | Optional, freeform, NOT validated. Example: {"can_read": "invoice_json", "max_budget_usd": 500}. |
verify_pass
Verify a signed agent 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 tell you whether acts_for is TRUE, only that a key holder claimed it.
| Parameter | Type | Required | Description |
|---|---|---|---|
| pass | string | yes | The JWT from issue_pass. |
| audience | string | no | Your own identifier. Omit only if any audience is fine. |
| required_scope | object | no | Key/value pairs that must be in cap_scope. |
pack_batch
Compress a batch of messages
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) — for a single message this has no advantage. Returns packet_b64 (hand it to unpack_batch to get the messages back) plus the measured byte savings versus packing each message separately. SECURITY: only batch messages that already share the SAME trust boundary (same tenant/agent — nothing attacker-influenced mixed in with a secret). Batched messages share one compression context, which can leak size-based information between them (a CRIME/BREACH-style side channel). There is no padding mitigation on this endpoint today, so trust-boundary separation is the only protection — don't rely on padding.
| Parameter | Type | Required | Description |
|---|---|---|---|
| texts | array<string> | yes | The messages to batch together, in order. Two or more — a single message gets no benefit. |
| dict_id | string | no | Which trained dictionary to compress against. Call list_packages to see the options. |
| agent_id | string | no | Optional. A label for audit/metrics. |
unpack_batch
Decompress a batch packet
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 and this will reject it.
| Parameter | Type | Required | Description |
|---|---|---|---|
| packet_b64 | string | yes | The packet_b64 returned by pack_batch. |
| agent_id | string | no | Optional. A label for audit/metrics. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://cap-shield-robin.fly.dev/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http cap-shield https://cap-shield-robin.fly.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : cap-shield ; URL : https://cap-shield-robin.fly.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : cap-shield ; Server URL : https://cap-shield-robin.fly.dev/mcp ; Create as a plugin{
"mcpServers": {
"cap-shield": {
"url": "https://cap-shield-robin.fly.dev/mcp"
}
}
}{
"mcpServers": {
"cap-shield": {
"type": "http",
"url": "https://cap-shield-robin.fly.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"cap-shield": {
"url": "https://cap-shield-robin.fly.dev/mcp"
}
}
}{
"mcpServers": {
"cap-shield": {
"httpUrl": "https://cap-shield-robin.fly.dev/mcp"
}
}
}[mcp_servers.cap-shield]
url = "https://cap-shield-robin.fly.dev/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
cap-shield · L’Atlas · Tested on
[cap-shield — L’Atlas](https://latlas.dev/en/mcp/io.github.robinlidberg-dot/cap-shield)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.