Skip to main content
Glama
dev-in-black

OpenProject MCP Server

by dev-in-black

get_project

Retrieve detailed project information from OpenProject by providing a project identifier to access specifications, status, and configuration data.

Instructions

Get detailed information about a project.

Args:
    project_id: Project identifier or ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • MCP tool handler for 'get_project', registered via @mcp.tool(), delegates to projects.get_project implementation.
    @mcp.tool()
    async def get_project(project_id: str):
        """Get detailed information about a project.
    
        Args:
            project_id: Project identifier or ID
        """
        return await projects.get_project(project_id=project_id)
  • Core helper function implementing the logic to fetch project details using OpenProjectClient and API call.
    async def get_project(project_id: str) -> dict[str, Any]:
        """Get detailed information about a project.
    
        Args:
            project_id: Project identifier or ID
    
        Returns:
            Project object with all properties, links, and embedded resources
        """
        client = OpenProjectClient()
    
        try:
            result = await client.get(f"projects/{project_id}")
            return result
        finally:
            await client.close()

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