Skip to main content
Glama
OpenProject MCP Server

OpenProject MCP Server

by trof808

OpenProject MCP Server

MCP (Model Context Protocol) сервер для интеграции OpenProject с AI IDE, такими как Cursor.

Возможности

  • get_ai_tasks — получение списка задач, готовых к разработке AI

    • Возвращает задачи из колонок "Баги" и "Готово к разработке"

    • Фильтрует только задачи с флагом ai_dev = true

    • Возвращает: id, url, subject, description, type, status, priority, assignee

  • get_task — получение детальной информации о задаче по ID

Related MCP server: EasyProject MCP Server

Установка

1. Клонирование и установка зависимостей

cd /root/repos/openproject_mcp
pip install -e .

2. Настройка

Создайте файл .env на основе .env.example:

cp .env.example .env

Отредактируйте .env:

OPENPROJECT_URL=openproject_api_url
OPENPROJECT_API_KEY=your_api_key_here

3. Настройка Cursor

Добавьте в конфигурацию MCP серверов Cursor (~/.cursor/mcp.json).

Важно: После pip install -e . команда openproject-mcp становится доступна в PATH.

Вариант A: После установки через pip (рекомендуется)

{
  "mcpServers": {
    "openproject": {
      "command": "openproject-mcp",
      "env": {
        "OPENPROJECT_URL": "openproject_api_url",
        "OPENPROJECT_API_KEY": "your_api_key_here"
      }
    }
  }
}

Вариант B: Без установки (указать путь к Python)

{
  "mcpServers": {
    "openproject": {
      "command": "python",
      "args": ["-m", "openproject_mcp.server"],
      "cwd": "/path/to/openproject_mcp/src",
      "env": {
        "OPENPROJECT_URL": "openproject_api_url",
        "OPENPROJECT_API_KEY": "your_api_key_here"
      }
    }
  }
}

Вариант C: Через uv/uvx

{
  "mcpServers": {
    "openproject": {
      "command": "uvx",
      "args": ["--from", "/path/to/openproject_mcp", "openproject-mcp"],
      "env": {
        "OPENPROJECT_URL": "openproject_api_url",
        "OPENPROJECT_API_KEY": "your_api_key_here"
      }
    }
  }
}

Использование

После настройки в Cursor будут доступны инструменты:

Получить задачи для AI

Используй инструмент get_ai_tasks чтобы получить список задач готовых к разработке

Получить конкретную задачу

Используй инструмент get_task с task_id=2243 чтобы получить детали задачи

Конфигурация

Переменная

Описание

По умолчанию

OPENPROJECT_URL

URL OpenProject

openproject_api_url

OPENPROJECT_API_KEY

API ключ

-

OPENPROJECT_QUERY_ID_BUGS

ID query колонки "Баги"

1390

OPENPROJECT_QUERY_ID_READY

ID query колонки "Готово к разработке"

1378

OPENPROJECT_AI_DEV_FIELD

Имя кастомного поля ai_dev

customField2

Получение API ключа

  1. Войдите в OpenProject

  2. Перейдите в My Account → Access tokens

  3. Создайте новый API токен

  4. Скопируйте токен в конфигурацию

Разработка

# Установка в режиме разработки
pip install -e ".[dev]"

# Запуск сервера напрямую
python -m openproject_mcp.server

Лицензия

MIT

Available Tools

2 tools
get_ai_tasksA

Get list of tasks ready for AI development from OpenProject. Returns tasks from 'Баги' and 'Готово к разработке' columns that have ai_dev flag set to true. Each task includes: id, url, subject, description, type, status, priority, assignee.

Inputs: no named parameters.

get_taskB

Get detailed information about a specific task by its ID. Returns full task details including description, status, assignee, etc.

Inputs: task_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one retrieves a single task by ID, the other lists filtered tasks based on specific criteria. No overlap in functionality.

    Naming Consistency5/5

    Both tool names follow a consistent 'get_noun' snake_case pattern, making them predictable and easy to understand.

    Tool Count2/5

    With only two tools for a project management server, the count is too low. A typical server for this domain would require additional tools for CRUD operations and broader querying.

    Completeness1/5

    The tool surface is severely incomplete: it lacks any create, update, or delete operations, and fails to support common workflows like listing all tasks or searching by other criteria.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers