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
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes |
Implementation Reference
- src/openproject_mcp/server.py:261-269 (handler)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()