Skip to main content
Glama
dev-in-black

OpenProject MCP Server

by dev-in-black

get_available_assignees

Retrieve users eligible for assignment to work packages in a specified OpenProject project to facilitate task delegation.

Instructions

Get list of users who can be assigned to work packages in a project.

Args:
    project_id: Project identifier or ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • Core implementation of get_available_assignees tool: fetches available assignees from OpenProject API for a given project using OpenProjectClient.
    async def get_available_assignees(project_id: str) -> dict[str, Any]:
        """Get list of users who can be assigned to work packages in a project.
    
        Args:
            project_id: Project identifier or ID
    
        Returns:
            Collection of available assignee users
        """
        client = OpenProjectClient()
    
        try:
            result = await client.get(f"projects/{project_id}/available_assignees")
            return result
        finally:
            await client.close()
  • MCP tool registration and handler wrapper that delegates to the work_packages module implementation.
    @mcp.tool()
    async def get_available_assignees(project_id: str):
        """Get list of users who can be assigned to work packages in a project.
    
        Args:
            project_id: Project identifier or ID
        """
        return await work_packages.get_available_assignees(project_id=project_id)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dev-in-black/openproject-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server