Repository navigation
mcp-slim: Zero-dependency MCP stdio proxy for AI agents (-50% to -98% tool schema tokens & SecretGuard) #1467
SalyyS1
started this conversation in
Show and tell
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.
Uh oh!
There was an error while loading. Please reload this page.
Hi Khoj community,
We built mcp-slim, an open-source, zero-dependency Python MCP stdio proxy and CLI token profiler that sits between any MCP client/agent and upstream stdio MCP servers:
What it does
tools/listschemas, converts homogeneous JSON arrays intools/callresponses into tabular TOON format (--toon), and provides BM25 on-demand tool discovery (--dynamic-toolsets).--flatten-schemas,--coerce-args): Inlines JSON Schema$ref/$defspointers and coerces stringified tool arguments for local and open-weight models.--redact-secrets): Redacts API tokens (ghp_*,sk-*,AKIA*, JWTs, PEM keys, andhttps://user:pass@hostURLs) across both tool inputs and outputs.Repository: https://github.com/SalyyS1/mcp-slim
All reactions