Zum Inhalt springen

MCP Bash Framework Updates & Release Notes

Einträge
55
Quellen
1
Zuletzt aktualisiert

Folge MCP Bash Framework, um die Release Notes in deinen Feed zu holen.

MCP Bash Framework von Yaniv Golan

Yaniv Golan: MCP Bash Framework 1.9.5

Der Server verweigert Tool-Aufrufe, wenn die Datei server.d/policy.sh nicht sicher geladen werden kann (z. B. wegen unsicherer Berechtigungen oder Syntaxfehlern) und meldet den Grund beim Start auf stderr.

Behaviour changes to check before upgrading

  • Tool calls are refused while server.d/policy.sh can't be loaded safely: the server refuses to source a policy.sh that it, server.d or the project root lets group or other users write, that is a symlink or that you don't own, or that has a syntax error. Before, it then ran without it: the operator allowlist still applied, but the project's own restrictions (a read-only mode, say) were silently dropped, the warning reached only the log, and with a syntax error bash 3.2 stopped the call with no response. Now every tool call gets an error result naming the file, the reason and the fix (for example chmod go-w), and the reason is printed on stderr at startup. Projects whose directories are group-writable (a umask of 002, common on Ubuntu and Debian) must fix the permissions.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.9.6 – Verhaltensänderungen beim Start

Beim Serverstart wird policy.sh nun testweise geladen; Tool-Aufrufe werden verweigert, wenn die Datei beim Laden oder danach fehlerhaft ist, und der Test wartet nun bis zu 30 Sekunden.

Behaviour changes to check before upgrading

  • server.d/policy.sh is test-loaded once at every server start, so its top-level code runs one extra time: to catch a policy.sh that dies while it is loaded, the server sources it in a separate bash process at each start, before any call. Anything its top level does outside its functions (writing files, network calls, output) now happens twice per start, and a slow top level delays the server's first answer. Keep policy.sh to function definitions and plain assignments.
  • Tool calls are refused when policy.sh dies while it is loaded: a top-level command that fails, a syntax error in a file policy.sh sources, or a top-level exit. Before, a syntax error in a sourced file could leave the project's hook undefined on bash 4+, so the tool ran without the project's restrictions; a failing top-level command or an exit ended the call with no response. Now the call gets an error result naming the reason, and the reason is printed on stderr at startup.
  • Calls are refused when a file policy.sh sources breaks while the server runs, if the project's hook (mcp_tools_policy_project, or a mcp_tools_policy_check that replaces the built-in check) is then no longer defined. Other mid-run breaks are caught at the next start: restart the server after editing files policy.sh sources.

Changed

  • test_exit_stops_tools.sh waits up to 30 s for its tool to start (it timed out under load).

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.9.2: Fehlerbehebungen

Betroffene Tools ohne outputSchema liefern bei Fehlern keine structuredContent mehr, und ein Server bewertet geladene Registry-Caches nun anhand des Dateiänderungszeitpunkts statt als frisch gescannt.

Behaviour changes to check before upgrading

  • Error results from tools with an outputSchema have no structuredContent: when a tool that declares an outputSchema returns an error result carrying structuredContent (the {success: false, error} envelope from mcp_error and mcp_result_error, or JSON output with a non-zero exit), the server now drops structuredContent and moves the envelope's error to _meta["mcpbash/error"] (type, message, hint, and data, or the error's other fields as data). The TypeScript SDK client, which Claude Desktop uses, checks structuredContent against the outputSchema on error results too, so those errors failed in Desktop instead of reaching the model. The text content is unchanged. Tools without an outputSchema are unchanged. <!-- lint-api-usage: allow -->

Fixed

  • A new server served the registry cache an earlier run left behind: a server that loaded .registry/tools.json (or the prompts, resources or templates cache) at startup treated it as scanned at that moment, so for the first TTL seconds (5 by default) it served the cached definitions, however old. That is when a client lists and makes its first call: after a tool's outputSchema changed, its first call failed with "Tool output does not satisfy outputSchema", and the change only showed up after a later rescan sent list_changed. A loaded cache is now dated by its file's modification time, so one older than the TTL, or dated in the future (a c…

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.9.3

Die Version 1.9.3 behebt, dass Live-Fortschrittsmeldungen von Tools nicht ankamen, mcp_client_supports_ui in Tools immer falsch war und ungültige UTF-8-Bytes in stderr auf macOS abgeschnitten wurden.

Fixed

  • Tool log messages never arrived with live progress on: with MCPBASH_ENABLE_LIVE_PROGRESS=true, the server flushed a tool's log stream from the wrong file name (log.<key>.ndjson instead of logs.<key>.ndjson), so mcp_log notifications from tools never reached the client. Fixing that exposed a race: the background flusher and the worker's final flush could both send the same progress or log line. Each stream's flush now holds a lock, and sends exactly the bytes it measured and only complete lines (a line the tool appended while the flush ran, or a line still being written, waits for the next flush), so every line is sent once.
  • mcp_client_supports_ui was always false inside tools: the SDK reads MCPBASH_CLIENT_SUPPORTS_UI or a file in the server's state directory, but the server passed neither to tools. So mcp_result_with_ui always sent its text fallback, even to a client that declared the MCP Apps extension (io.modelcontextprotocol/ui). The server now sets MCPBASH_CLIENT_SUPPORTS_UI (1 or 0) for each tool call.
  • A tool's stderr with bytes that aren't valid UTF-8 was cut short on macOS: in a UTF-8 locale, BSD tr stops at the first byte that isn't valid UTF-8, so _meta.stderr, the error message of a failed tool and error.data.stderrTail ended there, and the server logged "tr: Illegal byte sequence". Those tr calls now run in the C locale; the bytes reach the client as U+FFFD.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Yaniv Golan: MCP Bash Framework 1.9.4

Der Server startet nun auch ohne gesetzte TMPDIR-Variable im CI-Modus zuverlässig, und Log-Meldungen verunreinigen nicht mehr die Ausgabe von Ressourcen außerhalb der erlaubten Wurzeln.

Fixed

  • The server stopped at startup in CI mode when TMPDIR was unset: with MCPBASH_CI_MODE=true outside GitHub Actions (no RUNNER_TEMP or GITHUB_WORKSPACE), for example in a Docker container, bash 4 and later stopped with "TMPDIR: unbound variable", because the temp-root default was a malformed expansion. It now uses TMPDIR without its trailing slash, or /tmp. Bash 3.2 was not stopped but got an empty root, which a later fallback replaced.
  • mcp-bash run-tool put a log line in the result for a resource outside the roots: the warning that names the skipped path and the allowed roots was written to the same stdout as the resource, and became a {"type":"resource"} block holding the log notification. Only resource objects are embedded now. Over stdio the server was not affected.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.9.0: Verhaltensänderungen

In Version 1.9.0 des MCP Bash Frameworks erhalten Ressourcen-Lesevorgänge standardmäßig ein Zeitlimit von 120 Sekunden, und bei abnormalem Server-Stopp werden laufende Tools nach einer Sekunde beendet.

Behaviour changes to check before upgrading

  • resources/read has a default timeout of 120 seconds: a provider that takes longer is stopped and the client gets a -32603 error. Before, a read had no limit unless the client sent timeoutSecs. Set MCPBASH_DEFAULT_RESOURCE_TIMEOUT to raise it, or to 0 to turn it off.
  • Tools are stopped when the server stops abnormally: when the server exits on a signal (SIGTERM, SIGINT or SIGHUP, for example when the host quits), because the client stopped reading, because its parent died, or on a fatal error, tools still running get TERM, then KILL after 1 second. This also applies after shutdown when the client keeps the input open longer than MCPBASH_SHUTDOWN_TIMEOUT (5 seconds by default). Before, they ran on until they finished, and after the server's parent died it waited for them first. A normal end of input still waits for running tools. A tool with side effects that must not be interrupted should handle TERM and finish quickly, or be safe to rerun. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Yaniv Golan: MCP Bash Framework 1.9.1

Zeitüberschreitungen von Tools liefern jetzt wie andere Fehler ein Ergebnis mit isError: true und Details im _meta["mcpbash/error"]-Feld; außerdem werden Lookups robuster gegen SIGPIPE und auch im Minimalmodus ohne jq werden Fehlerdetails übermittelt.

Behaviour changes to check before upgrading

  • A tool timeout is an error result like any other: a timed-out tool now returns the same shape as mcp_fail and policy denials: isError: true, no structuredContent, and _meta["mcpbash/error"] with type: "timeout", message, hint (the tool's timeoutHint) and data (reason, timeoutSecs, exitCode, and progressExtendsTimeout/maxTimeoutSecs when progress-aware timeout is on). _meta.exitCode and _meta.stderr are unchanged. Before, the details were in structuredContent as {success: false, error: {...}}, which a tool's outputSchema doesn't describe, and the hint followed Suggestion: in the text (now Hint:). Clients that read structuredContent.error.type or .reason on a timeout should read _meta["mcpbash/error"].type and .data.reason.

Fixed

  • Reading a resource by URI could report it missing when two resources share the URI: lookups by name or URI piped every match into head -n 1. With large registry entries, head could exit while jq was still writing the second match; jq was then stopped by SIGPIPE and the lookup reported "not found". Tool, prompt, resource and completion lookups now take the first match in jq itself.
  • Timeouts without jq carry the error details: in minimal mode (no jq/gojq) a timeout result had only the message; it now has _meta["mcpbash/error"] and _meta.exitCode too.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.6.0

Version 1.6.0 bringt Verhaltensänderungen, die vor einem Upgrade geprüft werden sollten, etwa beim optionalen Git-Anbieter, bei URL-Ports, bei Umgebungsvariablen, bei Ressourcen, bei Completions und beim Protokoll-Handshake.

Behaviour changes to check before upgrading

Details are in the entries below.

  • Git provider (opt-in, MCPBASH_ENABLE_GIT_PROVIDER=true): hostnames need git 2.37 or later; older git refuses them, since it can't be pinned to the checked address (mcp-bash doctor warns). It no longer follows HTTP redirects. LFS-tracked files are returned as pointer files.
  • URL ports: the HTTPS and git providers refuse ports with leading zeros (:080) or out of range.
  • HTTPS and git providers: a host that doesn't resolve is no longer fetched, and both providers refuse every request if lib/policy.sh can't be loaded.
  • Tool and provider environment: only framework-owned MCP_* variables are passed by default, and MCPBASH_REMOTE_TOKEN* is never passed to tools or providers outside inherit mode (and is removed from tools' _meta in every mode). Add other names to the allowlist if a tool or provider needs them.
  • Resources: a declared mimeType is reported as declared again, so resources scaffolded with "mimeType": "text/plain" report text/plain.
  • Completions: registered completions without timeoutSecs time out after 30 seconds (0 disables).
  • initialize: a client asking for an unsupported protocol version now gets the latest supported version instead of an error; a non-string protocolVersion (e.g. false) now fails with -32602. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Version 1.7.0

Mit Version 1.7.0 warnt mcp-bash doctor, wenn Git fehlt, bietet einen Claude Code Plugin-Skill an und behebt eine Sicherheitslücke, bei der Ressourcen per Symlink umgeleitet werden konnten.

Added

  • mcp-bash doctor warns when the git provider is enabled but git is missing: With MCPBASH_ENABLE_GIT_PROVIDER=true and no git on PATH, every git resource read fails at fetch time. Doctor now warns (git.missing in --json).
  • Claude Code plugin with an mcp-bash skill: The repository is now a plugin marketplace. /plugin install mcp-bash --marketplace yaniv-golan/mcp-bash-framework installs a skill that walks an agent through creating, testing, wiring and bundling an mcp-bash server, and lists the traps that fail silently (deny-by-default tools, policy.sh, the tool environment, bash 3.2 under Claude Desktop, completion script names).

Security

  • Resources embedded in tool results can no longer be redirected by a symlink swap: A tool's embedded resources (MCP_TOOL_RESOURCES_FILE, mcp_result_text_with_resource) were checked against the roots by path and then opened by name up to three times, for mime detection, the binary check and the content. Someone able to write inside a root could swap the file for a symlink after the check, and the tool result then carried the content of a file outside the roots. The file is now read once through the same verified read as file:// resources, with the matched root, and detection and encoding use the bytes of that read. A file that isn't a regular file inside the roots when it is opened is skipped with a warning.

Changed …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.8.0: Verhaltensänderungen

Version 1.8.0 bringt Verhaltensänderungen wie Tool-Policy-Ablehnungen als Tool-Ergebnisse, migrierte Helper, anderes Fehlerformat für Argument-Helfer und SIGTERM bei Timeout.

Behaviour changes to check before upgrading

  • Tool policy denials: a call refused by MCPBASH_TOOL_ALLOWLIST or server.d/policy.sh now returns a tool result with isError: true and type policy_denied instead of a JSON-RPC error, and a policy's custom error code is no longer sent. mcp-bash run-tool output for a denial no longer contains the _mcpToolError marker: test harnesses that detect a refused call through that marker must check .isError instead (run-tool still exits 1).
  • Migrating to the frozen helpers: mcp-bash migrate --write changes your tools, not your tests. Update your own tests that assert the {success, result} envelope or the _mcpToolError marker; migrate can't see them.
  • SDK argument helpers: mcp_args_require, mcp_args_int, mcp_args_bool, mcp_require_path and mcp_download_safe_or_fail now report a missing or invalid argument as a tool error result (isError: true, _meta["mcpbash/error"].type = invalid_args) instead of a JSON-RPC -32602 error. Tests or clients that expect -32602 from these helpers must check .result.isError instead. mcp_fail_invalid_args itself still sends -32602.
  • Tools now receive SIGTERM on timeout and cancel: tools used to run with SIGTERM ignored, so only SIGKILL stopped them. A tool's own trap … TERM now runs when its call times out or is cancelled, and gets about a second before SIGKILL.

Changed …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.4.0

Version 1.4.0 behebt Probleme beim Lesen von templatierten Ressourcen mit benutzerdefinierten URI-Schemata und bei Datei-URIs unter bash 5.3.

Fixed

  • resources/read of a templated resource with a custom URI scheme now reaches the project provider: Template metadata never enters the static resource registry, so reading a URI expanded from a template such as myapi://items/{id} found no provider and fell back to file, which returned -32002 Resource not found. Provider inference now maps an unrecognised scheme to ${MCPBASH_PROVIDERS_DIR}/<scheme>.sh when that script exists. Statically discovered resources with a custom scheme and no provider field use the same inference. For a client-supplied URI this routing applies only to schemes the project declares, through a resource template or a static resource bound to that provider. A script in providers/ is not reachable by naming its scheme alone. Schemes are matched case-sensitively. The scanner change also means a statically discovered ui:// resource with no provider field now uses the ui provider, not file (which could not serve it).
  • File URIs no longer fail intermittently under bash 5.3: mcp_uri_url_encode declared local LC_ALL=C. Under bash 5.3 with LC_CTYPE=UTF-8 (the macOS Terminal default) that made calls in $(...) report failure about 1 time in 16, so resources without an explicit uri could drop out of resources/list. The function now runs in a subshell and sets LC_ALL=C there. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.5.0

Fügt eine deklarative Umgebungsrichtlinie in server.meta.json hinzu, um Host-gesetzte Geheimnisse an Tools und Anbieter weiterzugeben.

Added

  • Declarative env policy in server.d/server.meta.json: An optional "env" object can set MCPBASH_TOOL_ENV_MODE, MCPBASH_TOOL_ENV_ALLOWLIST, MCPBASH_PROVIDER_ENV_MODE and MCPBASH_PROVIDER_ENV_ALLOWLIST, so a project (including an installed MCPB bundle) can pass host-injected secrets such as an API key on to its tools and providers. The server applies it at startup, and mcp-bash run-tool applies it too, after any --with-server-env/--source files, which count as launch env.
    • Only those four keys are accepted. Operator opt-ins (*_INHERIT_ALLOW, MCPBASH_ALLOW_PROJECT_HOOKS, ...) and any other variable are refused with a warning that names the key, never the value.
    • Values are validated before use: modes must be valid for their key, allowlists may only name plain variables (no shell-control or reserved names such as LD_PRELOAD, BASH_ENV or MCPBASH_*), and values with control characters are refused. A server.meta.json holding more than one JSON document applies nothing. Warnings go to stderr.
    • The launch environment wins. If it sets either the mode or the allowlist for tools (or for providers), both meta values for that scope are ignored. An empty value, or an unexpanded ${user_config.*} placeholder, counts as unset. MCPBASH_IGNORE_META_ENV=true ignores the section entirely.
    • inherit still requires the operator's *_INHERIT_ALLOW. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.3.0: Schema-Konformität und Validierung

Bundle-Prompts enthalten nun das Pflichtfeld 'text' gemäß MCPB v0.3, die Suche findet auch aus Scaffolds erstellte Layouts und eine Semver-Warnung wurde ergänzt.

Fixed

  • Bundle prompts now include text field per MCPB v0.3 schema: The bundler reads the template .txt file for each prompt and embeds its content as the required text field in the manifest's prompts array. Prompts without a resolvable template file are excluded from the manifest to maintain schema compliance. Previously, prompts only had name, description, and arguments, which failed strict v0.3 validation.
  • Bundle prompt scan now finds scaffolded prompt layouts: The glob pattern now matches prompts/<name>/<name>.meta.json (created by mcp-bash scaffold prompt) in addition to the flat and prompt.meta.json nested layouts.

Added

  • Semver validation warning for bundle version: mcp-bash bundle --validate now warns when the resolved version string is not valid semver (MAJOR.MINOR.PATCH). The upstream MCPB CLI is adding strict semver rejection; this warning gives early feedback. Non-semver versions still produce bundles but may be rejected by future MCPB tooling.

Changed

  • MCPB documentation updated for upstream spec changes: docs/MCPB.md now documents the text field in prompt manifest entries, manifest v0.4 awareness (UV runtime), clarifies that platform_overrides.env merges with (not replaces) base env, and notes the potential @anthropic-ai/mcpb package rename.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.2.2: macOS-Kompatibilität

Die Pfadauflösung für Bundle-Icons und -Screenshots funktioniert nun auch auf macOS, und der Installer warnt vor einer überschattenden mcp-bash-Installation.

Fixed

  • Bundle icon/screenshot path resolution now works on macOS: The v1.2.1 fix for resolving server.d/-relative paths used realpath -m (GNU coreutils), which macOS's BSD realpath doesn't support. Replaced with a portable shell-based resolution using cd + pwd. Also normalizes the destination path in the bundle to avoid ../ escaping the bundle directory.
  • Installer warns when another mcp-bash shadows the new install: After installation, the installer checks if a different mcp-bash binary earlier in PATH would take precedence over the one just installed (e.g., a stale manual install shadowing a Homebrew install). Prints version and path of the shadowing binary.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.2.1: Installer-Fixes

Der Installer blockiert nicht mehr bei abweichendem MCPBASH_HOME, gibt klare Fehler für CLI-Befehle im eingebetteten Runtime aus und löst Pfade in server.d/ korrekt auf.

Fixed

  • Installer no longer blocks when MCPBASH_HOME points to a different path: Previously, the installer refused to run whenever MCPBASH_HOME was set, even if it pointed to a vendored runtime (.mcp-bash/) rather than the install target. The check now only blocks when MCPBASH_HOME matches the install directory, allowing CI workflows to install the full CLI alongside a vendored runtime.
  • Vendored runtime gives a clear error for CLI commands: Running CLI commands (e.g., validate, bundle, doctor) against a vendored or embedded runtime previously failed with a cryptic "No such file or directory". The entrypoint now detects missing CLI modules and prints a helpful message explaining that a full mcp-bash install is required.
  • Vendor docs now clarify CLI commands are not included: docs/VENDORING.md explicitly lists which commands require a full install and notes that the installer won't conflict with a vendored copy.
  • Bundle resolves icons and screenshots paths from both project root and server.d/: Paths in the server.meta.json icons and screenshots arrays can now be relative to either the project root (assets/icons/foo.png) or to server.d/ (../assets/icons/foo.png). Previously, only project-root-relative paths worked, so ../ paths from server.d/ would fail with a spurious warning.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.2.0: Vendor-Befehl und Homebrew

Der neue 'mcp-bash vendor'-Befehl bettet die Runtime in Projekte ein, ein Homebrew-Tap ist verfügbar und ein Renovate-Preset aktualisiert vendore Kopien automatisch.

Added

  • mcp-bash vendor command: Embeds the mcp-bash runtime into a project's .mcp-bash/ directory for committing to git, eliminating the need for a system-wide install at runtime. Useful for dev teams, CI pipelines, and MCP clients that do not support MCPB bundles. Includes --verify for SHA-256 integrity checking, --upgrade to update in place, and --dry-run to preview. Writes a vendor.json lockfile recording version, digest, source, and timestamp. See docs/VENDORING.md.
  • Homebrew tap: mcp-bash is now installable via brew install yaniv-golan/mcp-bash/mcp-bash. Homebrew handles upgrades (brew upgrade mcp-bash) and is the recommended install method on macOS and Linux. The formula is auto-bumped on each release.
  • Renovate preset for vendored copies: A renovate-preset.json in this repo configures Renovate to track vendor.json against GitHub Releases and open automatic upgrade PRs. Users opt in with {"extends": ["github>yaniv-golan/mcp-bash-framework//renovate-preset"]} in their renovate.json.

Fixed …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 1.1.5: Statische Metadaten im Manifest

Das Bundle-Manifest enthält jetzt statische Listen für Tools, Prompts, Icons und Screenshots, die aus den Metadaten-Dateien erzeugt werden.

Added

  • Static tools array in MCPB manifest: The bundler now scans tools/*/tool.meta.json at bundle time and emits a tools array of {name, description} objects in manifest.json. This enables pre-install discovery in extension stores — clients can show what an extension offers before downloading. Emitted alongside the existing tools_generated flag.
  • Static prompts array in MCPB manifest: Same pattern for prompts — scans prompts/*.meta.json and prompts/*/prompt.meta.json, extracts name, description, and arguments (property names from the JSON schema). Emitted alongside prompts_generated.
  • icons array passthrough in MCPB manifest: When server.meta.json defines an icons array (with {src, size, theme} objects for light/dark and multi-size variants), the bundler passes it through to manifest.json and copies referenced local files into the bundle. Supports the MCPB spec's themed icon feature for proper dark mode rendering in extension stores.
  • screenshots passthrough in MCPB manifest: When server.meta.json defines a screenshots array, the bundler passes it through and copies referenced local files into the bundle for extension store listings. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Version 1.1.4: Konfiguration enthält MCPBASH_TOOL_ALLOWLIST

In allen sechs Ausgabemodi von "mcp-bash config" wird nun MCPBASH_TOOL_ALLOWLIST="*" ausgegeben; zuvor fehlte sie, wodurch Tools stillschweigend blockiert wurden. Zusätzlich neue Beispiele, README-Snippets und Quick-Start-Anleitung für KI-Agenten.

Fixed

  • mcp-bash config now includes MCPBASH_TOOL_ALLOWLIST in all output modes: All six output modes (--json, --client claude-desktop, --client cursor, --client claude-cli, --client windsurf, --client librechat, --wrapper/--wrapper-env, --inspector) now emit MCPBASH_TOOL_ALLOWLIST="*" in the generated env block. Previously, the allowlist was omitted, causing all tools to be silently blocked by the default-deny policy when users copied config output verbatim.

Added

  • Per-Client Snippets in README include MCPBASH_TOOL_ALLOWLIST: All six client setup snippets (Claude Desktop, Claude CLI, LibreChat, OpenAI Agents SDK, Clawdbot, Highlight AI) now show MCPBASH_TOOL_ALLOWLIST="*" with a security note directing users to narrow it for production.
  • Agent Quick Start section in llms.txt and llms-full.txt: A new "Quick Start for AI Agents Building MCP Servers" section provides step-by-step build instructions, highlights the critical allowlist requirement, and documents CLI wrapper patterns (PATH resolution via mcp_detect_cli, set -uo pipefail error handling).
  • New example examples/15-cli-wrapper: Demonstrates the most common real-world MCP server pattern — wrapping an external CLI with mcp_detect_cli for PATH resolution, set -uo pipefail for error capture, and SDK helpers for MCP-compliant output. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Version 1.1.3: Ressourcen-Annotationen werden jetzt übergeben

Ressourcen-Annotationen (z. B. audience, priority) werden nun auch für reguläre Ressourcen über "resources/list" bereitgestellt; zuvor wurden sie stillschweigend verworfen.

Fixed

  • Resource annotations now preserved in resources/list: Regular resources discovered via *.meta.json, inline # mcp: headers, or manual registration (register.sh) now expose optional annotations (e.g., audience, priority) through resources/list. Previously, annotations were only surfaced for resource templates; they were silently dropped for regular resources.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Version 1.1.2: Initialisierungs-Anweisungen für Clients

Der Server unterstützt nun "initialize.result.instructions" aus server.d/server.instructions.md für Protokollversionen ab 2025-03-26; für ältere Versionen wird das Feld weggelassen.

Fixed

  • Initialize instructions now surfaced to clients: Added support for initialize.result.instructions sourced from server.d/server.instructions.md. Instructions are emitted for negotiated protocol versions 2025-03-26 and newer, and omitted for 2024-11-05 for spec-accurate downgrade behavior.

Originalquelle(öffnet in neuem Tab)Problem melden