OPIK_API_BASE_URL
= https://www.comet.com/opik/api
OPIK_WORKSPACE_NAME
= default
OPIK_API_KEY
= your_api_key
(Replace with your actual Opik API key)test
) with the MCP Opik server running inside it.Tool Name | Short Description |
---|---|
create-project | Create a new project/workspace |
create-prompt | Create a new prompt |
create-prompt-version | Create a new version of a prompt |
delete-project | Delete a project |
delete-prompt | Delete a prompt |
get-metrics | Get metrics data |
get-opik-examples | Get examples of how to use Opik Comet’s API for specific tasks |
get-opik-help | Get contextual help about Opik Comet’s capabilities |
get-opik-tracing-info | Get information about Opik’s tracing capabilities |
get-project-by-id | Get a single project by ID |
get-prompt-by-id | Get a single prompt by ID |
get-server-info | Get information about the Opik server configuration |
get-trace-by-id | Get a single trace by ID |
get-trace-stats | Get statistics for traces |
list-projects | Get a list of projects/workspaces |
list-prompts | Get a list of Opik prompts |
list-traces | Get a list of traces |
update-project | Update a project |
update-prompt | Update a prompt |
create-project
name
(string
): Name of the projectdescription
(string
, optional): Description of the projectworkspaceName
(string
, optional): Workspace name to use instead of the defaultcreate-prompt
name
(string
): Name of the promptcreate-prompt-version
commit_message
(string
): Commit message for the prompt versionname
(string
): Name of the original prompttemplate
(string
): Template content for the prompt versiondelete-project
projectId
(string
): ID of the project to deleteworkspaceName
(string
, optional): Workspace name to use instead of the defaultdelete-prompt
promptId
(string
): ID of the prompt to deleteget-metrics
endDate
(string
, optional): End date in ISO format (YYYY-MM-DD)metricName
(string
, optional): Optional metric name to filterprojectId
(string
, optional): Optional project ID to filter metricsprojectName
(string
, optional): Optional project name to filter metricsstartDate
(string
, optional): Start date in ISO format (YYYY-MM-DD)get-opik-examples
task
(string
): The task to get examples for (e.g., ‘create prompt’, ‘analyze traces’, ‘monitor costs’)get-opik-help
topic
(string
): The topic to get help about (prompts, projects, traces, metrics, or general)subtopic
(string
, optional): Optional subtopic for more specific helpget-opik-tracing-info
topic
(string
, optional): Optional specific tracing topic (e.g., ‘spans’, ‘distributed’, ‘multimodal’, ‘annotations’)get-project-by-id
projectId
(string
): ID of the project to fetchworkspaceName
(string
, optional): Workspace name to use instead of the defaultget-prompt-by-id
promptId
(string
): ID of the prompt to fetchget-server-info
random_string
(string
, optional): Dummy parameter for no-parameter toolsget-trace-by-id
traceId
(string
): ID of the trace to fetchworkspaceName
(string
, optional): Workspace name to use instead of the defaultget-trace-stats
endDate
(string
, optional): End date in ISO format (YYYY-MM-DD)projectId
(string
, optional): Project ID to filter tracesprojectName
(string
, optional): Project name to filter tracesstartDate
(string
, optional): Start date in ISO format (YYYY-MM-DD)workspaceName
(string
, optional): Workspace name to use instead of the defaultlist-projects
page
(number
): Page number for paginationsize
(number
): Number of items per pagesortBy
(string
, optional): Sort projects by this fieldsortOrder
(string
, optional): Sort order (asc or desc)workspaceName
(string
, optional): Workspace name to use instead of the defaultlist-prompts
page
(number
): Page number for paginationsize
(number
): Number of items per pagelist-traces
page
(number
): Page number for paginationsize
(number
): Number of items per pageprojectId
(string
, optional): Project ID to filter tracesprojectName
(string
, optional): Project name to filter tracesworkspaceName
(string
, optional): Workspace name to use instead of the defaultupdate-project
projectId
(string
): ID of the project to updatedescription
(string
, optional): New project descriptionname
(string
, optional): New project nameworkspaceName
(string
, optional): Workspace name to use instead of the defaultupdate-prompt
name
(string
): New name for the promptpromptId
(string
): ID of the prompt to update