Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LANGFUSE_HOSTNoThe Langfuse instance URL. Use your own instance URL if self-hosted. Defaults to https://cloud.langfuse.com.
LANGFUSE_PUBLIC_KEYNoYour Langfuse public key (pk-...), from your Langfuse instance under Settings → API Keys.
LANGFUSE_SECRET_KEYNoYour Langfuse secret key (sk-...), from your Langfuse instance under Settings → API Keys.
LANGFUSE_MCP_PROFILENoProfile to load from the profiles file; same as the --profile option. Each of public_key, secret_key and host in a profile takes a literal value, or a <field>_env key that names the environment variable that holds the value.
LANGFUSE_MAX_AGE_DAYSNoCaps the lookback window for time-based tools (fetch_traces, fetch_observations, etc.). Set to match your Langfuse instance's data retention, e.g. 30 if your retention is 30 days. Defaults to 7.
LANGFUSE_MCP_READ_ONLYNoSet to true to disable all write operations for safer read-only access. Same as the --read-only option. Defaults to false.
LANGFUSE_MCP_PROFILES_FILENoPath of the profiles file; same as the --profiles-file option. Defaults to $XDG_CONFIG_HOME/langfuse-mcp/profiles.toml (or ~/.config/langfuse-mcp/profiles.toml when XDG_CONFIG_HOME is not set).
LANGFUSE_MCP_DEFAULT_OUTPUT_MODENoMCP-exposed default output_mode so clients that omit the parameter automatically use your preferred mode. Same as the --default-output-mode option. Supported values: compact, full_json_string, full_json_file.
LANGFUSE_MCP_TRACE_TIMEOUT_SECONDSNoPer-request read timeout in seconds for single-trace fetches (fetch_trace). Raise it if large traces with include_observations=True time out. Must be a positive integer. Defaults to 120.

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