Skip to main content

FastMCP server

A FastMCP server with one tool, protected by LumoAuth.

StarterDraftView source
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.
Works with
PythonFastMCP

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​

VariableValue
LUMOAUTH_ORG_IDYour organization, for example acme-corp.
LUMOAUTH_MCP_SERVER_IDThe ID of the registered server, mcp_....

Next steps​