github-project-info

v0.1.3
io.github.shubhtoy/github-project-info Checked 3 days ago Published 5 months ago

Read public GitHub Projects v2 boards without auth — items, fields, story points, priority.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_project_metadata

Get metadata (title, description, state, dates) for a public GitHub Projects (v2) board. Works unauthenticated for both user-owned and org-owned public projects.

ParameterTypeDescription
owner *stringGitHub username or organization name that owns the project
ownerType *stringWhether the project is owned by a personal GitHub user account or an organization
projectNumber *integerThe project number, e.g. 4 for .../projects/4

list_project_items

List all items (issues/PRs/draft issues) in a public GitHub Projects (v2) board, including their status, custom field values, and other metadata. For org-owned projects this uses GitHub's official REST API. For user-owned projects, GitHub's official API requires authentication even for public projects, so this falls back to reading the public board page's embedded data — an unofficial method that could break if GitHub changes its page structure.

ParameterTypeDescription
owner *stringGitHub username or organization name that owns the project
ownerType *stringWhether the project is owned by a personal GitHub user account or an organization
projectNumber *integerThe project number, e.g. 4 for .../projects/4

get_project_item

Get full field data for a single item in a public GitHub Projects (v2) board — including custom fields (like Priority, Story Points) that list_project_items may not show, since that only returns the board's default-view columns while this returns every field defined on the project. Requires the project's numeric database ID (from get_project_metadata's `id` field — NOT `nodeId`, which does not work with this endpoint) and the item's numeric ID (from list_project_items). Pass owner and projectNumber too so custom field names and single-select option names (e.g. a Status ID resolved to "Done…

ParameterTypeDescription
itemId *integerThe numeric item ID, from list_project_items
projectId *integerThe project's numeric database ID, from get_project_metadata's `id` field
ownerstringGitHub username that owns the project, for resolving custom field/option names
projectNumberintegerThe project number, for resolving custom field/option names

get_project_fields

Get a public GitHub Projects (v2) board's field definitions — including single-select field option names/colors (e.g. Status: Todo/In Progress/Done) and saved views. Useful for resolving the option IDs found in list_project_items results to human-readable names. Currently only supported for user-owned projects (uses the same board-page data source as list_project_items for those).

ParameterTypeDescription
owner *stringGitHub username that owns the project
projectNumber *integerThe project number, e.g. 4 for .../projects/4

list_user_projects

List all public GitHub Projects (v2) boards owned by a user account. There is no official GitHub API for this (Projects aren't a Search API resource type, and the REST API requires already knowing a project number) — this reads the same project list shown on a user's profile page (the Projects tab).

ParameterTypeDescription
username *stringGitHub username