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

github-mcp-server --export-translation does not work #367

Open
Labels
bugSomething isn't working
@tjamet

Description

@tjamet

Describe the bug

Trying to run multiple instances (for github.com and some ghe), I was following the documentation:

You can create an export of the current translations by running the binary with the --export-translations flag.

This flag will preserve any translations/overrides you have made, while adding any new translations that have been added to the binary since the last time you exported.

./github-mcp-server --export-translationscat github-mcp-server-config.json

Running it, errors and does not generate the relevant translation file.

go run github.com/github/github-mcp-server/cmd/github-mcp-server@v0.2.1 --export-translationsA GitHub MCP server that handles various tools and resources.Usage:  server [command]Available Commands:  completion  Generate the autocompletion script for the specified shell  help        Help about any command  stdio       Start stdio serverFlags:      --dynamic-toolsets         Enable dynamic toolsets      --enable-command-logging   When enabled, the server will log all command requests and responses to the log file      --export-translations      Save translations to a JSON file      --gh-host string           Specify the GitHub hostname (for GitHub Enterprise etc.)  -h, --help                     help for server      --log-file string          Path to log file      --read-only                Restrict the server to read-only operations      --toolsets strings         An optional comma separated list of groups of tools to allow, defaults to enabling all (default [all])  -v, --version                  version for serverUse "server [command] --help" for more information about a command.
docker run --rm ghcr.io/github/github-mcp-server:v0.2.1 /server/github-mcp-server --export-translations A GitHub MCP server that handles various tools and resources.Usage:  server [command]Available Commands:  completion  Generate the autocompletion script for the specified shell  help        Help about any command  stdio       Start stdio serverFlags:      --dynamic-toolsets         Enable dynamic toolsets      --enable-command-logging   When enabled, the server will log all command requests and responses to the log file      --export-translations      Save translations to a JSON file      --gh-host string           Specify the GitHub hostname (for GitHub Enterprise etc.)  -h, --help                     help for server      --log-file string          Path to log file      --read-only                Restrict the server to read-only operations      --toolsets strings         An optional comma separated list of groups of tools to allow, defaults to enabling all (default [all])  -v, --version                  version for serverUse "server [command] --help" for more information about a command.

Affected version

v0.2.1

The problem also appears inmain

go run github.com/github/github-mcp-server/cmd/github-mcp-server@main --export-translationsA GitHub MCP server that handles various tools and resources.Usage:  server [command]Available Commands:  completion  Generate the autocompletion script for the specified shell  help        Help about any command  stdio       Start stdio serverFlags:      --dynamic-toolsets         Enable dynamic toolsets      --enable-command-logging   When enabled, the server will log all command requests and responses to the log file      --export-translations      Save translations to a JSON file      --gh-host string           Specify the GitHub hostname (for GitHub Enterprise etc.)  -h, --help                     help for server      --log-file string          Path to log file      --read-only                Restrict the server to read-only operations      --toolsets strings         An optional comma separated list of groups of tools to allow, defaults to enabling all (default [all])  -v, --version                  version for serverUse "server [command] --help" for more information about a command.

Steps to reproduce the behavior

go run github.com/github/github-mcp-server/cmd/github-mcp-server@main --export-translationsA GitHub MCP server that handles various tools and resources.Usage:  server [command]Available Commands:  completion  Generate the autocompletion script for the specified shell  help        Help about any command  stdio       Start stdio serverFlags:      --dynamic-toolsets         Enable dynamic toolsets      --enable-command-logging   When enabled, the server will log all command requests and responses to the log file      --export-translations      Save translations to a JSON file      --gh-host string           Specify the GitHub hostname (for GitHub Enterprise etc.)  -h, --help                     help for server      --log-file string          Path to log file      --read-only                Restrict the server to read-only operations      --toolsets strings         An optional comma separated list of groups of tools to allow, defaults to enabling all (default [all])  -v, --version                  version for serverUse "server [command] --help" for more information about a command.

Expected vs actual behavior

A completion json is dumped.

relates to:#206

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