Repository navigation
Releases
Releases · j4crev/unsworn
v0.4.0
v0.3.1
v0.3.0
v0.2.0
MCP
- MCP tools as handlers.
[[mcp.tool]]entries serve tools from plain handler functions in any language. Arguments are validated before the handler runs, and each tool has its own scopes and rate limits. Callers only see the tools their token allows. - Per-tool policies for an existing MCP server.
[mcp] proxy, with handler-less[[mcp.tool]]entries. - Routes and OpenAPI operations as tools.
mcp = { tool = ... }on a route, andmcp_toolsunder[openapi]. - MCP helpers in the JS, Python, Go and Rust SDKs.
Other features
- Redis store for rate limits and response caching shared across instances.
stream_bodystreams request bodies to handlers instead of buffering them.- Log records: a
logprotocol message, JSON stderr lines and logging in the SDKs. - API keys can be verified by an external service.
unsworn serve --no-buildfor prebuilt workers.
Renames
The old names still work, but print a warning:
[auth.<name>] jwks_urlis nowurl.- Runtime
protocol = "binary"is now"framed". - The npm package
@unswornjs/jsis now@unswornjs/sdk.
Fixes
- With the memory store, a request right after a cache miss could miss the cache too.