Skip to main content
Glama
kunwarVivek

mcp-github-project-manager

delete_project

Remove a GitHub project from your repository. This tool deletes projects by ID to help manage and clean up your GitHub workspace.

Instructions

Delete a GitHub project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYes

Implementation Reference

  • Main handler method in ProjectManagementService that executes the delete_project tool by calling the GitHubProjectRepository.delete method.
    async deleteProject(data: {
      projectId: string;
    }): Promise<{ success: boolean; message: string }> {
      try {
        await this.projectRepo.delete(data.projectId);
        return {
          success: true,
          message: `Project ${data.projectId} has been deleted`,
        };
      } catch (error) {
        throw this.mapErrorToMCPError(error);
      }
    }
  • ToolDefinition for delete_project including schema reference, description, and examples. The schema is defined just above at lines 1031-1035.
    export const deleteProjectTool: ToolDefinition<DeleteProjectArgs> = {
      name: "delete_project",
      description: "Delete a GitHub project",
      schema: deleteProjectSchema as unknown as ToolSchema<DeleteProjectArgs>,
      examples: [
        {
          name: "Delete project",
          description: "Delete a GitHub project by ID",
          args: {
            projectId: "PVT_kwDOLhQ7gc4AOEbH"
          }
        }
      ]
    };
  • Registration of deleteProjectTool in the central ToolRegistry during built-in tools initialization.
    this.registerTool(deleteProjectTool);
  • GraphQL mutation definition for deleting a GitHub ProjectV2, called by the repository's delete method.
    mutation($input: DeleteProjectV2Input!) {
      deleteProjectV2(input: $input) {
  • Dispatch handler in main server that routes delete_project tool calls to ProjectManagementService.deleteProject.
    case "delete_project":
      return await this.service.deleteProject(args);

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

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/kunwarVivek/mcp-github-project-manager'

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