Skip to main content
Glama
thelad-dev

ibm-bob-cursor-bridge

by thelad-dev

IBM Bob → Cursor MCP Bridge

MCP-Server, der IBM Bob Shell als Tools für Cursor bereitstellt.

Ausführliche Dokumentation: docs/README.md — Einrichtung, IBM-i-MCP-Integration, Beispiele (TASA001F01, DDSHOPBES.CSV).

Voraussetzungen

  • Node.js 18+

  • Bob Shell (bob --version, aktuell 1.0.6 auf vm88)

  • BOBSHELL_API_KEY für non-interactive Aufrufe

Related MCP server: macOS Shell MCP Server

Installation

git clone
cd ./bob-cursor-mcp
npm install
npm run build

Cursor einrichten

Die Projekt-Konfiguration liegt in .cursor/mcp.json. Ergänzen Sie dort den API-Key:

{
  "mcpServers": {
    "ibm-bob": {
      "command": "node",
      "args": ["./bob-cursor-mcp/dist/index.js"],
      "env": {
        "BOBSHELL_API_KEY": "<Ihr-Key>",
        "BOB_BIN": "~/.local/bin/bob"
      }
    }
  }
}

Danach in Cursor: Settings → Tools & MCP → Server ibm-bob aktivieren.

Alternativ können Sie .env.example nach .env kopieren und den Key dort setzen — für Cursor MCP muss der Key jedoch in mcp.json oder der globalen MCP-Konfiguration stehen.

MCP-Tools

Tool

Beschreibung

bob_version

Healthcheck: installierte Bob-Version

bob_prompt

Aufgabe an Bob delegieren (Modi: plan, code, advanced, ask)

bob_list_sessions

Bob-Sessions des Projekts auflisten

bob_resume_session

Session fortsetzen und Follow-up-Prompt senden

bob_prompt und bob_resume_session nutzen standardmäßig den Modus advanced (MCP-Tools inkl. IBM i). Über BOB_DEFAULT_CHAT_MODE oder das Tool-Argument mode änderbar.

bob_prompt und bob_resume_session nutzen --approval-mode=auto_edit: Datei-Edits werden automatisch genehmigt, Shell-Befehle weiterhin von Bob bestätigt.

Beispiel (Agent-Chat)

Nutze bob_version, dann bob_prompt im Modus ask: Was ist 2+2?

Umgebungsvariablen

Variable

Default

Beschreibung

BOBSHELL_API_KEY

Pflicht für Prompt/Resume

BOB_BIN

bob

Pfad zur Bob-CLI

BOB_DEFAULT_CHAT_MODE

advanced

Standard-Modus für bob_prompt / bob_resume_session

BOB_DEFAULT_WORKSPACE

Cursor-Projekt / cwd

Standard-Arbeitsverzeichnis

BOB_TIMEOUT_MS

600000

Timeout pro Bob-Aufruf

Smoke-Test

npm run build
node scripts/smoke-test.mjs

Architektur

Cursor Agent → MCP (stdio) → dieser Server → bob CLI → IBM Bob Shell

Bob bleibt MCP-Client; dieser Server ist die Brücke in die andere Richtung (Cursor → Bob).

Available Tools

4 tools
bob_list_sessionsA

List Bob Shell sessions for the current project workspace.

ParametersJSON Schema
NameRequiredDescriptionDefault
workspaceNoProject directory whose Bob sessions should be listed.

TDQS

A3.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must convey behavioral details. It only states the basic listing action and scope, but omits any information about output format, sorting, default behavior when the optional workspace parameter is omitted, or whether it is a read-only operation. This is a significant gap for a tool with no annotation support.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no redundant words. It is perfectly sized for a straightforward list operation and front-loads the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple list tool with one optional parameter, the description is mostly adequate. However, it does not clarify the default for 'current' when the workspace parameter is omitted, which is a gap given the schema marks it optional. Since there is no output schema, a brief mention of what is returned would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides full coverage for the single 'workspace' parameter with a clear description. The tool description adds no extra meaning beyond the schema, simply restating the workspace scope. With 100% schema coverage, baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'List' with a clear resource 'Bob Shell sessions' and scope 'current project workspace.' It clearly distinguishes this from the sibling tools (prompt, version, resume) by explicitly naming the action of listing sessions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The context of listing sessions is clear and logically implies use before resuming or prompting. There are no explicit exclusions, but the tool's purpose is self-evident given the sibling names. No alternatives are named, but none are needed for a listing operation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

bob_promptA

Run IBM Bob Shell non-interactively with auto_edit approval (edits auto-approved, shell still confirmed by Bob).

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNoBob chat mode: plan, code, advanced, or ask.advanced
modelNoOptional Bob model override (-m).
stdinNoOptional stdin content piped into Bob alongside the prompt.
promptYesTask or question for IBM Bob Shell.
workspaceNoWorking directory for Bob. Defaults to the Cursor project root.
include_directoriesNoAdditional directories Bob may include in its workspace.

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses important behavioral traits: non-interactive execution and auto_edit approval (edits auto-approved, shell still confirmed). With no annotations provided, this fills a critical transparency gap about side effects. However, it does not cover other potential behaviors like output handling or error conditions, leaving some gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that communicates the operative verb, mode (non-interactive), and key approval behavior. Every word contributes value; there is no fluff or repetition of schema details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool that runs a shell with potential file modifications, the description is somewhat terse. It conveys the approval mode but omits what the output looks like, whether it streams, or how errors surface. While the schema covers parameter details, the description does not fully contextualize the execution behavior beyond the approval policy.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema provides full documentation for all 6 parameters (100% coverage), including descriptions for mode, model, stdin, prompt, workspace, and include_directories. The description does not add parameter-specific meaning beyond the schema, so a baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the primary action: running IBM Bob Shell non-interactively with a specific approval setting. The verb 'Run' and resource 'IBM Bob Shell' are explicit, and this distinguishes it from sibling tools like bob_version, bob_list_sessions, and bob_resume_session.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not provide any guidance on when to use this tool versus alternatives. It does not mention sibling tools or suggest scenarios (e.g., 'use this to execute a task, bob_list_sessions to view existing sessions'). The usage context is wholly implied by the tool name and purpose, not explicitly stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

bob_resume_sessionB

Resume a previous Bob Shell session and run a new prompt with auto_edit approval.

ParametersJSON Schema
NameRequiredDescriptionDefault
modeNoadvanced
modelNo
stdinNo
promptYesFollow-up prompt for the resumed session.
sessionYesSession index or "latest".
workspaceNo
include_directoriesNo

TDQS

B3.3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden of behavioral disclosure. It mentions 'auto_edit approval' as a key behavior but does not explain the consequences (e.g., potential file modifications, destructive actions, or permission requirements). This is insufficient for a tool that likely mutates state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that is front-loaded and free of filler. It efficiently conveys the core action and a key modifier (auto_edit approval), making it highly concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 7 parameters, no annotations, and no output schema, a one-sentence description is inadequate. It omits behavioral implications, return value expectations, and any guidance on the optional parameters, leaving too much uncertainty for an agent to use it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 29%, so the description must compensate, but it does not. It only implies the roles of session and prompt without adding detail on mode, model, stdin, workspace, or include_directories. The mention of 'previous' and 'new' adds minimal value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource ('Resume a previous Bob Shell session') and adds the unique action of running a new prompt with auto_edit approval. This clearly distinguishes it from siblings like bob_prompt (new sessions) and bob_list_sessions (listing).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use the tool (when resuming a session) but does not explicitly contrast it with alternatives or state when not to use it. The use case is clear from context, but no exclusions or alternative names are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

bob_versionA

Return the installed IBM Bob Shell version (health check).

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden of disclosing behavior. 'Return' explicitly indicates a read-only operation, and 'health check' implies non-destructive intent. Although it doesn't detail edge cases (e.g., if the shell isn't installed), for a simple version query this level of transparency is sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence that includes the key action and purpose ('health check') without any filler. It is optimally concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (no parameters, no output schema), the description is fully complete. It states what the tool returns and its intended use, leaving no critical gaps for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema is empty (zero parameters), so the baseline is 4. There are no parameter semantics to explain, and the description adds no unnecessary detail about parameters, which is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Return') with a clear resource ('installed IBM Bob Shell version'), making the tool's function unambiguous. It also distinguishes this from sibling tools (bob_prompt, bob_list_sessions, bob_resume_session) which focus on prompts and sessions, not version info.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'health check' immediately signals when to use this tool—i.e., for verifying the installation/status of IBM Bob Shell. It provides clear context for use, though it doesn't explicitly state when not to use it or mention alternatives. Since no alternatives are relevant for a version check, this is adequate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updatesv0.1.0
    • First observedbob_list_sessions
    • First observedbob_prompt
    • First observedbob_resume_session
    • First observedbob_version

TDQS

A3.9/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose: running a new prompt, resuming an existing session, listing sessions, and checking version. The overlap between bob_prompt and bob_resume_session is resolved by the explicit new-vs-resume distinction.

Naming Consistency4/5

All tools share the 'bob_' prefix, but the second part mixes noun forms (prompt, version) with verb_noun forms (list_sessions, resume_session). The pattern is readable and predictable, though not uniformly verb_noun.

Tool Count5/5

With 4 tools, the server is well-scoped for its purpose, covering the core operations without unnecessary complexity or bloat.

Completeness4/5

The set covers running a prompt, resuming a session, listing sessions, and checking version. Minor gaps exist, such as no explicit session termination or detailed session inspection, but the core lifecycle is represented.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thelad-dev/bob-cursor-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server