Skip to content

v0.2.0

Choose a tag to compare

@leafo leafo released this 19 May 21:25
· 5 commits to master since this release

Features

  • Multi-tenant MCP server support: lapis.mcp.http and lapis.mcp.oauth were refactored so a single Lapis app can host MCP endpoints scoped to different tenants (a828ed0).
    • New lapis.mcp.http.McpHttpRouter class for mounting MCP routes.
  • Bearer token auth mode: lapis.mcp.http accepts 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 mcp runs tools under pcall to return exceptions to the harness instead of crashing the server (e7ff11e).
  • Modernized default_app_module usage in the CLI (e68bf29).
  • OAuth module uses lapis.util.encoding.encode_base64 instead of ngx.encode_base64 (8a1ad44).

Docs

  • README rewrites covering multi-tenant setup and bearer mode (882c886, 33f1a91).

Install

luarocks install lapis-mcp 0.2.0