Langfuse MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LANGFUSE_HOST | No | Your Langfuse instance URL. Defaults to https://cloud.langfuse.com; set your own instance URL when self-hosted. | https://cloud.langfuse.com |
| LANGFUSE_PUBLIC_KEY | Yes | Your Langfuse public key (from Langfuse Cloud → Settings → API Keys). Required unless you configure credentials through a named profile. | |
| LANGFUSE_SECRET_KEY | Yes | Your Langfuse secret key (from Langfuse Cloud → Settings → API Keys). Required unless you configure credentials through a named profile. | |
| LANGFUSE_MCP_PROFILE | No | Profile to load from the profiles file; same as the --profile flag. Selects a [profiles.<name>] entry that supplies host, public_key and secret_key. | |
| LANGFUSE_MAX_AGE_DAYS | No | Caps the lookback window for time-based tools (fetch_traces, fetch_observations, etc.). Set to match your Langfuse instance's data retention. Default is 7. | 7 |
| LANGFUSE_MCP_READ_ONLY | No | Set to true to disable all write operations for safer read-only access (same as the --read-only flag). | |
| LANGFUSE_MCP_PROFILES_FILE | No | Path of the profiles file; same as the --profiles-file flag. Defaults to $XDG_CONFIG_HOME/langfuse-mcp/profiles.toml (or ~/.config/langfuse-mcp/profiles.toml). | |
| LANGFUSE_MCP_DEFAULT_OUTPUT_MODE | No | MCP-exposed default output_mode used when clients omit the parameter (same as the --default-output-mode flag). Supported values: compact, full_json_string, full_json_file. | |
| LANGFUSE_MCP_TRACE_TIMEOUT_SECONDS | No | Per-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. Default is 120. | 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessNo issues