Sponsored by Deepsite.site

mcp-label-studio: A Label Studio MCP server

Created By
lxkaka8 months ago
mcp server for label studio
Content

mcp-label-studio: A Label Studio MCP server

Overview

A Model Context Protocol server for managing and interacting with Label Studio projects. This server provides tools to create and manage annotation projects, import and export data, and facilitate the data labeling workflow.

Tools

  1. get_projects

    • Get all projects information
    • Returns: A list of all projects with their basic information
  2. get_project_detail

    • Get detailed information about a specific project
    • Input:
      • project_id (string): Label Studio project ID
    • Returns: Detailed project information including label configuration
  3. create_project

    • Create a new annotation project
    • Input:
      • title (string): Project title
      • description (string, optional): Project description
      • label_config (string, optional): XML label configuration
    • Returns: New project information
  4. update_project

    • Update an existing project
    • Input:
      • project_id (string): Project ID
      • title (string, optional): New project title
      • description (string, optional): New project description
      • label_config (string, optional): New XML label configuration
    • Returns: Updated project information
  5. delete_project

    • Delete a project
    • Input:
      • project_id (string): Project ID to delete
    • Returns: Deletion status
  6. export_project_annotations

    • Export project annotation data
    • Input:
      • project_id (string): Project ID
      • export_format (string, optional): Format to export ("JSON", "CSV", "TSV", "CONLL2003", "COCO")
      • output_path (string, optional): Path to save the export file
    • Returns: Exported annotation data
  7. import_tasks_from_file

    • Import tasks from a file
    • Input:
      • project_id (string): Project ID
      • file_path (string): Path to the import file
    • Returns: Import status
  8. get_export_formats

    • Get supported export formats for a project
    • Input:
      • project_id (string): Project ID
    • Returns: List of supported export formats

Installation

When using uv, you can run the server directly:

git clone https://github.com/yourusername/mcp-label-studio.git
cd mcp-label-studio
uv pip install -e .
uv run server.py

Using Docker

You can also use Docker to run the server:

docker build -t mcp-label-studio .
docker run -e LABEL_STUDIO_API_KEY=your-api-key -e LABEL_STUDIO_URL=http://your-label-studio-instance mcp-label-studio

Configuration

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

Using uv
"mcpServers": {
  "label-studio": {
    "command": "uv",
    "args": ["run", "/path/to/mcp-label-studio/server.py"],
    "env": {
      "LABEL_STUDIO_API_KEY": "YOUR_LABEL_STUDIO_API_KEY",
      "LABEL_STUDIO_URL": "YOUR_LABEL_STUDIO_URL"
    }
  }
}
Using docker
"mcpServers": {
  "label-studio": {
    "command": "docker",
    "args": ["run", "-i", "--rm", "-e", "LABEL_STUDIO_API_KEY=YOUR_API_KEY", "-e", "LABEL_STUDIO_URL=YOUR_URL", "mcp-label-studio"]
  }
}

Debugging

You can use the MCP inspector to debug the server:

cd /path/to/mcp-label-studio
LABEL_STUDIO_API_KEY=YOUR_API_KEY LABEL_STUDIO_URL=YOUR_URL npx @modelcontextprotocol/inspector uv run server.py

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repositoy

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Serper MCP ServerA Serper MCP Server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
WindsurfThe new purpose-built IDE to harness magic
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
ChatWiseThe second fastest AI chatbot™
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
DeepChatYour AI Partner on Desktop
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Tavily Mcp
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Playwright McpPlaywright MCP server