Skip to main content
Glama

create_project_view

Generate custom views for GitHub projects, such as boards, tables, timelines, or roadmaps, by specifying project ID, view name, and layout type.

Instructions

Create a new view for a GitHub project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layoutYes
nameYes
projectIdYes

Implementation Reference

  • Main handler function that executes the create_project_view tool logic. Delegates to GitHubProjectRepository.createView for the actual GitHub API call.
    async createProjectView(data: { projectId: string; name: string; layout: 'board' | 'table' | 'timeline' | 'roadmap'; }): Promise<ProjectView> { try { return await this.projectRepo.createView( data.projectId, data.name, data.layout ); } catch (error) { throw this.mapErrorToMCPError(error); } }
  • ToolDefinition for create_project_view including input schema (createProjectViewSchema defined lines 356-362), description, and examples.
    export const createProjectViewTool: ToolDefinition<CreateProjectViewArgs> = { name: "create_project_view", description: "Create a new view for a GitHub project", schema: createProjectViewSchema as unknown as ToolSchema<CreateProjectViewArgs>, examples: [ { name: "Create kanban board view", description: "Create a board view for a project", args: { projectId: "PVT_kwDOLhQ7gc4AOEbH", name: "Development Board", layout: "board" } } ] };
  • Registers the createProjectViewTool in the central ToolRegistry during initialization.
    this.registerTool(createProjectViewTool);
  • src/index.ts:393-394 (registration)
    MCP server dispatches tool calls to the ProjectManagementService handler.
    case "create_project_view": return await this.service.createProjectView(args);

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