@happyvertical/smrt-app-mcp
App-runtime MCP server scaffolding and transport adapters for exposing a s-m-r-t application over HTTP.
What it gives you
App-runtime MCP server scaffolding and transport adapters for exposing a s-m-r-t application over HTTP.
- 01One stateless Streamable HTTP mount, with a fresh protocol server per request
- 02Principal-aware per-tool policy evaluated on discovery and on the call
- 03Tool-list cache metadata that stays private unless a public catalog is verified
Mount the application surface
createMcpAppServer wraps generated core tools with an application allow-list, public tool patterns, a per-principal tool policy, and workflow assertions. mountMcpRoute serves server/discover, tools/list, and tools/call from the sveltekit subpath; the REST-shaped mountMcpToolsRoute and mountMcpCallRoute aliases are deprecated for one release.
Generated and application MCP →Authorization is terminated in front of it
The package trusts the principal supplied by the application adapter. It does not implement an OAuth authorization server or validate bearer tokens. A public deployment validates the token at the gateway. The deployment supplies the request principal, tenant, and permissions only after successful validation.
Compatibility and operations →