
humansignal/label-studio-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
humansignal/label-studio-mcp-server は [https://github.com/humansignal/label-studio-mcp-server.] からインポートされた MCP サーバーの候補です
概要
humansignal/label-studio-mcp-server は [https://github.com/humansignal/label-studio-mcp-server.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
概要
このプロジェクトでは、[[label-studio-sdk]]を使用してLabel Studioインスタンスとの相互作用を可能にするモデルコンテキストプロトコル(MCP)サーバーを提供します。 MCP クライアントからの自然言語または構造化されたコールによるプロジェクト、タスク、予測のプログラム管理を可能にします。 このMCP Serverを使用すると、以下のようなリクエストを行うことができます。
- 「このデータでラベルスタジオでプロジェクトを作成…」 ※「RAGレビュープロジェクトで何点のタスクをラベルづけるのか」 ※「タスクの予測を追加」 ※「コメント欄にラベルを貼るテンプレートを更新」
##特徴
*プロジェクト管理:Label Studioプロジェクトの詳細/構成を作成、更新、リスト、および表示します。 *タスク管理: ファイルからタスクをインポートし、プロジェクト内のタスクをリストし、タスクデータ/注釈を取得します。
- 予測統合: 特定のタスクにモデル予測を追加します。 ※SDKインテグレーション**:通信用公式[[T1]をレバレッジします。
前提条件
1.Running Label Studio インスタンス: このMCPサーバーが実行する場所からアクセス可能なLabel Studioの実行インスタンスが必要です。 2.API キー: Label Studio のユーザーアカウント設定から API キーを取得します。
設定
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Label Studio MCP Server
Overview
This project provides a Model Context Protocol (MCP) server that allows interaction with a Label Studio instance using the label-studio-sdk. It enables programmatic management of labeling projects, tasks, and predictions via natural language or structured calls from MCP clients. Using this MCP Server, you can make requests like:
- “Create a project in label studio with this data …”
- “How many tasks are labeled in my RAG review project?”
- “Add predictions for my tasks.”
- “Update my labeling template to include a comment box.”
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-sdkfor communication.
Prerequisites
- Running Label Studio Instance: You need a running instance of Label Studio accessible from where this MCP server will run.
- API Key: Obtain an API key from your user account settings in Label Studio.
Configuration
The MCP server requires the URL and API key for your Label Studio instance. If launching the server via an MCP client configuration file, you can specify the environment variables directly within the server definition. This is often preferred for client-managed servers.
Add the following JSON entry to your claude_desktop_config.json file or Cursor MCP settings:
{
"mcpServers": {
"label-studio": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/HumanSignal/label-studio-mcp-server",
"mcp-label-studio"
],
"env": {
"LABEL_STUDIO_API_KEY": "your_actual_api_key_here", // <-- Your API key
"LABEL_STUDIO_URL": "http://localhost:8080"
}
}
}
}
<!–
Installation
Follow these instructions to install the server.
git clone https://github.com/HumanSignal/label-studio-mcp-server.git
cd label-studio-mcp-server
# Install dependencies using uv
uv venv
source .venv/bin/activate
uv sync
```json
{
"mcpServers": {
"label-studio": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/label-studio-mcp-server", // <-- Update this path
"run",
"label-studio-mcp.py"
],
"env": {
"LABEL_STUDIO_API_KEY": "your_actual_api_key_here", // <-- Your API key
"LABEL_STUDIO_URL": "http://localhost:8080"
}
}
}
}
インストール
uvx --from git+https://github.com/HumanSignal/label-studio-mcp-server mcp-label-studio設定
{
"mcpServers": {
"label-studio": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/HumanSignal/label-studio-mcp-server",
"mcp-label-studio"
],
"env": {
"LABEL_STUDIO_API_KEY": "your_actual_api_key_here", // <-- Your API key
"LABEL_STUDIO_URL": "http://localhost:8080"
}
}
}
}