TypeScript MCP server
An Express server on the MCP TypeScript SDK with one tool, protected by LumoAuth.
This page is a draft. The code exists, and not all of it has been run for this page yet. The page says what was checked.
What you get
auth.router()for discovery andauth.protect()on the MCP route.- A tool that reads the caller.
Create it
npm install @lumoauth/mcp @modelcontextprotocol/sdk express
Then add the server file of the quick start.
Settings
| Variable | Value |
|---|---|
LUMOAUTH_ORG_ID | Your organization, for example acme-corp. |
LUMOAUTH_MCP_SERVER_ID | The ID of the registered server, mcp_.... |