Langfuse MCP Server
by vjames37994
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LANGFUSE_HOST | No | Langfuse instance URL. Defaults to https://cloud.langfuse.com. | https://cloud.langfuse.com |
| LANGFUSE_PUBLIC_KEY | No | Langfuse public API key (pk-...). Required for stdio usage unless credentials come from a selected profile or per-request HTTP Authorization header. | |
| LANGFUSE_SECRET_KEY | No | Langfuse secret API key (sk-...). Required for stdio usage unless credentials come from a selected profile or per-request HTTP Authorization header. | |
| LANGFUSE_MCP_PROFILE | No | Profile to load from the profiles file. Same as --profile. The selected profile can supply host, public_key, and secret_key. | |
| LANGFUSE_MAX_AGE_DAYS | No | Caps the lookback window for time-based tools such as fetch_traces and fetch_observations. Set to match your Langfuse instance's data retention. | 7 |
| LANGFUSE_MCP_READ_ONLY | No | Disable all write operations for safer read-only access. Same as --read-only. | false |
| LANGFUSE_MCP_PROFILES_FILE | No | Path to the profiles file. Same as --profiles-file. Defaults to $XDG_CONFIG_HOME/langfuse-mcp/profiles.toml, or ~/.config/langfuse-mcp/profiles.toml when XDG_CONFIG_HOME is not set. | $XDG_CONFIG_HOME/langfuse-mcp/profiles.toml |
| LANGFUSE_MCP_DEFAULT_OUTPUT_MODE | No | Default MCP-exposed output_mode: compact, full_json_string, or full_json_file. Same as --default-output-mode. | |
| LANGFUSE_MCP_TRACE_TIMEOUT_SECONDS | No | Per-request read timeout in seconds for single-trace fetches. Must be a positive integer. | 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
ResponsivenessResponsive