MCPTap v2.6.1 #14
pczerkas
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
[2.6.1]
Added
HTTP session-id header injection via LD_PRELOAD —
file_block.cnow intercepts
connect,send,write,close,dup, anddup2to automatically inject a
session-id: <id>HTTP header into requestssent to the MCPTap proxy on localhost. The header carries
CODEX_THREAD_IDorHERMES_SESSION_ID(fallback), so MCPTap canattribute requests to the correct session without the client sending
the header explicitly. The MCPTap listen address is discovered from
/proc/<pid>/environ(PID read fromproxy.pid, refreshed every 5 s).A compact fd bitmap with pthread mutex tracks which sockets connect to
MCPTap. Only plain HTTP (localhost) is supported — encrypted traffic
(HTTPS) is not intercepted.
HERMES_SESSION_IDfallback —build_control_path()infile_block.cnow readsCODEX_THREAD_IDfirst and falls back toHERMES_SESSION_IDwhen the former is unset, enabling Hermes Agentsessions to use the same per-session file-blocking control files.
PID file for LD_PRELOAD discovery —
mcptap/app.pywrites theproxy process PID to
/tmp/mcptap/proxy.pidat startup and removes iton cleanup. The
file_block.clibrary reads this file to locate theMCPTap process and fetch its listen address from
/proc/<pid>/environ.ha()shell alias — new alias inexamples/home/user/.bash_aliaseslaunches Hermes Agent with
LD_PRELOADfile blocking, mirroring theexisting
cx()alias for Codex CLI.Shared
get_profile()helper — profile detection logic extractedfrom
cx()into a reusableget_profile()function, now used by bothcx()andha(). New project profiles added:alokai,llmcouncil,shopware.Hermes Agent documentation —
README.mdanddocs/FEATURES.mdupdated with Hermes Agent setup instructions, configuration example
(
provider: custom,base_url,api_mode: codex_responses), andreferences alongside Codex CLI throughout.
docs/ISSUES.md— new documentation file listing upstream GitHubissues that MCPTap addresses. Organized by project (Hermes Agent, Codex,
Ollama) with direct links to each issue.
Changed
cx()alias simplified — thesystemctl --user restart mcptap.servicecall was removed; profile detection now delegates to
get_profile().Makefile: link
-lpthread—file_block/Makefileadds-lpthreadfor the pthread mutex used by the fd tracking table and MCPTap address
cache.
Full Changelog
v2.5.4...v2.6.1
This discussion was created from the release MCPTap v2.6.1.
All reactions