Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_PORTNoHTTP listening port8000
MCP_API_KEYYesBearer key on every route except `/health` and `/`; the server will not start without it
JOPLIN_DB_HOSTNoPostgreSQL hostpgsql
JOPLIN_DB_NAMENoDatabase namejoplin
JOPLIN_DB_PORTNoPostgreSQL port5432
JOPLIN_DB_USERNoDatabase user — needs read/write on `items`, `changes_2`, `user_items`, `item_resources`postgres
JOPLIN_USER_IDNoJoplin account the server acts for (see the `users` query above); defaults to the oldest account when omitted
MCP_PUBLIC_URLNoBase URL advertised in tool output and download links — set it behind a proxy; defaults to `http://localhost:<port>`
JOPLIN_DB_PASSWORDNoDatabase passwordpostgres

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