Repository navigation
v0.2.0
Features
- Multi-tenant MCP server support:
lapis.mcp.httpandlapis.mcp.oauthwere refactored so a single Lapis app can host MCP endpoints scoped to different tenants (a828ed0).- New
lapis.mcp.http.McpHttpRouterclass for mounting MCP routes.
- New
- Bearer token auth mode:
lapis.mcp.httpaccepts a static bearer token as an alternative to the OAuth flow (c41c554). lapis mcp --list-tools: prints the tools exposed by an MCP server without starting it (2d951fe).
Fixes
- OAuth client authentication metadata corrected in the OAuth server response (55e9408).
- stdio server with
lapis mcpruns tools under pcall to return exceptions to the harness instead of crashing the server (e7ff11e). - Modernized
default_app_moduleusage in the CLI (e68bf29). - OAuth module uses
lapis.util.encoding.encode_base64instead ofngx.encode_base64(8a1ad44).
Docs
Install
luarocks install lapis-mcp 0.2.0