Skip to main content

Ephemeral Buffer MCP Server (ephemeral-buffer)

CI License Python PyPI codecov

Ephemeral Buffer is an MCP server and command-line client for capturing command output in a bounded, searchable buffer. Coding agents can search captures and retrieve relevant portions instead of carrying entire build and test logs in their conversation context.

Quick start

Requires Python 3.10 or newer. Install the package in an isolated environment.

macOS and Linux

python3 -m venv .venv
.venv/bin/python -m pip install --upgrade pip
.venv/bin/python -m pip install ephemeral-buffer-mcp

The default distribution includes BM25, semantic, and hybrid search. To explicitly choose the smaller lexical-only install, use ephemeral-buffer-mcp-lexical; it supports BM25 while semantic and hybrid search require the full distribution.

Configure your MCP client using the user guide. For an isolated server, the server and ephbuf must use the same unique session ID. On macOS/Linux, export the ID before starting Codex with the launcher installed in the virtual environment:

export EPHEMERAL_SESSION_ID=quick-start-session
.venv/bin/codex-ephemeral

Set the same value in another MCP client's server environment. Then capture command output with ephbuf, passing the same ID.

macOS and Linux

.venv/bin/python -c 'print("Hello from a captured command")' 2>&1 |
  EPHEMERAL_SESSION_ID=quick-start-session .venv/bin/ephbuf --label "quick start"

Windows installation steps are in the user guide's Windows support section. Windows runtime behavior isn't covered by CI; that section describes the unverified CLI capture and process-control paths.

The agent can then search the capture and retrieve bounded slices through the MCP tools.

Context reduction in one agent comparison

In a five-repetition gpt-6-luna comparison run on 2026-10-09, mean MCP tool-response bytes fell from 6,681 to 1,501 (77.5%); the Codex context proxy fell from 23,910 to 17,643 bytes (26.2%). This is a result from one workload, not a general savings guarantee. The context figure is a prompt/event-envelope proxy, not the model's internal context size. See the benchmark methodology and comparison details.

Documentation

Topic Document
Installation, client setup, and privacy User guide
MCP tools and advanced workflows Tool reference
Data flow Architecture
Benchmark commands, metrics, and comparisons Benchmarks
Runtime configuration and operations Operations guide
Development setup and contribution workflow Contributing
Release history Changelog

Metadata

Release files for ephemeral-buffer-mcp 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ephemeral-buffer-mcp 0.11.0
File Size Uploaded Provenance Actions
ephemeral_buffer_mcp-0.11.0.tar.gz 3.0 kB With provenance Details for ephemeral_buffer_mcp-0.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ephemeral-buffer-mcp 0.11.0
File Interpreter ABI Platform Actions
ephemeral_buffer_mcp-0.11.0-py3-none-any.whl Python 3 none any Details for ephemeral_buffer_mcp-0.11.0-py3-none-any.whl

Total release size: 5.9 kB

Release files / ephemeral_buffer_mcp-0.11.0.tar.gz

Download URL ephemeral_buffer_mcp-0.11.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f312dc288284fdc829ed69e058e2618cdda033c2add7cfce9e70384a7066de66
BLAKE2b-256 checksum
How to use checksums
e9d45c228d68c51656db52322d2fbb19da8e569136fe9ee719e77414e6e3ca62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / ephemeral_buffer_mcp-0.11.0-py3-none-any.whl

Download URL ephemeral_buffer_mcp-0.11.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f061387ee17ed1f680f5c4a582a676ddc6624aa7b081e9c68c753ca50d7d69d
BLAKE2b-256 checksum
How to use checksums
e479c9274d56966b9b5884264697639b94fec5cdfdab9bd48f26afe3e70b1411
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Security for ephemeral-buffer-mcp 0.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ephemeral_buffer_mcp-0.11.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page