Repository navigation
v0.7.20 — HTTP User-Agent fix + tools/skills metadata
Fixed
-
The HTTP transport no longer gets 403'd by bot filters.
urllibannounces
Python-urllib/3.xwhen noUser-Agentis set, and bot filters in front of
public hosted MCP endpoints (Cloudflare error 1010 and friends) reject that
signature before the request ever reaches the server. Somcptoon add <name> --http <url>configured fine, but every latermanifest/calldied with an
HTTP_ERROR 403that read like a transport bug.The transport now announces
mcptoon/<version>by default, on both the request
and notify paths. A caller-suppliedUser-Agent(viaheaders=/--header)
still wins, andextra_headersare untouched — nothing changes for anyone
already setting their own UA.Contributed by @mouse-value-add in
#20 — 9 tests, mocked opener,
no network.
Changed
- The package description now names both halves of the toolbox. It said
"MCP client … Sync MCP servers across agents"; it now says "MCP tools + agent
skills … Sync both across agents". The skills half shipped in 0.7.19's README
andmcptoon skills, but the one-line metadata on PyPI, inserver.jsonand in
gemini-extension.jsonstill described tools only. server.jsonpoints at the measured claim — "MCP tools + agent skills in
one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured)".
Install
pip install --upgrade mcptoon
mcptoon bench # your own numbers, ~30s1069 passed, 1 skipped · 190KB wheel · zero dependencies · Apache 2.0