Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Custom GHES host names are not supported #662

Open
Labels
bugSomething isn't working
@jtquip88

Description

@jtquip88

Describe the bug

Currently, any hostname ending with "github.com" (such as "slack-github.com") is incorrectly identified as the public GitHub host github.com. This is because inparsAPiHost(), host's suffix is matched withgithub.com . As a result, all hosts that end withgithub.com are characterized as public github.com hosts instead of GHES.

Steps to reproduce the behavior

  1. In the mcp tool's config, set GITHUB_HOST to custom GHES host. Egabcd-github.com
    2.Run any tool. Eg.list_pull_requests

Expected vs actual behavior

Expected: MCP tool should useabcd-github.com/api/v3 rest api url.
Actual: MCP tool usesgithub.com/api/v3 rest api url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp