Home / Servers / GitHub API / projects_create_view_for_org

Create a view for an organization-owned project

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

Create a view for an organization-owned project Create a new view in an organization-owned project. Views allow you to customize how items in a project are displayed and filtered. [POST /orgs/{org}/projectsV2/{project_number}/views]

Name on the gateway: github_api__projects_create_view_for_org · may change things.

Parameters

NameTypeDescription
org requiredstringThe organization name. The name is not case sensitive.
project_number requiredintegerThe project's number.
name requiredstringThe name of the view.
layout requiredtable | board | roadmapThe layout of the view.
filterstringThe filter query for the view. See Filtering projects for more information.
visible_fieldsarrayvisible_fields is not applicable to roadmap layout views. For table and board…
sort_byarraySorting configuration for the view. Each element is a two-element array of…
group_byarrayThe field IDs to group items by (horizontal grouping). Supports a single…
vertical_group_byarrayThe field IDs to use as columns in board layout (vertical grouping). Supports…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "github_api__projects_create_view_for_org",
  "arguments": {
    "org": "…",
    "project_number": 0,
    "name": "…",
    "layout": "…"
  }
}

Or connect the GitHub API server directly, which lists 1,221 tools including this one:

Run in your terminal
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create a view for an organization-owned project tool with org set to ….

More from GitHub API