Skip to main content
Glama
MCP for PADI

MCP for PADI

by Mrc527

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PADI_EMAILNoThe e-mail you sign in to PADI with.
PADI_UNITSNoUnits of answers and inputs: auto (your PADI logbook setting), metric or imperial.auto
MCP_HTTP_HOSTNoHTTP listen address.127.0.0.1
MCP_HTTP_PORTNoHTTP listen port.3000
MCP_TRANSPORTNostdio or http (same as --http).stdio
PADI_API_MODENoproxy, direct or auto: which PADI logbook endpoint to use.proxy
PADI_AUTH_URLNoPADI auth host override (for tests against a local mock only).
PADI_PASSWORDNoYour PADI password. Optional when a refresh token or a token cache is there.
PADI_TIMEZONENoIANA time zone of the server's "today", for example Europe/Zurich.
MCP_HTTP_TOKENNoBearer token required on every HTTP request.
PADI_CLIENT_IDNoPADI client id override (for tests against a local mock only).
PADI_ECARD_URLNoPADI eCard host override (for tests against a local mock only).
PADI_READ_ONLYNotrue removes every tool that adds, changes or deletes anything.false
PADI_DIRECT_URLNoPADI direct GraphQL logbook host override (for tests against a local mock only).
PADI_IMAGES_URLNoPADI images host override (for tests against a local mock only).
PADI_COGNITO_URLNoPADI Cognito host override (for tests against a local mock only).
PADI_LOGBOOK_URLNoPADI logbook host override (for tests against a local mock only).
PADI_TOKEN_CACHENoFile where the current refresh token is kept between runs (mode 0600). Unset: memory only.
PADI_LOGIN_METHODNoauto, cognito or padi.auto
PADI_PASSWORD_FILENoReads the PADI password from a file.
PADI_REFRESH_TOKENNoInstead of the password: a PADI refresh token.
MCP_HTTP_TOKEN_FILENoReads the HTTP bearer token from a file.
PADI_COGNITO_REGIONNoPADI Cognito region override (for tests against a local mock only).
PADI_INSTRUCTOR_URLNoPADI instructor lookup host override (for tests against a local mock only).
MCP_HTTP_ALLOWED_HOSTSNoExtra accepted Host header values (DNS rebinding protection).
PADI_REFRESH_TOKEN_FILENoReads the PADI refresh token from a file.
MCP_HTTP_ALLOWED_ORIGINSNoBrowser origins allowed to call the server (CORS).
PADI_DIRECT_INSTRUCTOR_URLNoPADI direct instructor lookup host override (for tests against a local mock only).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources