L'Atlas / Serveurs MCP / cap-shield
Serveur MCP

cap-shield

io.github.robinlidberg-dot/cap-shield

Serveur MCP OK 15 outils

Faire examiner Voir les tarifs

Context selection and compression for AI agents - recall measured, not claimed.

Fiche technique

Auteur
robinlidberg-dot (espace de noms du registre)
Dépôt
github.com/robinlidberg-dot/cap-shield-mcp
Site
cap-shield-robin.fly.dev
Version
0.7.6
Transport
Streamable HTTP stdio
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://cap-shield-robin.fly.dev/mcp Streamable HTTP
Paquets
cap-shield 0.6.2 pypi stdio
Outils
15
Catégories
IA, agents et mémoire
Dernière mise à jour
26 nov. 2026
Publication
26 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.robinlidberg-dot/cap-shield.svg)](https://latlas.dev/mcp/io.github.robinlidberg-dot/cap-shield)
HTML
<a href="https://latlas.dev/mcp/io.github.robinlidberg-dot/cap-shield"><img src="https://latlas.dev/badge/fiche/io.github.robinlidberg-dot/cap-shield.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://cap-shield-robin.fly.dev/mcp
Dernier résultat
OK 28 nov. 2026, 10:11
Temps de réponse
2 096 ms (initialize + tools/list)
Version du protocole
2024-11-05
Nom annoncé
cap-shield 0.7.6
Outils
15

Historique

DateRésultatRéponseOutils
28 nov. 2026, 10:11OK2 096 ms15

Outils exposés (15, réponse à 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.

ParamètreTypeRequisDescription
textsarray<string>ouiYour actual messages. 200 max.
querystringnonOptional. What your agent would search its memory for. Given this, token savings are measured too.
dict_idstringnonWhich 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.

Aucun paramètre.

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.

ParamètreTypeRequisDescription
namespacestringouiGroups related memories.
textstringoui
item_idstringnonOptional. Same id overwrites the entry. Omit for a generated one.
ttl_daysintegernonOptional. 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_keystringnonOptional. 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.

ParamètreTypeRequisDescription
namespacestringouiGroups related memories.
itemsarray<object>oui
sandbox_keystringnonOptional. 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.

ParamètreTypeRequisDescription
namespacestringnonOmit to list namespaces.
offsetintegernon
limitintegernonDefault 50.
tagstringnonOnly entries with this tag.
sandbox_keystringnonOptional. 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.

ParamètreTypeRequisDescription
namespacestringoui
item_idstringoui
textstringoui
ttl_daysintegernonOptional. Omit to keep the current expiry.
sandbox_keystringnonOptional. 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.

ParamètreTypeRequisDescription
namespacestringoui
item_idsarray<string>oui
sandbox_keystringnonOptional. 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.

ParamètreTypeRequisDescription
namespacestringoui
querystringouiWhat you need context about.
token_budgetintegernon
reducebooleannonOpt-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_tokensintegernonOnly 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_keystringnonOptional. 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().

ParamètreTypeRequisDescription
namespacestringoui
querystringouiThe question to answer.
token_budgetintegernonCeiling for 'context'. The default is what the method was measured with.
utelamnat_tokensintegernonCeiling for 'utelamnat_kontext'. 0 = none.
sandbox_keystringnonOptional. 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.

Aucun paramètre.

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.

ParamètreTypeRequisDescription
emailstringoui
trafficstringnonOptional. 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.

ParamètreTypeRequisDescription
acts_forstringouiWho the agent claims to act for, e.g. 'acme-corp/procurement'.
audiencestringnonOptional. Who the pass is shown to.
scopeobjectnonOptional, 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.

ParamètreTypeRequisDescription
passstringouiThe JWT from issue_pass.
audiencestringnonYour own identifier. Omit only if any audience is fine.
required_scopeobjectnonKey/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.

ParamètreTypeRequisDescription
textsarray<string>ouiThe messages to batch together, in order. Two or more — a single message gets no benefit.
dict_idstringnonWhich trained dictionary to compress against. Call list_packages to see the options.
agent_idstringnonOptional. 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.

ParamètreTypeRequisDescription
packet_b64stringouiThe packet_b64 returned by pack_batch.
agent_idstringnonOptional. A label for audit/metrics.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://cap-shield-robin.fly.dev/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http cap-shield https://cap-shield-robin.fly.dev/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : cap-shield ; URL : https://cap-shield-robin.fly.dev/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : cap-shield ; Server URL : https://cap-shield-robin.fly.dev/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "cap-shield": {
      "url": "https://cap-shield-robin.fly.dev/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "cap-shield": {
      "type": "http",
      "url": "https://cap-shield-robin.fly.dev/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "cap-shield": {
      "url": "https://cap-shield-robin.fly.dev/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "cap-shield": {
      "httpUrl": "https://cap-shield-robin.fly.dev/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.cap-shield]
url = "https://cap-shield-robin.fly.dev/mcp"

Citer cette source

Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.

cap-shield · L’Atlas · Test du

Markdown
[cap-shield — L’Atlas](https://latlas.dev/mcp/io.github.robinlidberg-dot/cap-shield)
Méthode et limites des tests

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.