### MCP Configuration Example Source: https://langfuse.com/docs/docs-mcp Configuration snippet for defining the MCP command and arguments. ```json { "command": "npx", "args": ["mcp-remote"] } ``` -------------------------------- ### Claude Code CLI Installation Source: https://langfuse.com/docs/docs-mcp Use the Claude CLI to add the Langfuse Docs MCP server via HTTP transport. ```bash claude mcp add \ --transport http \ langfuse-docs \ https://langfuse.com/api/mcp \ --scope user ``` -------------------------------- ### Add Langfuse MCP to Claude Source: https://langfuse.com/docs/docs-mcp Use this command to register the Langfuse MCP server with Claude. After running this, start a Claude Code session and use the /mcp command to verify the connection. ```bash claude mcp add-json langfuse-docs " '{"type":"http","url":"https://langfuse.com/api/mcp"}' ``` -------------------------------- ### GET /api/search-docs Source: https://langfuse.com/docs/docs-mcp Performs a semantic search across Langfuse documentation using a query string. ```APIDOC ## GET /api/search-docs ### Description Performs a semantic search across Langfuse documentation. This endpoint is useful for integrating documentation search into external tools or applications. ### Method GET ### Endpoint https://langfuse.com/api/search-docs ### Parameters #### Query Parameters - **query** (string) - Required - The search term or phrase to query against the documentation. ### Request Example curl "https://langfuse.com/api/search-docs?query=Langfuse+Docs+MCP+Server" ``` -------------------------------- ### Manual MCP Configuration for Cursor Source: https://langfuse.com/docs/docs-mcp Add this configuration to your mcp.json file to enable the Langfuse Docs MCP server in Cursor. ```json { "mcpServers": { "langfuse-docs": { "url": "https://langfuse.com/api/mcp" } } } ``` -------------------------------- ### Add Langfuse Docs MCP via CLI Source: https://langfuse.com/docs/docs-mcp Use this command to register the Langfuse Docs MCP server with Claude Code. ```bash claude mcp add \ --transport http \ langfuse-docs \ https://langfuse.com/api/mcp \ --scope user ``` -------------------------------- ### Configure Langfuse Docs MCP in Windsurf Source: https://langfuse.com/docs/docs-mcp Add this configuration to the MCP Configuration Panel in Windsurf to enable the Langfuse Docs MCP server. ```json { "mcpServers": { "langfuse-docs": { "command": "npx", "args": [ "-y", "@langfuse/mcp-server-docs" ] } } } ``` -------------------------------- ### Windsurf MCP Configuration Source: https://langfuse.com/docs/docs-mcp Add this configuration to the Windsurf MCP configuration panel to connect the Langfuse Docs server. ```json { "mcpServers": { "langfuse-docs": { "command": "npx", "args": ["mcp-remote", "https://langfuse.com/api/mcp"] } } } ``` -------------------------------- ### Configure Langfuse MCP Server Source: https://langfuse.com/docs/docs-mcp Use this JSON structure to define the MCP server configuration, including the command and arguments required for execution. ```json { "mcpServers": { "langfuse-docs": { "command": "npx", "args": ["mcp-remote", ``` -------------------------------- ### Langfuse MCP Server Connection Details Source: https://langfuse.com/docs/docs-mcp Configuration details for connecting to the Langfuse MCP server. ```APIDOC ## MCP Server Configuration ### Endpoint `https://langfuse.com/api/mcp` ### Transport `streamableHttp` ### Authentication None ``` -------------------------------- ### Manual MCP Configuration Source: https://langfuse.com/docs/docs-mcp Add this configuration to your mcp.json file to manually integrate the Langfuse documentation MCP server. ```json { "mcpServers": { "langfuse-docs": { "command": "npx", "args": ["-y", "@langfuse/mcp-server"] } } } ``` -------------------------------- ### Query REST Search Endpoint Source: https://langfuse.com/docs/docs-mcp Perform lightweight semantic searches directly via the REST API. ```bash curl "https://langfuse.com/api/search-docs?query=Langfuse+Docs+MCP+Server" ``` -------------------------------- ### Claude Code Settings Configuration Source: https://langfuse.com/docs/docs-mcp Add this configuration to your Claude settings file to manually register the MCP server. ```json { "mcpServers": { "langfuse-docs": { "transportType": "http", "url": "https://langfuse.com/api/mcp", "verifySsl": true } } } ``` -------------------------------- ### Claude Code One-liner JSON Import Source: https://langfuse.com/docs/docs-mcp Use this command to quickly add the MCP server configuration to Claude Code. ```bash claude mcp add-json langfuse-docs \ '{"type":"http","url":"https://langfuse.com/api/mcp"}' ``` -------------------------------- ### Langfuse MCP Configuration JSON Source: https://langfuse.com/docs/docs-mcp Configuration object for the Langfuse MCP server, specifying the transport type and API endpoint. ```json "langfuse-docs": { "transportType": "http", "url": "https://langfuse.com/api/mcp", } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.