get_project
Retrieve project details by code using the QASE MCP Server. Simplify test management integration by accessing project-specific data with a single API call.
Instructions
Get project by code
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Implementation Reference
- src/index.ts:273-276 (handler)Handler for the 'get_project' tool call: parses arguments using GetProjectSchema and invokes the getProject function with the project code..with({ name: 'get_project' }, ({ arguments: args }) => { const { code } = GetProjectSchema.parse(args); return getProject(code); })
- src/operations/projects.ts:11-13 (schema)Zod schema for validating input to get_project tool, requiring a 'code' string.export const GetProjectSchema = z.object({ code: z.string(), });
- src/operations/projects.ts:28-31 (helper)Core implementation of getProject: pipes the client.projects.getProject call through toResult for result handling.export const getProject = pipe( client.projects.getProject.bind(client.projects), toResult, );
- src/index.ts:136-139 (registration)Tool registration in ListToolsRequestSchema handler, declaring the get_project tool with its schema.name: 'get_project', description: 'Get project by code', inputSchema: zodToJsonSchema(GetProjectSchema), },