Hacker Bob 标志

Hacker Bob

社区
vmihalis

A local MCP runtime that attacks what you own and only reports what it proved. 17 CVEs across 9 projects came out of this repo. Install: npx -y hacker-bob@latest install /path/to/project, then run /bob-evaluate target.com

发布者vmihalis
代码仓库hacker-bob
语言JavaScript
复刻数
17
星标数
100
可用工具
0
传输类型stdio
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    Hacker Bob 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 100 个 Star 和 17 个 Fork。

01: Run Bob

Choose the project directory where you want to run Bob. Install into that project, not into this source checkout unless you are developing Bob itself.

1. Install

bash
npm install --global hacker-bob@latest
hacker-bob install /path/to/your/project
cd /path/to/your/project

The installation animation uses the equivalent global-CLI form against a disposable local workspace and filters the real output to its key milestones. It was generated with VHS (view source).

2. Verify the local MCP runtime

bash
node -e "require('./mcp/server.js'); console.log('MCP ok')"

3. Restart your host and run Bob

Restart your host CLI from the same project directory, then run the matching command:

[!WARNING] Run Bob only against targets you own or are explicitly authorized to test. Replace <authorized-target> with an approved domain, contract address, or repository path.

HostEvaluateStatusUpdateExport
Claude Code/bob-evaluate <authorized-target>/bob-status/bob-update/bob-export
Codex$bob-evaluate <authorized-target>$bob-status$bob-update$bob-export
Kimi CLI/skill:bob-evaluate <authorized-target>/skill:bob-status/skill:bob-update/skill:bob-export
Generic MCP hostConnect the generated .mcp.json, then follow .hacker-bob/generic-mcp/hacker-bob.md.Use the host's MCP tool interface.Re-run the shell updater.Use the host's MCP tool interface.
Shell-hacker-bob doctor /path/to/your/projecthacker-bob update /path/to/your/project --adapter claude-

Check a local installation and reduce the full doctor report to a quick readiness signal:

bash
hacker-bob doctor ./project \
  --adapter claude \
  --json \
| jq '{
    ready: .ok,
    host: .adapters[0],
    passed: (
      .checks
      | map(select(.status == "ok"))
      | length
    )
  }'

The doctor demo above was generated with VHS from a real, isolated Hacker Bob install (view source). It checks only a disposable local workspace: no live target, recon, signup, or scan.

Evaluation start against a controlled lab target

Hacker Bob starting an authorized evaluation in Claude Code

Full installation doctor

Hacker Bob doctor reporting a healthy installation

Fresh-session status

Hacker Bob status immediately after installation

Receipt portfolio

17 CVE IDs credited across nine open-source projects, all produced by Bob. Fourteen IDs link to a public CVE record or project advisory; the remaining three are assigned but not public yet. The portfolio matches Hacker Bob's live receipts. rpcbind was co-reported with AISLE; Samba credits Bob as an additional reporter alongside the DREAM team.

The receipt roll mirrors that live portfolio; it is not simulated scan output. Red provides visual emphasis and does not assert Common Vulnerability Scoring System (CVSS) severity. Generated with VHS from a checked-in tape and receipt source.

ProjectCVE IDsPublic source statusReporter role
stable-diffusion.cppCVE-2026-47747, CVE-2026-47748, CVE-2026-47749, CVE-2026-47750Published CVE recordsSole reporter
netatalkCVE-2026-49387, CVE-2026-49388, CVE-2026-49389, CVE-2026-49390Published project advisoriesSole reporter
libcupsfiltersCVE-2026-64611, CVE-2026-64612Published CVE recordsSole reporter
libtirpcCVE-2026-66714, CVE-2026-66715Assigned; public records pendingSole reporter
OpenSSHCVE-2026-35388Published CVE recordSole reporter
libheifCVE-2026-49271Published CVE recordSole reporter
SambaCVE-2026-3012Published CVE recordAdditional reporter alongside the DREAM team
rpcbindCVE-2026-16277Published CVE recordCo-reported with AISLE
OpenEXRCVE-2026-65979Assigned; public record pendingSole reporter

03: The evidence engine

Hacker Bob installs a local MCP runtime into a project directory and connects it to Claude Code, Codex, Kimi CLI, or another MCP-capable host. The runtime coordinates surface mapping, authentication setup, parallel surface testing, finding verification, grading, reporting, and local evidence handling.

Discover. Test. Prove.

DiscoverTestProve
Maps subdomains, live hosts, archives, crawled URLs, JavaScript hints, and repository surfaces.Establishes authorized auth profiles and runs parallel evaluators against prioritized attack surfaces.Independently verifies findings, collects bounded evidence, grades impact, and produces submission-ready reports.
Imports local artifacts and optional public-intelligence leads without rewriting the canonical attack surface.Evaluates whether isolated findings combine into higher-impact chains.Keeps run state, telemetry, reports, and evidence local under a session-owned root.

Bob can evaluate staging or authorized live applications, checked-out open-source repositories, smart-contract surfaces, and pull-request diffs in continuous integration.

Seven stages. One evidence chain.

Bob follows a structured workflow:

  • SURFACE_DISCOVERY: Collects subdomains, live hosts, archived URLs, crawled URLs, nuclei signals, JavaScript hints, and optional deep-surface-discovery lead data.
  • AUTH: Attempts authorized account setup when possible and records usable profiles for later differential testing.
  • EVALUATE: Starts parallel evaluators against runtime-prioritized attack surfaces.
  • CHAIN: Evaluates whether individual findings combine into higher-impact scenarios.
  • VERIFY: Runs independent verification passes and collects bounded evidence for surviving reportable findings.
  • GRADE: Scores confirmed findings and decides whether they are ready to submit, should be held, or should be discarded.
  • REPORT: Produces a clean report with verified proof and evidence references.

MCP ranking computes runtime priority for status views and evaluator briefs. Imports and public-intel fetches do not rewrite attack_surface.json.

Supported surfaces

SurfaceHow Bob approaches it
Web applications and application programming interfaces (APIs)Surface discovery, authorized account setup, first-party target-host requests, browser-assisted flows, parallel evaluation, and independent verification.
Smart contractsPublic HTTPS RPC/REST ladders and preflighted endpoints, with dedicated fork runners for Foundry, Anchor, Aptos, Sui, Substrate, CosmWasm, and Halmos workflows.
Open-source repositoriesRepository inventory, session-scoped Docker plans, read-only repo mounts by default, and a dedicated native C/C++ parser, protocol, and memory-safety surface.
Pull-request diffsHeadless GitHub Actions review with inline findings, a Check Run summary, and a full report artifact.

Open-source software (OSS) project review mode

Local open-source project review runs against a checked-out repository instead of a live target domain. It inventories repository files, writes a session-scoped Docker plan, and keeps requested dependency installs and build reproductions inside a Docker image. Docker command replay mounts the repository read-only by default and uses a session-owned writable work directory. Native C/C++ projects receive dedicated parser, protocol, and memory-safety analysis grounded in reachable files and functions.

Local multi-session dashboard

For a local read-only dashboard over multiple concurrent sessions:

bash
hacker-bob dashboard --repo-only

The dashboard binds to 127.0.0.1:4873 by default and reads ~/hacker-bob-sessions. It shows OSS/repo progress, pending handoffs, claims, verification/evidence/grade state, and cross-session bottlenecks.

04: CI diff review

Bob can review pull request (PR) diffs automatically using GitHub Actions. The review runs headless inside GitHub-hosted runners and posts inline comments plus a Check Run result on every PR.

Quick setup

  1. Set org-level secrets and variables once in your GitHub organization (Settings > Secrets and variables > Actions):

    NameTypeDescription
    ANTHROPIC_OAUTH_TOKENSecretRecommended Anthropic OAuth token from claude setup-token for the headless Claude reviewer.
    ANTHROPIC_API_KEYSecretAnthropic API key fallback for the headless Claude reviewer. Required only when ANTHROPIC_OAUTH_TOKEN is not set.
    BOB_INSTALL_TOKENSecretClassic personal access token with read:packages for installing @bobnetsec/* packages. Add classic repo scope only if this same secret must check out a private source repository; otherwise keep checkout credentials separate.
    BOB_VERSIONVariableBob release tag to cache, e.g. v1.2.3. Shared across repos in the org so they reuse the same warm workspace cache.
  2. Add the caller workflow to each repository you want reviewed. Create .github/workflows/bob-review.yml with the minimal content below:

    yaml
    name: Bob Diff Review
    
    on:
      pull_request:
        types: [opened, synchronize, reopened]
    
    permissions:
      pull-requests: write
      checks: write
      contents: read
    
    jobs:
      bob-review:
        uses: bobnetsec/bob-workflows/.github/workflows/bob-review.yml@v1
        secrets: inherit

    That is the complete file. secrets: inherit propagates the org-level secrets automatically; no per-repository secret declarations are required.

Optional inputs

Pass these under with: on the bob-review job if you need to override the reusable workflow defaults:

InputDefaultDescription
min-severity-for-failurehighMinimum severity that sets the PR check to failed. Accepts critical, high, medium, or low. Set to critical to fail only on critical findings; set to low to fail on any finding.

Example with min-severity-for-failure overridden:

yaml
jobs:
  bob-review:
    uses: bobnetsec/bob-workflows/.github/workflows/bob-review.yml@v1
    secrets: inherit
    with:
      min-severity-for-failure: critical
      bob-workflows-ref: v1

Viewing findings

  • Inline PR comments: Bob posts a comment on each changed line that contains a finding. Comments include severity, a short description, and a suggested fix when available.
  • Check Run: A "Bob Diff Review" check appears in the PR Checks tab. The summary shows findings_count, critical_count, and links to the full report artifact.
  • Actions log: The "Log review outputs" step in the run log prints findings_count, critical_count, and review_url for quick triage.

Fork PRs

Forked PRs do not receive org-level secrets, and same-repo PRs may also run before reviewer credentials are configured. The workflow detects missing Anthropic credentials and skips the Bob review steps instead of failing the PR check in setup. No additional guard is needed in the caller workflow.

Versioning

Pin the reusable workflow to a release tag or full commit SHA. If you override bob-workflows-ref, set it to the same immutable ref so the workflow checks out the matching local action source:

yaml
uses: bobnetsec/bob-workflows/.github/workflows/bob-review.yml@v1

05: Safety boundary

[!WARNING] Only run Bob against targets, accounts, applications, APIs, and infrastructure you own or are explicitly authorized to test. Bob does not prove authorization, enforce a program policy, guarantee containment, or control arbitrary host shell commands and unrelated browser activity.

Bob runs offensive security on surfaces you control: your own code in CI, your staging environments, and authorized live targets. It can send real network requests, run local surface-discovery tools, import local artifacts, and preserve sensitive run data on disk. You are responsible for using it only where you have permission.

Only run Bob against targets, accounts, applications, APIs, and infrastructure you own or are explicitly authorized to test. Read the scope and rules of engagement before starting an evaluation.

Bob does not prove authorization, enforce a program policy, or guarantee containment. For session-bound MCP tools, caller target_domain is only a lookup key: Bob authorizes against initialized session state, validates the stored target and target_url, and rejects drift before handlers run. Bob's MCP-scoped HTTP tools additionally require a public target_domain and only send first-party target-host requests; browser auto-signup routes page HTTP requests through a target-host guard but refuses effective block_internal_hosts: true because Chromium resolves network destinations outside Bob's safeFetch transport. Bob does not control arbitrary host shell commands, unrelated browser activity, or external surface-discovery binaries. By default, normal, yolo, and compatible legacy sessions allow public first-party hostnames that resolve to private infrastructure; paranoid sessions default to direct-egress DNS/private-address blocking unless the operator starts the session with --allow-internal-hosts for an explicitly authorized internal/lab program. First-party host scope is not DNS-rebinding or SSRF protection. Bob uses the packaged Public Suffix List via psl to reject public-suffix-only target_domain values and isolate registrable tenant domains. If that packaged list is stale, an operator can set BOB_PSL_OVERLAY_FILE to a local suffix file before running Bob; overlay matches are recorded in HTTP audit rows with public_suffix_source and psl_overlay_file, and the overlay is not a per-request bypass. For tools that support it, pass --block-internal-hosts or block_internal_hosts: true when you need local DNS/private-address blocking outside paranoid mode. The effective value is persisted in state and HTTP audit rows. That stricter mode is only available on direct egress, not proxy-backed egress profiles where target DNS and routing happen outside Bob.

Bob binds the selected egress_profile to the session at bob_init_session and records a redacted egress_profile_identity_hash in state, HTTP audit, evaluator briefs, signup responses, pipeline events, and analytics. Egress-bound HTTP and signup tools require initialized session state; legacy sessions may default presentation/progress fields, but missing or drifted authority fields such as target, target_url, internal-host policy, or egress identity fail closed for tools that rely on them. Bob hashes the profile name, region, proxy-configured bit, proxy route, and env/source identity, excluding raw credentials and description text; credential rotation on the same proxy route is allowed, but profile, route, or source drift fails closed.

Smart-contract RPC/REST tools use a separate direct-only model: shipped public ladders, explicit endpoints / fork_urls, and BOB_<FAMILY>_RPCS_<NETWORK> env overrides must be public HTTPS endpoints. Bob filters localhost/private/internal literals and performs bounded DNS private-address preflight for SC endpoints. Bob-owned Node SC reads and EVM source fetches then pin the HTTPS socket lookup to one of those preflighted public DNS answers. Fork runners are different: Foundry, Anchor, Aptos, Sui, Substrate, CosmWasm, and Halmos subprocesses run with proxy/RPC/secret env scrubbed, then receive only runner-created fork URL env or CLI args that came from preflighted public endpoints; Bob does not control or DNS-pin the downstream CLI socket. SC RPC does not use egress_profile proxy routing, and private/localnet RPC is unsupported by default until a per-family opt-in policy exists. Returned endpoint evidence and policy rejections redact credentials and query values.

If your Claude Code workflow uses --dangerously-skip-permissions, use it only in a dedicated workspace for authorized security testing.

Data and security model

Bob stores local run state, telemetry, and evidence under a session root that all reads and writes resolve to. The pre-v2.0 ~/bounty-agent-sessions/ root is no longer auto-resolved or auto-copied; inspect a leftover legacy root with hacker-bob install /path/to/your/project --purge-legacy-session-root (dry-run by default, --yes to delete). Treat these directories as sensitive. They can contain target names, request metadata, notes, credentials metadata, and report evidence from authorized testing.

Session roots and concurrent engines

Bob elects exactly one engine per session root. To run engines concurrently, give each workspace a disjoint root. An engine sharing state with another engine cannot enforce gates safely while that state is changing. The installer creates ~/hacker-bob-sessions-<workspace>-<hash> from the workspace path and writes it as BOB_SESSIONS_ROOT in that workspace's .mcp.json server environment and .claude/settings.json.

BOB_SESSIONS_ROOT is operator configuration. The engine reads and freezes it at boot; no agent or MCP tool can change it. Keep the path absolute, private to your user, and outside every other session root.

Existing workspaces that still have sessions under ~/hacker-bob-sessions/ keep using that shared root. To move one, run mv ~/hacker-bob-sessions/<target-domain> ~/hacker-bob-sessions-<workspace>-<hash>/ using the exact destination printed by the installer, then reinstall. The standalone dashboard reads the BOB_SESSIONS_ROOT exported by its shell. Point it at one root explicitly with BOB_SESSIONS_ROOT=~/hacker-bob-sessions-<workspace>-<hash> hacker-bob dashboard.

Operator caution: disjoint roots make concurrent engines safe; they do not make concurrent evaluations of the same target safe. Rate limits, circuit breakers, and request budgets are per engine. Two engines evaluating one target double its request volume without coordinating. Evaluate different targets.

During an evaluation, Bob may make outbound HTTP requests, run local surface-discovery tools, import HTTP or static artifacts, and use host-side reasoning over the collected context. Optional third-party services and dependencies, such as browser automation dependencies, CAPTCHA solving, public-intel sources, or external surface-discovery tools, are used only when you configure the relevant dependencies or credentials.

The npm packages are published through the project release workflow with npm provenance. hacker-bob is the canonical package; hacker-bob-cc, hacker-bob-codex, and hacker-bob-kimi are small wrapper packages that depend on the matching canonical version.

Read DISCLAIMER.md before using Bob on any target.

06: Reference

Dense operational details stay here: complete, searchable, and out of the quick path.

Installation

hacker-bob is the canonical npm package:

bash
npm install --global hacker-bob@latest
hacker-bob install /path/to/your/project

Adapter-specific installs are available when you want to choose the host explicitly:

bash
hacker-bob install /path/to/your/project --adapter claude
hacker-bob install /path/to/your/project --adapter codex
hacker-bob install /path/to/your/project --adapter generic-mcp
hacker-bob install /path/to/your/project --adapter kimi
hacker-bob install /path/to/your/project --adapter all

The installer is idempotent and preserves unrelated host configuration. It writes the shared MCP runtime to mcp/, neutral Bob resources to .hacker-bob/, and adapter-specific files for the selected host.

Underneath that narrative, the engine drives a strict six-state lifecycle FSM (SETUP -> OPEN_FRONTIER -> CLAIM_FREEZE -> VERIFY -> GRADE -> REPORT, with defined back-edges so an operator can re-enter OPEN_FRONTIER from any later state). The persisted SessionNucleus (session-nucleus.json) is the sole authority for a session's identity, scope, and lifecycle state; state.json is a grant-free READ PROJECTION derived from it, never a second write path; and session-events.jsonl is provenance/audit only. A session that predates (or somehow lost) its nucleus gains one exactly once through migrateLegacySessionAuthority, and its legacy projection stays readable but grant-free until that migration runs. bob_read_session_nucleus and bob_read_session_summary both surface a verified boolean alongside the nucleus so callers can distinguish a cryptographically verified nucleus from an unverified state-derived fallback.

OSS Project Review Mode

AdapterInstalled files
claude.claude/ commands, skills, agents, hooks, statusline setup, and MCP settings.
codex$bob-* skills in ~/.codex/skills, a local .codex/plugins/hacker-bob plugin, .agents/plugins/marketplace.json, and Codex MCP activation metadata.
kimi.kimi/skills, .kimi/mcp.json, and .kimi/bob compatibility metadata. Installs PreToolUse session-guard hooks registered in ~/.kimi/config.toml.
generic-mcpA root .mcp.json entry plus prompt guide files under .hacker-bob/generic-mcp/.

When --adapter is omitted, Bob chooses an adapter from prior install metadata, host environment markers, project files, and installed host CLIs. Claude is the final fallback.

The MCP server name is hacker-bob. You will see hacker-bob in .mcp.json, in claude mcp list, and as the prefix on tool names such as mcp__hacker-bob__bob_*. Existing v1.x installs are auto-migrated on the next install or update: the legacy bountyagent server key and mcp__bountyagent__* permission strings are rewritten to the canonical hacker-bob form while operator-managed sibling servers and custom permissions are preserved.

Source installs are for contributors and local development:

bash
git clone https://github.com/vmihalis/hacker-bob.git
cd hacker-bob
npm ci
./install.sh /path/to/your/project

Commands

Claude Code commands:

text
/bob-evaluate <authorized-target>         # start a normal evaluation
/bob-evaluate <authorized-target> --deep  # broaden discovery and follow-up
/bob-evaluate resume <authorized-target>  # resume an existing session
/bob-status                  # show latest session status
/bob-debug                   # inspect the latest local run
/bob-update                  # preview and install the latest release
/bob-export                  # create a release-scoped improvement bundle
/bob-egress                  # manage operator-controlled egress profiles

Codex uses the same command names with a $ prefix:

text
$bob-evaluate <authorized-target>
$bob-status
$bob-debug
$bob-update
$bob-export
$bob-egress

Kimi CLI uses a /skill: prefix:

text
/skill:bob-evaluate <authorized-target>
/skill:bob-status
/skill:bob-debug
/skill:bob-update
/skill:bob-export
/skill:bob-egress

For install diagnostics:

bash
hacker-bob doctor /path/to/your/project
hacker-bob doctor /path/to/your/project --adapter codex
hacker-bob doctor /path/to/your/project --adapter kimi

Requirements

  • Node.js 20 or newer
  • One supported host: Claude Code, Codex, Kimi CLI, or another MCP-capable host
  • curl and python3
  • A dedicated project directory for the installed runtime

Optional surface-discovery tools improve coverage when they are installed:

bash
go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
go install github.com/projectdiscovery/httpx/cmd/httpx@latest
go install github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
go install github.com/owasp-amass/amass/v4/...@latest
go install github.com/tomnomnom/assetfinder@latest
go install github.com/projectdiscovery/chaos-client/cmd/chaos@latest
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest
go install github.com/projectdiscovery/tlsx/cmd/tlsx@latest
go install github.com/projectdiscovery/katana/cmd/katana@latest
go install -v github.com/PentestPad/subzy@latest
git clone https://github.com/ticarpi/jwt_tool ~/jwt_tool
python3 -m pip install -r ~/jwt_tool/requirements.txt

Bob still runs without the optional tools; the installed toolset determines which surface-discovery paths are available.

Updates

From Claude Code:

text
/bob-update

From Codex:

text
$bob-update

From Kimi:

text
/skill:bob-update

From a shell:

bash
hacker-bob update /path/to/your/project --adapter claude

After an update, fully restart your host CLI in the project directory so it reloads commands, MCP config, hooks, and skills.

Bob also checks for available updates once per day on session start and stores the result under ~/.cache/hacker-bob/update-checks/. Status views read that local cache.

Exporting run data

After testing with an installed release, run /bob-export in Claude, $bob-export in Codex, or /skill:bob-export in Kimi. Bob writes a timestamped bundle under:

text
~/bounty-agent-telemetry/release-bundles/v<version>/

The bundle includes summaries, filtered telemetry, session references, and a handoff document for improving future releases. Export is read-only and does not touch targets.

Troubleshooting

Use the doctor command first:

bash
hacker-bob doctor /path/to/your/project --adapter all

Common checks:

  • node -e "require('./mcp/server.js'); console.log('MCP ok')" should pass from the installed project.
  • Claude Code must be restarted after install or update before /bob-* commands and MCP settings load.
  • Codex must be restarted after install or update before $bob-* skills and local plugin wiring load.
  • Kimi CLI must be restarted after install or update before /skill:bob-* skills and MCP config load.
  • .mcp.json should contain an mcpServers["hacker-bob"] entry pointing at the installed project's mcp/server.js. v1.x installs are auto-migrated to this canonical key on next install or update.
  • If an upgrade leaves mcp/tools/ missing, rerun the installer with hacker-bob@latest.

Detailed guides:

Development

For local development on Bob itself:

bash
npm test
npm run test:native-darwin # Darwin arm64 + Node.js 20 qualification
npm run release:check
npm run release:check:dependencies

To push the current checkout into a separate test workspace:

bash
./dev-sync.sh /absolute/path/to/test-workspace
./dev-sync.sh /absolute/path/to/test-workspace --adapter codex
./dev-sync.sh /absolute/path/to/test-workspace --adapter kimi

The maintainer workflow is documented in CLAUDE.md.

07: Contributing

ContributeReport securelyReuse
Pull requests are welcome. Read CONTRIBUTING.md before opening an issue or PR.Report vulnerabilities in Hacker Bob itself through the private flow in SECURITY.md. Do not open a public issue or discussion.Hacker Bob is licensed under the Apache License 2.0. See NOTICE.

将 Hacker Bob MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Hacker Bob 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Hacker Bob 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Hacker Bob MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "hacker-bob": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Hacker Bob MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Hacker Bob MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Hacker Bob 帮我完成这项任务吗?
Hacker Bob
当然。我已阅读。
以下是我使用 Hacker Bob 得到的结果。

常见问题

Hacker Bob MCP 服务器有什么用途?

Hacker Bob 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Hacker Bob MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Hacker Bob,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Hacker Bob MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Hacker Bob 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Hacker Bob MCP 连接到 TypingMind?

Hacker Bob 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Hacker Bob MCP 在 TypingMind 中提供哪些工具?

Hacker Bob 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Hacker Bob MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Hacker Bob 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇