Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun

get_project

Retrieve detailed information about a specific Yunxiao DevOps project by providing its organization ID and project identifier.

Instructions

[Project Management] Get information about a Yunxiao project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
organizationIdYesOrganization ID
idYesProject unique identifier

Implementation Reference

  • The main handler for the 'get_project' tool. Parses input arguments using GetProjectSchema, calls the underlying getProjectFunc helper to fetch project details via API, and returns the JSON-formatted project information.
    case "get_project": { const args = types.GetProjectSchema.parse(request.params.arguments); const projectInfo = await project.getProjectFunc( args.organizationId, args.id ); return { content: [{ type: "text", text: JSON.stringify(projectInfo, null, 2) }], }; }
  • Zod schema definition for 'get_project' tool input validation: requires organizationId and project id.
    export const GetProjectSchema = z.object({ organizationId: z.string().describe("Organization ID"), id: z.string().describe("Project unique identifier"), });
  • Tool registration object defining name, description, and input schema for 'get_project' within the getProjectManagementTools array, which is included in the PROJECT_MANAGEMENT toolset.
    name: "get_project", description: "[Project Management] Get information about a Yunxiao project", inputSchema: zodToJsonSchema(types.GetProjectSchema), },
  • Core helper function that performs the actual API call to retrieve project information using Yunxiao's projex API and validates the response with ProjectInfoSchema.
    export async function getProjectFunc( organizationId: string, id: string ): Promise<z.infer<typeof ProjectInfoSchema>> { const url = `/oapi/v1/projex/organizations/${organizationId}/projects/${id}`; const response = await yunxiaoRequest(url, { method: "GET", }); return ProjectInfoSchema.parse(response); }

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/aliyun/alibabacloud-devops-mcp-server'

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