Langfuse MCP Server
by Cynthias612
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LANGFUSE_HOST | No | Langfuse instance URL. If self-hosted, use your instance URL for LANGFUSE_HOST. | https://cloud.langfuse.com |
| LANGFUSE_PUBLIC_KEY | Yes | Your Langfuse public key, from Langfuse Cloud → Settings → API Keys (e.g. pk-...). | |
| LANGFUSE_SECRET_KEY | Yes | Your Langfuse secret key, from Langfuse Cloud → Settings → API Keys (e.g. sk-...). | |
| LANGFUSE_MCP_PROFILE | No | Profile to load from the profiles file; same as --profile. Used with the profiles file at $XDG_CONFIG_HOME/langfuse-mcp/profiles.toml (or ~/.config/langfuse-mcp/profiles.toml). | |
| 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 — e.g. 30 if your retention is 30 days. | 7 |
| LANGFUSE_MCP_READ_ONLY | No | Disable all write operations for safer read-only access, e.g. LANGFUSE_MCP_READ_ONLY=true langfuse-mcp. This disables create_text_prompt, create_chat_prompt, update_prompt_labels, create_dataset, create_dataset_item, delete_dataset_item, create_dataset_run_item, delete_dataset_run, create_annotation_queue, create_annotation_queue_item, update_annotation_queue_item, delete_annotation_queue_item, create_annotation_queue_assignment, and delete_annotation_queue_assignment. | false |
| LANGFUSE_MCP_PROFILES_FILE | No | Path of the profiles file; same as --profiles-file. | $XDG_CONFIG_HOME/langfuse-mcp/profiles.toml |
| LANGFUSE_MCP_DEFAULT_OUTPUT_MODE | No | Set the MCP-exposed default output_mode so clients that omit the parameter automatically use your preferred mode, e.g. LANGFUSE_MCP_DEFAULT_OUTPUT_MODE=full_json_file langfuse-mcp. Supported values: compact, full_json_string, full_json_file. | |
| LANGFUSE_MCP_TRACE_TIMEOUT_SECONDS | No | Per-request read timeout (seconds) for single-trace fetches (fetch_trace). Raise it if large traces with include_observations=True time out. 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