Skip to main content

Two ways to add backlog-mcp-server and manage Backlog issues from Grok Bot chat

QiitaQiitarevsystem2026-11-28

Multi-bot teamsSource read in fullRead first
QiitaQiitarevsystem2026-11-28

Open original

Overview

The author adds Backlog's official MCP server as a Command-type custom connector in Grok Bot, then lists issues, changes due dates, and opens issue details from chat.

Workflow

Trigger: See whether Backlog issues can be checked and updated from a Grok Bot chat. Backlog publishes an official MCP server, backlog-mcp-server (https://github.com/nulab/backlog-mcp-server), but Backlog is not in Grok Bot's connector list. Grok Bot lets the author create named bots that work on a shared cloud computer where files and logins persist. Connectors are how a bot reads or updates an outside service. Besides connectors picked from a list, a custom connector can be a Remote HTTPS server (a URL) or a Command type (a command and arguments). A Command-type server starts on the bot computer. Added connectors are shared across the account and can be used by any bot. The author tried two ways to add backlog-mcp-server as a custom connector, and on 2026-11-28 confirmed that both could list issues, change due dates, and show issue details.

  1. By hand: Create a bot named Backlogタスクチェッカー and ask it to connect the official server. After the bot asked what it could help with, the author sent:

Meaning: I want to connect to https://github.com/nulab/backlog-mcp-server.

https://github.com/nulab/backlog-mcp-server に接続したい。

The bot replied that Backlog has no official connector and that npx backlog-mcp-server could be run on the bot computer, then asked for the space domain. After the author gave the domain, the bot showed a Secrets field for the API key. The key is issued in Backlog personal settings, under API. The field states that the value is stored securely and is never shown to the bot, and the author cites the Vault and secure sign-in docs for that point. After the key was submitted, the bot checked the connection and registered the connector. According to the bot, 64 tools were available, covering issues, projects, Wiki, Git, notifications, and more (author's claim, not reproduced).

  1. Bot: List incomplete issues in the SAMPLE project, then change a due date and show issue details. The first list did not make issue keys into links. After the author pointed that out, the bot redid the list with links and said it would use links from then on. Changing a due date and showing issue details also worked. The connector details screen showed Command as /home/box/backlog-mcp/run.sh. A second bot inspected the script: run.sh reads the API key from a file named key.env, sets BACKLOG_DOMAIN, and starts npx -y backlog-mcp-server. The first bot had also saved the key from the Secrets field into that file and had built the launch setup itself.
  2. By hand: Add the connector in the desktop app, and pass only the API key through the bot. The author created a separate new bot. In the Grok Bot desktop app the author opened Connect apps, chose Add a custom connector at the bottom, entered the settings below, and pressed Add plugin. Each argument goes in its own field. If the space uses backlog.com, the domain is <スペース名>.backlog.com.
  • Name: Backlog
  • Type: Command
  • Command: env
  • Arguments: BACKLOG_DOMAIN=<スペース名>.backlog.jp, npx, -y, backlog-mcp-server

The screen has no field for environment variables, so Command is set to env, which sets name=value arguments as environment variables and then runs the following command. The API key is not written here.

Meaning: Set BACKLOG_DOMAIN to <space-name>.backlog.jp, then run npx -y backlog-mcp-server.

env BACKLOG_DOMAIN=<スペース名>.backlog.jp npx -y backlog-mcp-server

  1. Bot: Confirm the new connector and complete authentication. The author sent:

Meaning: I have added the Backlog connector. Please set the API key.

Backlogコネクタを追加しました。APIキーを設定してください。

The bot checked the connector, reported an authentication error (401), and showed a Secrets field. After the key was entered, the connection worked. The same requests as in method 1 produced the same flow for the issue list, the link feedback, due-date changes, and issue details. The connector details screen showed Command as the env line above, with no API key in it. The bot said the key saved from the field is passed as an environment variable when the connector starts. The author could not find that behavior in the documentation.

  1. By hand: Overwrite or remove the API key when it should not be kept. The author found no way to delete a key saved from a Secrets field, neither in the Vault and secure sign-in docs nor in what the bot found. To avoid leaving a key, the author has the bot show the field again and overwrites it with a dummy value such as deleted. The author types the value; the bot does not. The author also deletes the key in Backlog personal settings, under API, so that any leftover copy cannot be used. In method 1 the key also remains in key.env. A bot can delete that file, but then the connector cannot start, so the author asks for the file to be deleted when the connector is removed. In this test, deleting the bot left the connector in place. Create and manage Bots also says files on the shared computer remain after a bot is deleted and need a separate cleanup. The connector and key.env are deleted separately from the bot.

Check: On 2026-11-28 the author ran both methods and confirmed that each could list issues, change due dates, and show issue details, with screenshots in the article. The 64-tool count and the pricing figures are the author's or the bot's claims, not reproduced.

Key points and results

  • A service that is missing from the connector list can still be added as a Command-type custom connector if an MCP server exists. For Backlog, the launch command the author used is env BACKLOG_DOMAIN=<スペース名>.backlog.jp npx -y backlog-mcp-server.
  • The API key should not be written into the connector settings. In both methods the author passed it from the Secrets field the bot shows. The key does not appear on the connector details screen.
  • The two methods differ in who adds the connector, what Command is, and where the key is stored. Method 1 lets the bot add it and results in Command /home/box/backlog-mcp/run.sh, with the key in Secrets and also in key.env on the bot computer. Method 2 is added by hand on screen, with Command equal to the env line above and the key in Secrets only. In method 1, the author had to ask another bot to inspect run.sh and key.env. Connectors are shared across the account. The docs warn against leaving credentials or files on the shared computer if other bots should not use them; the author says key.env in method 1 falls under that warning.
  • Manual adds had three pitfalls the author hit before taking screenshots. If Command was npx and Arguments were only -y and backlog-mcp-server, the connector stayed on Starting. The bot found an error asking for BACKLOG_DOMAIN and BACKLOG_API_KEY, which is why Command is env. If BACKLOG_API_KEY=<key> is placed in Arguments, it must come before npx; after backlog-mcp-server it was treated as a server argument and produced 401, and a key written in Arguments is shown on the details screen. After a key was re-entered, the connector sometimes kept using the old key and returned 401 until the bot stopped the old process and restarted it.
  • There is no documented way to delete a Secrets-stored key. The author overwrites it with a dummy value such as deleted (typed by the author, not the bot) and also deletes the key in Backlog personal settings, under API. In method 1, key.env must be cleaned up separately; deleting it stops the connector from starting. In this test, deleting the bot left the connector in place, so the connector and key.env are removed separately from the bot.
  • Without a connector, a newly created bot asked for the API key and the space name and tried to call the Backlog API directly. The bot said it would look up the API docs and build requests with curl and similar tools, which can call any documented operation but has to look it up each time and may assemble the request wrong. The author's preferred use is the connector day to day, and the API only for operations the connector does not have.
  • Pricing context the author recorded on 2026-11-28, pre-tax (author's claim, not reproduced). The X Subscription was announced on 2026-10-12. Grok Bot is included from Premium up; Plus does not include it. xAI's announcement priced Premium at 30 dollars/month, including SuperGrok, Cursor Pro, and X Premium+, versus 90 dollars/month if those three are bought separately. The author stays on the old plan: yearly X Premium at 9,180 yen plus Cursor Pro at 20 dollars/month. Per Grok Bot for teams and enterprises, an individual can use Grok Bot with a paid Cursor plan, and the author can use it with Cursor Pro. Using 1 dollar = 159 yen as of 2026-11-28, the author compared a month-equivalent of 3,945 yen and a year of 47,340 yen for that old-plan mix, versus Premium yearly at 4,400 yen/month and 52,800 yen/year, and Premium monthly at 5,280 yen/month and 63,360 yen/year. Old-plan subscribers can keep the plan and features; new signups for the old plan have ended. The author cites a 窓の杜 article as saying xAI appears to plan to move old-plan subscribers to the new plan later.
  • Closing advice: add official backlog-mcp-server as a Command-type custom connector. Letting the bot add it only needs the repository URL; adding it by hand lets you verify the launch command on screen. In both methods, pass the API key from the Secrets field, and when it is no longer needed overwrite it and also delete it on the Backlog side.

Source

Platform
Qiita
Author
revsystem
Published
Categories
Multi-bot teams

What this evidence label means

Source read in full

We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.