Skip to content

Add MCP mode - allow the CLI to act like an stdio MCP #11444

@noamta-gloat

Description

@noamta-gloat

Describe the feature or problem you’d like to solve

Non-stdio MCP servers are not there yet. For example with Cursor, I need to use the docker-based MCP. And even then - I have a authenticate using a PAT.

Proposed solution

The GH CLI is always "connected" with its own access token. It can be used for high level operations as well as API calls. It should be trivial and powerful to add an "mcp" command that runs the tool as an stdio MCP server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicatethis is already captured in another issueenhancementa request to improve CLI

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions