a4sx sessions
Search reviewed coding-agent sessions on a4sx anonymously; sign in (OAuth) to load or save sessions.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin fetch_session_context
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"sessions": {
"command": "uvx",
"args": [
"a4sx-mcp"
]
}
}
}Ausführbare Pakete
0.1.0rc2stdioRemote-Endpunkte
https://session-exchange.com/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (7)
🟢search_sessions(query, scope, tags, sort, limit, ...)
Search vetted, published coding-agent sessions on a4sx (reviewed marketplace listings), or your own saved sessions with scope=library. Returns ids to use with the other tools.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 200,
"description": "Free-text search. Empty = browse."
},
"scope": {
"type": "string",
"enum": [
"public",
"library"
],
"default": "public",
"description": "`public`: vetted marketplace listings (no sign-in needed). `library`: your own saved sessions (needs library:read)."
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64
},
"maxItems": 10
},
"sort": {
"type": "string",
"enum": [
"relevance",
"imports",
"rating",
"recent"
],
"default": "relevance"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 10
},
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 10000,
"default": 0
},
"harness": {
"type": "array",
"maxItems": 5,
"items": {
"type": "string",
"enum": [
"claude-code",
"codex-cli",
"gemini-cli",
"grok-build",
"opencode",
"unknown"
]
},
"description": "Only sessions recorded with these harnesses (claude-code, codex-cli, gemini-cli, opencode, grok-build; unknown = not identified). Only Claude Code sessions can be resumed today; the others are view & buy."
}
},
"additionalProperties": false
}🟢get_session_summary(id, source, tenant)
Describe one session before using it: what it did, outline, price, and whether you already have access. source=marketplace (default) or library.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:@-]*$"
},
"source": {
"type": "string",
"enum": [
"marketplace",
"library"
],
"default": "marketplace"
},
"tenant": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9-]*$",
"description": "Owning workspace of a marketplace listing (from search results). Optional."
}
},
"required": [
"id"
],
"additionalProperties": false
}🔴acquire_session(id, tenant, version)
Add a marketplace session you are entitled to (free, bought, or granted) to your private library. Never buys anything: for a paid listing it returns status=payment_required with the price and the listing URL.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:@-]*$",
"description": "Marketplace listing id (from search_sessions)."
},
"tenant": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9-]*$",
"description": "Owning workspace of a marketplace listing (from search results). Optional."
},
"version": {
"type": "string",
"maxLength": 64,
"pattern": "^[A-Za-z0-9._-]*$",
"default": "latest"
}
},
"required": [
"id"
],
"additionalProperties": false
}🟢fetch_session_context(id, version, max_tokens, include_tool_calls)
Load a session from your library (saved, or added with acquire_session) as starting context for this conversation, sized to max_tokens.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:@-]*$",
"description": "Library id: one of your saved sessions, or the library_id acquire_session returned for a marketplace listing."
},
"version": {
"type": "string",
"maxLength": 64,
"pattern": "^[A-Za-z0-9._-]*$"
},
"max_tokens": {
"type": "integer",
"minimum": 500,
"maximum": 100000,
"default": 8000,
"description": "Context budget. Long sessions keep the opening request and the newest turns that fit; the middle is elided."
},
"include_tool_calls": {
"type": "boolean",
"default": false,
"description": "Add one-line stubs for tool calls and results."
}
},
"required": [
"id"
],
"additionalProperties": false
}🔴publish_session(transcript, format, content_sha256, title, label, ...)
Save a session transcript (JSONL), or markdown you composed (format=markdown), to your private a4sx library. The server only rewrites text that matches secret and personal-data patterns (such as tokens, private keys, emails, IP addresses and home-directory user names). It removes no record or field: a raw Claude Code transcript keeps the user's CLAUDE.md and session context (attachment records), file-history snapshot records (absolute file paths), other non-conversation records (such as pr-link), tool-output copies (toolUseResult), and cwd, gitBranch and version on every line; the reply counts them (except version) in unprepared_carriers. Prepare first. Route A, safer when it is enough: compose the decisions, constraints, state and files worth carrying as markdown and send format=markdown. Route B (Claude Code transcripts; other formats: route A), on a copy, never the original transcript: keep only user, assistant and summary records, re-pointing each parentUuid to the nearest kept ancestor (or null); delete cwd, gitBranch, version and toolUseResult; list the hostnames, KEY=value secrets and client or employer names left (show the user counts, not values), and replace the ones the user approves, literally, in decoded strings and object keys. Either way, get the user's explicit yes before sending. Private: it is never listed publicly by this tool.
Eingabe-Schema
{
"type": "object",
"properties": {
"transcript": {
"type": "string",
"minLength": 2,
"description": "The session transcript as JSONL (Claude Code or Codex CLI format; detected automatically), or markdown you composed with format=markdown."
},
"format": {
"type": "string",
"enum": [
"jsonl",
"markdown"
],
"default": "jsonl",
"description": "jsonl: a transcript. markdown: content you composed (route A: the decisions, constraints, state and files worth carrying); stored as sent, after the same server scrub."
},
"content_sha256": {
"type": "string",
"pattern": "^[0-9a-fA-F]{64}$",
"description": "Hex SHA-256 of the transcript's UTF-8 bytes; checked."
},
"title": {
"type": "string",
"maxLength": 200
},
"label": {
"type": "string",
"maxLength": 64
},
"parent": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:@-]*$",
"description": "Library id this session continues from (lineage)."
},
"visibility": {
"type": "string",
"enum": [
"private"
],
"default": "private",
"description": "Always private. Listing publicly is a separate step in the web app."
},
"client_scrubbed": {
"type": "boolean",
"description": "The client scrubbed before sending. The server scrubs again regardless."
},
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[\\x21-\\x7e]+$"
}
},
"required": [
"transcript"
],
"additionalProperties": false
}🟢request_purchase(id, tenant, version)
Start buying a paid marketplace listing for the account holder to confirm. Nothing is charged and you never pay: it returns a verify_url and a user_code to give to the account holder, who checks the code, confirms and pays. Then poll get_purchase_request.
Eingabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:@-]*$",
"description": "Marketplace listing id (from search_sessions)."
},
"tenant": {
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9-]*$",
"description": "The listing's workspace (from search_sessions).",
"minLength": 1
},
"version": {
"type": "string",
"maxLength": 64,
"pattern": "^[A-Za-z0-9._-]*$",
"default": "latest",
"description": "The version you expect; must be the one on sale."
}
},
"required": [
"id",
"tenant"
],
"additionalProperties": false
}🟢get_purchase_request(purchase_request_id)
Status of a purchase you requested: pending, completed (with acquired_copy_id to load with fetch_session_context), declined or expired.
Eingabe-Schema
{
"type": "object",
"properties": {
"purchase_request_id": {
"type": "string",
"pattern": "^pr_[A-Za-z0-9_-]{10,64}$"
}
},
"required": [
"purchase_request_id"
],
"additionalProperties": false
}Community
Nachweis