Skip to main content
Glama
avivsinai

langfuse-mcp

create_chat_prompt

Create and version chat prompts with labels and configuration for LLM applications in Langfuse.

Instructions

Create a new chat prompt version in Langfuse.

Chat prompts are arrays of role/content messages. Prompts are immutable; create a new version to update content. Labels are unique across versions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the prompt to create
promptYesChat messages in the format [{role: 'system'|'user'|'assistant', content: '...'}]
labelsNoLabels to assign (e.g., ['production', 'staging'])
configNoOptional JSON config (e.g., {model: 'gpt-4', temperature: 0.7})
tagsNoOptional tags for organization (e.g., ['experimental', 'v2'])
commit_messageNoOptional commit message describing the changes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/avivsinai/landfuse-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server