get-project
Retrieve complete project details including configuration, scope, organization, and category information from Dooray. Extract project ID from URLs or use direct ID to access specific project data.
Instructions
Get detailed information about a specific Dooray project.
This tool retrieves complete details of a single project including its configuration, scope, organization, and category information.
URL Pattern Recognition: When given a Dooray URL like "https://nhnent.dooray.com/task/PROJECT_ID" or "https://nhnent.dooray.com/task/PROJECT_ID/TASK_ID", extract the PROJECT_ID (the first numeric ID after "/task/") and use it as the projectId parameter.
IMPORTANT: When a specific project URL is provided, use this tool directly instead of calling get-project-list first.
Examples:
From URL: Extract "1769381697328002548" from "https://nhnent.dooray.com/task/1769381697328002548" → {"projectId": "1769381697328002548"}
From URL with task: Extract "1769381697328002548" from "https://nhnent.dooray.com/task/1769381697328002548/4143841687558152504" → {"projectId": "1769381697328002548"}
Direct ID: {"projectId": "123456"}
"Show me details of project 123456"
Returns project information including:
id, code, name: Basic project identifiers
description: Project description
scope: private or public
organizationId: Organization this project belongs to
projectCategoryId: Category ID (null if no category)
projectType: default, task, or issue
state: active or archived
Use this to get full details about a specific project when you have its project ID or URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project ID to retrieve details for |
Implementation Reference
- src/tools/projects/get-project.ts:16-39 (handler)The handler function that fetches detailed project information from the API using the provided projectId and returns it formatted as JSON text or an error message.export async function getProjectHandler(args: GetProjectInput) { try { const result = await projectsApi.getProjectDetails(args.projectId); return { content: [ { type: 'text', text: JSON.stringify(result, null, 2), }, ], }; } catch (error) { return { content: [ { type: 'text', text: `Error: ${formatError(error)}`, }, ], isError: true, }; } }
- Zod schema defining the input for the get-project tool: requires a projectId string.export const getProjectSchema = z.object({ projectId: z.string().describe('Project ID'), });
- src/tools/projects/get-project.ts:41-79 (registration)Tool registration object defining the name 'get-project', detailed description, usage instructions, and input schema for MCP integration.export const getProjectTool = { name: 'get-project', description: `Get detailed information about a specific Dooray project. This tool retrieves complete details of a single project including its configuration, scope, organization, and category information. **URL Pattern Recognition**: When given a Dooray URL like "https://nhnent.dooray.com/task/PROJECT_ID" or "https://nhnent.dooray.com/task/PROJECT_ID/TASK_ID", extract the PROJECT_ID (the first numeric ID after "/task/") and use it as the projectId parameter. **IMPORTANT**: When a specific project URL is provided, use this tool directly instead of calling get-project-list first. Examples: - From URL: Extract "1769381697328002548" from "https://nhnent.dooray.com/task/1769381697328002548" → {"projectId": "1769381697328002548"} - From URL with task: Extract "1769381697328002548" from "https://nhnent.dooray.com/task/1769381697328002548/4143841687558152504" → {"projectId": "1769381697328002548"} - Direct ID: {"projectId": "123456"} - "Show me details of project 123456" Returns project information including: - **id**, **code**, **name**: Basic project identifiers - **description**: Project description - **scope**: private or public - **organizationId**: Organization this project belongs to - **projectCategoryId**: Category ID (null if no category) - **projectType**: default, task, or issue - **state**: active or archived Use this to get full details about a specific project when you have its project ID or URL.`, inputSchema: { type: 'object', properties: { projectId: { type: 'string', description: 'Project ID to retrieve details for', }, }, required: ['projectId'], }, };