FastMCP server
A FastMCP server 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
- An "Invoices" server with
auth=LumoAuthProvider(). - A scope check on the tools.
- An optional policy for each tool.
Create it
pip install lumoauth-fastmcp
python invoices_server.py
Settings
| Variable | Value |
|---|---|
LUMOAUTH_ORG_ID | Your organization, for example acme-corp. |
LUMOAUTH_MCP_SERVER_ID | The ID of the registered server, mcp_.... |