-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add wire support for IBM Bob #1000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DucNgoQuang
wants to merge
1
commit into
rohitg00:main
Choose a base branch
from
DucNgoQuang:feat/bob-wire
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+16
−1
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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"), | ||
| docs: "https://github.com/rohitg00/agentmemory#bob", | ||
| protocolNote: | ||
| "→ Using MCP. Runs the agentmemory server at localhost:3111.", | ||
| }); | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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:
Repository: rohitg00/agentmemory
Length of output: 1176
🏁 Script executed:
sed -n '1,220p' src/cli/connect/bob.tsRepository: rohitg00/agentmemory
Length of output: 620
🏁 Script executed:
sed -n '1,260p' src/cli/connect/json-mcp-adapter.tsRepository: rohitg00/agentmemory
Length of output: 4079
Use Bob’s global MCP settings filename here —
~/.bob/settings/should usemcp_settings.json;mcp.jsonis the project-level name, so this adapter writes and verifies the wrong file and Bob won’t read it.🤖 Prompt for AI Agents