Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion INSTALL_FOR_AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ agentmemory connect <agent>

`connect` merges agentmemory into that agent's MCP config and preserves any existing servers. Supported agent names:

`claude-code`, `copilot-cli`, `codex`, `cursor`, `gemini-cli`, `opencode`, `cline`, `continue`, `droid`, `hermes`, `openclaw`, `openhuman`, `pi`, `qwen`, `warp`, `zed`, `antigravity`, `kiro`.
`claude-code`, `copilot-cli`, `codex`, `cursor`, `gemini-cli`, `opencode`, `cline`, `continue`, `droid`, `hermes`, `openclaw`, `openhuman`, `pi`, `qwen`, `warp`, `zed`, `antigravity`, `kiro`, `bob`.

If you cannot tell which agent you are, default to `claude-code`. After wiring, restart the agent or run its MCP reload command (for example `/mcp` in Claude Code) so it picks up the server.

Expand Down
13 changes: 13 additions & 0 deletions src/cli/connect/bob.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { homedir } from "node:os";
import { join } from "node:path";
import { createJsonMcpAdapter } from "./json-mcp-adapter.js";

export const adapter = createJsonMcpAdapter({
name: "bob",
displayName: "IBM Bob",
detectDir: join(homedir(), ".bob"),
configPath: join(homedir(), ".bob", "settings", "mcp.json"),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🌐 Web query:

IBM Bob MCP settings file name path mcp_settings.json mcp.json global configuration ~/.bob/settings

💡 Result:

IBM Bob manages Model Context Protocol (MCP) server configurations through two primary levels of JSON-based files. Global Configuration Global settings are stored in mcp_settings.json, which applies configurations across all workspaces [1][2][3]. The standard location for this file is in the user's home directory under the.bob/settings/ subdirectory [4][5]: ~/.bob/settings/mcp_settings.json Note: Depending on the specific environment or installation, some official documentation may refer to the global file simply as ~/.bob/mcp_settings.json [2][3]. Additionally, some IDE-integrated versions of IBM Bob store these settings within application-specific data directories, such as: macOS: ~/Library/Application Support/IBM Bob/User/globalStorage/ibm.bob-code/settings/mcp_settings.json [6] Linux: ~/.config/IBM Bob/User/globalStorage/ibm.bob-code/settings/mcp_settings.json [6] Windows: %APPDATA%\IBM Bob\User\globalStorage\ibm.bob-code\settings\mcp_settings.json [6] Project-Level Configuration Project-specific settings are stored in a file named mcp.json [1][2]. This file is located in the root directory of your project folder [1][3]:.bob/mcp.json If the same MCP server name exists in both global and project configurations, the project-level setting takes precedence [2][3]. You can manage these files directly or through the IBM Bob settings menu, which allows you to open and edit the global or project-specific MCP configurations [1][7]. Changes usually require a restart or reload of IBM Bob to take effect [4][8].

Citations:


🏁 Script executed:

git ls-files | rg '^src/cli/connect/bob\.ts$|^README|bob|mcp'

Repository: rohitg00/agentmemory

Length of output: 1176


🏁 Script executed:

sed -n '1,220p' src/cli/connect/bob.ts

Repository: rohitg00/agentmemory

Length of output: 620


🏁 Script executed:

sed -n '1,260p' src/cli/connect/json-mcp-adapter.ts

Repository: rohitg00/agentmemory

Length of output: 4079


Use Bob’s global MCP settings filename here~/.bob/settings/ should use mcp_settings.json; mcp.json is the project-level name, so this adapter writes and verifies the wrong file and Bob won’t read it.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/cli/connect/bob.ts` at line 9, The Bob adapter is using the project-level
MCP filename instead of the global settings filename, so update the config path
in the bob connector to use Bob’s global MCP settings file name. In the
connect/bob.ts logic that builds the settings path with join(homedir(), ".bob",
"settings", ...), replace the current mcp.json reference with mcp_settings.json
so the adapter writes and verifies the file Bob actually reads.

docs: "https://github.com/rohitg00/agentmemory#bob",
protocolNote:
"→ Using MCP. Runs the agentmemory server at localhost:3111.",
});
2 changes: 2 additions & 0 deletions src/cli/connect/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as p from "@clack/prompts";
import pc from "picocolors";
import type { ConnectAdapter, ConnectOptions, ConnectResult } from "./types.js";
import { adapter as antigravity } from "./antigravity.js";
import { adapter as bob } from "./bob.js";
import { adapter as claudeCode } from "./claude-code.js";
import { adapter as cline } from "./cline.js";
import { adapter as copilotCli } from "./copilot-cli.js";
Expand Down Expand Up @@ -35,6 +36,7 @@ export const ADAPTERS: readonly ConnectAdapter[] = [
continueDev,
zed,
droid,
bob,
opencode,
openclaw,
hermes,
Expand Down