label-studio-mcp-server
If you are the rightful owner of label-studio-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Label Studio MCP Server allows interaction with a Label Studio instance using the label-studio-sdk, enabling programmatic management of labeling projects, tasks, and predictions.
The Label Studio MCP Server is a Model Context Protocol (MCP) server designed to facilitate interaction with a Label Studio instance through the label-studio-sdk. It allows users to manage labeling projects, tasks, and predictions programmatically via natural language or structured calls from MCP clients. This server supports requests such as creating projects, querying task statuses, adding predictions, and updating labeling templates. It is particularly useful for automating and streamlining the labeling process in machine learning workflows.
Features
- Project Management: Create, update, list, and view details/configurations of Label Studio projects.
- Task Management: Import tasks from files, list tasks within projects, and retrieve task data/annotations.
- Prediction Integration: Add model predictions to specific tasks.
- SDK Integration: Leverages the official label-studio-sdk for communication.
Tools
get_label_studio_projects_tool
Lists available projects (ID, title, task count).
get_label_studio_project_details_tool
Retrieves detailed information for a specific project.
get_label_studio_project_config_tool
Fetches the XML labeling configuration for a project.
create_label_studio_project_tool
Creates a new project with a title, XML config, and optional settings. Returns project details including a URL.
update_label_studio_project_config_tool
Updates the XML labeling configuration for an existing project.
list_label_studio_project_tasks_tool
Lists task IDs within a project (up to 100).
get_label_studio_task_data_tool
Retrieves the data payload for a specific task.
get_label_studio_task_annotations_tool
Fetches existing annotations for a specific task.
import_label_studio_project_tasks_tool
Imports tasks from a JSON file (containing a list of task objects) into a project. Returns import summary and project URL.
create_label_studio_prediction_tool
Creates a prediction for a specific task. Requires the prediction result as a list of dictionaries matching the Label Studio format. Optional model_version and score.