GitHub MCP by usefulapi
Read repositories, pull requests, issues and CI runs; create issues and comments in GitHub.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (3)
- HIGH
- LOWen github_list_pull_request_reviews
- LOWen github_search_repositories
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"github": {
"url": "https://github.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://github.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (21)
🟢github_get_authenticated_user
Return the GitHub account the token belongs to (login, name, plan, public repo count). Good first call to confirm which account is connected. REST: GET /user.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_my_repos(visibility, affiliation, sort, direction, page, ...)
List repositories the token can access: owned, collaborator and organization repositories. Filter by visibility or affiliation. REST: GET /user/repos.
Esquema de entrada
{
"type": "object",
"properties": {
"visibility": {
"description": "Filter by visibility (default all).",
"type": "string",
"enum": [
"all",
"public",
"private"
]
},
"affiliation": {
"description": "Comma-separated: owner, collaborator, organization_member (default all three).",
"type": "string"
},
"sort": {
"description": "Sort field.",
"type": "string",
"enum": [
"created",
"updated",
"pushed",
"full_name"
]
},
"direction": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_my_orgs(page, per_page)
List the organizations the authenticated user belongs to. REST: GET /user/orgs.
Esquema de entrada
{
"type": "object",
"properties": {
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_get_repo(owner, repo)
Return one repository: default branch, visibility, language, stars, open issue count, last push time. REST: GET /repos/{owner}/{repo}.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
}
},
"required": [
"owner",
"repo"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_branches(owner, repo, protected, page, per_page)
List branches of a repository. REST: GET /repos/{owner}/{repo}/branches.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"protected": {
"description": "Only protected branches when true.",
"type": "boolean"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"owner",
"repo"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_releases(owner, repo, page, per_page)
List releases of a repository, newest first. REST: GET /repos/{owner}/{repo}/releases.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"owner",
"repo"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_commits(owner, repo, sha, path, author, ...)
List commits on a branch, tag or SHA, optionally for one file path or author and a date range. REST: GET /repos/{owner}/{repo}/commits.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"sha": {
"description": "Branch, tag or commit SHA to list from (default: default branch).",
"type": "string"
},
"path": {
"description": "Only commits that touched this file or directory path.",
"type": "string"
},
"author": {
"description": "GitHub login or email of the author.",
"type": "string"
},
"since": {
"description": "ISO 8601 timestamp, e.g. 2026-11-01T00:00:00Z.",
"type": "string"
},
"until": {
"description": "ISO 8601 timestamp.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"owner",
"repo"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_get_commit(owner, repo, ref)
Return one commit with its message, author, stats and changed files (with patch text). REST: GET /repos/{owner}/{repo}/commits/{ref}.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"ref": {
"type": "string",
"minLength": 1,
"description": "Commit SHA, branch or tag name."
}
},
"required": [
"owner",
"repo",
"ref"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_issues(owner, repo, state, labels, assignee, ...)
List issues of a repository. The API also returns pull requests here; check the pull_request field. REST: GET /repos/{owner}/{repo}/issues.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"state": {
"description": "Issue state (default open).",
"type": "string",
"enum": [
"open",
"closed",
"all"
]
},
"labels": {
"description": "Comma-separated label names, e.g. bug,help wanted.",
"type": "string"
},
"assignee": {
"description": "Login, 'none' or '*'.",
"type": "string"
},
"creator": {
"description": "Login of the issue creator.",
"type": "string"
},
"sort": {
"description": "Sort field.",
"type": "string",
"enum": [
"created",
"updated",
"comments"
]
},
"direction": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"since": {
"description": "ISO 8601 timestamp: only issues updated after this time.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"owner",
"repo"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_get_issue(owner, repo, issue_number)
Return one issue with its body, labels, assignees and state. REST: GET /repos/{owner}/{repo}/issues/{issue_number}.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"issue_number": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Issue number shown in the URL, e.g. 42."
}
},
"required": [
"owner",
"repo",
"issue_number"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_issue_comments(owner, repo, issue_number, since, page, ...)
List comments on an issue or pull request conversation. REST: GET /repos/{owner}/{repo}/issues/{issue_number}/comments.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"issue_number": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Issue number shown in the URL, e.g. 42."
},
"since": {
"description": "ISO 8601 timestamp: only comments updated after this time.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"owner",
"repo",
"issue_number"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_pull_requests(owner, repo, state, head, base, ...)
List pull requests of a repository. REST: GET /repos/{owner}/{repo}/pulls.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"state": {
"description": "Pull request state (default open).",
"type": "string",
"enum": [
"open",
"closed",
"all"
]
},
"head": {
"description": "Filter by head branch, as user:branch.",
"type": "string"
},
"base": {
"description": "Filter by base branch name.",
"type": "string"
},
"sort": {
"description": "Sort field.",
"type": "string",
"enum": [
"created",
"updated",
"popularity",
"long-running"
]
},
"direction": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"owner",
"repo"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_get_pull_request(owner, repo, pull_number)
Return one pull request: title, body, state, merge status, head and base branches, author. REST: GET /repos/{owner}/{repo}/pulls/{pull_number}.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"pull_number": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Pull request number shown in the URL, e.g. 7."
}
},
"required": [
"owner",
"repo",
"pull_number"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_pull_request_files(owner, repo, pull_number, page, per_page)
List files changed by a pull request, with status, additions, deletions and patch text. REST: GET /repos/{owner}/{repo}/pulls/{pull_number}/files.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"pull_number": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Pull request number shown in the URL, e.g. 7."
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"owner",
"repo",
"pull_number"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_pull_request_reviews(owner, repo, pull_number, page, per_page)
List reviews on a pull request (approved, changes requested, commented). REST: GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"pull_number": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Pull request number shown in the URL, e.g. 7."
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"owner",
"repo",
"pull_number"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_list_workflow_runs(owner, repo, branch, event, status, ...)
List GitHub Actions workflow runs of a repository, newest first. Filter by branch, event, status or actor. REST: GET /repos/{owner}/{repo}/actions/runs.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"branch": {
"description": "Branch name.",
"type": "string"
},
"event": {
"description": "Trigger event, e.g. push or pull_request.",
"type": "string"
},
"status": {
"description": "Run status or conclusion.",
"type": "string",
"enum": [
"queued",
"in_progress",
"completed",
"success",
"failure",
"cancelled",
"skipped"
]
},
"actor": {
"description": "Login of the user who triggered the run.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"owner",
"repo"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_search_repositories(q, sort, order, page, per_page)
Search public and accessible repositories with GitHub qualifiers (language:, stars:, topic:, user:). Search has a lower rate limit than other reads. REST: GET /search/repositories.
Esquema de entrada
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"description": "GitHub search query with qualifiers, e.g. 'mcp language:typescript stars:>100'."
},
"sort": {
"description": "Sort field.",
"type": "string",
"enum": [
"stars",
"forks",
"help-wanted-issues",
"updated"
]
},
"order": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"q"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢github_search_issues(q, sort, order, page, per_page)
Search issues and pull requests with qualifiers such as repo:, is:issue, is:pr, is:open, label:, author:. Search has a lower rate limit than other reads. REST: GET /search/issues.
Esquema de entrada
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"description": "GitHub search query with qualifiers, e.g. 'mcp language:typescript stars:>100'."
},
"sort": {
"description": "Sort field.",
"type": "string",
"enum": [
"comments",
"reactions",
"created",
"updated"
]
},
"order": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"per_page": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"required": [
"q"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴github_create_issue(owner, repo, title, body, labels, ...)
Create a new issue in a repository. Visible to everyone who can read the repository. Requires issues write permission. REST: POST /repos/{owner}/{repo}/issues.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"title": {
"type": "string",
"minLength": 1,
"description": "Issue title."
},
"body": {
"description": "Issue body in Markdown.",
"type": "string"
},
"labels": {
"description": "Label names to add.",
"type": "array",
"items": {
"type": "string"
}
},
"assignees": {
"description": "Logins to assign.",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"owner",
"repo",
"title"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴github_add_issue_comment(owner, repo, issue_number, body)
Post a comment on an issue or pull request conversation. Visible to everyone who can read the repository. REST: POST /repos/{owner}/{repo}/issues/{issue_number}/comments.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"issue_number": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Issue number shown in the URL, e.g. 42."
},
"body": {
"type": "string",
"minLength": 1,
"description": "Comment text in Markdown."
}
},
"required": [
"owner",
"repo",
"issue_number",
"body"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴github_update_issue(owner, repo, issue_number, title, body, ...)
Change an issue's title, body, state (open or closed), labels or assignees. A given labels or assignees list replaces the current one. REST: PATCH /repos/{owner}/{repo}/issues/{issue_number}.
Esquema de entrada
{
"type": "object",
"properties": {
"owner": {
"type": "string",
"minLength": 1,
"description": "Account or organization that owns the repository, e.g. octocat."
},
"repo": {
"type": "string",
"minLength": 1,
"description": "Repository name without the owner, e.g. Hello-World."
},
"issue_number": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Issue number shown in the URL, e.g. 42."
},
"title": {
"description": "New title.",
"type": "string"
},
"body": {
"description": "New body in Markdown.",
"type": "string"
},
"state": {
"description": "New state.",
"type": "string",
"enum": [
"open",
"closed"
]
},
"state_reason": {
"description": "Reason for the state change.",
"type": "string",
"enum": [
"completed",
"not_planned",
"reopened"
]
},
"labels": {
"description": "Replaces all labels with this list.",
"type": "array",
"items": {
"type": "string"
}
},
"assignees": {
"description": "Replaces all assignees with this list.",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"owner",
"repo",
"issue_number"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia