Langfuse
Langfuse's official MCP server is built into Langfuse Cloud and self-hosted Langfuse. Each API key is scoped to one project. The Langfuse card with the Official badge calls https://{host}/api/public/mcp over streamable HTTP. Auth is Personal API keys. Willow sends the pasted value as the Authorization header, unchanged. Langfuse expects Basic plus the Base64 of publicKey:secretKey.
This card is the project server. Langfuse also publishes a separate public MCP server for searching its documentation. See Langfuse MCP server.
Host
The card asks for Langfuse host. Enter the hostname. Willow builds https://{host}/api/public/mcp. The default, cloud.langfuse.com, is Cloud EU.
| Region | Host |
|---|---|
| EU | cloud.langfuse.com |
| US | us.cloud.langfuse.com |
| Japan | jp.cloud.langfuse.com |
| HIPAA US | hipaa.cloud.langfuse.com |
| Self-hosted | your Langfuse hostname |
Use the region, or the self-hosted installation, that holds the project. A key from another region fails against this URL.
On a self-hosted Langfuse behind a reverse proxy, preserve the public Host header. If the endpoint is also reached by an internal Docker or Kubernetes hostname, set LANGFUSE_MCP_ALLOWED_HOSTS to a comma-separated list of those exact hostnames or origins. Otherwise Langfuse returns 403.
API key
- In the Langfuse project, go to Settings → API Keys → Create new API keys.
- Name the key, leave Full access selected, and click Create API key.
- Copy the public key (
pk-lf-...) and the secret key (sk-lf-...). Langfuse shows the secret once. - Encode
publicKey:secretKey. On macOS or Linux:
echo -n "pk-lf-...:sk-lf-..." | base64
Anyone who can read the string can recover the keys.
Set up Willow
- Go to MCP Servers → + Add MCP server, open the Langfuse card with the Official badge, and click + Use.
- Set Langfuse host to the hostname for that project.
- Keep Personal API keys. Assign groups and Publish.
- When each person connects, they paste
Basicfollowed by the Base64 string, for exampleBasic cGstbGYtcHVibGljOnNrLWxmLXNlY3JldA==.
The host is shared. Each person's key selects a project on that host, and Langfuse scopes every call to that project.
Troubleshooting
Langfuse rejects the key.
Cause: The value is only the secret key, or it is missing the Basic prefix. A key from another region fails the same way when Langfuse host does not match the project.
Solution: Paste Basic plus the Base64 of publicKey:secretKey, and set Langfuse host to that project's region.
Self-hosted calls return 403.
Cause: A reverse proxy rewrote the Host header, or the call uses a hostname Langfuse does not accept.
Solution: Preserve the public Host header, or set LANGFUSE_MCP_ALLOWED_HOSTS to the extra hostnames or origins. See Host.