Zum Inhalt springen

Yaniv Golan Release Notes

Einträge
55
Quellen
1
Zuletzt aktualisiert

Folge Yaniv Golan, um die Release Notes in deinen Feed zu holen.

MCP Bash Framework von Yaniv Golan

Version 0.8.4 des MCP Bash Frameworks

Unterstützung für projektspezifische Ressourcenanbieter und verbessertes Laden von Shell-Profilen.

Added

  • Project-level resource providers: Projects can now define custom resource providers in ${MCPBASH_PROJECT_ROOT}/providers/. Project providers are checked before framework providers, enabling custom URI schemes (e.g., xaffinity://, myapi://) without modifying the framework installation. See docs/REGISTRY.md for details.
  • New environment variable MCPBASH_PROVIDERS_DIR for overriding the providers directory location.

Fixed

  • Shell profile sourcing now loads all relevant profiles (.zprofile, .zshrc, .bash_profile, .profile, .bashrc) instead of only the first one found. Ensures version managers like pyenv, nvm, and rbenv are properly available when MCP servers are launched from GUI applications like Claude Desktop.
  • config --wrapper and --wrapper-env now work on macOS system bash (3.2) by avoiding heredocs inside command substitutions.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Version 0.8.3 des MCP Bash Frameworks

Validierung prüft jetzt das Icons-Format gemäß MCP-Spezifikation und bietet einen Befehl für den MCP Inspector an.

Added

  • mcp-bash validate now validates icons format per MCP spec: icons must be objects with src property, not plain strings. Catches the common "expected object, received string" error that causes strict MCP clients (Cursor, Claude Desktop, MCP Inspector) to reject servers.
  • mcp-bash validate --inspector flag prints the command to run MCP Inspector CLI for strict schema validation.

Documentation

  • Added "Common Schema Errors" section to DEBUGGING.md documenting icons format errors and strict client validation failures.
  • Added troubleshooting flowchart to DEBUGGING.md for diagnosing "works from CLI but fails in clients" issues.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Version 0.8.2 des MCP Bash Frameworks

Werkzeuge erhalten einen Debug-Log-Pfad und Schema-Validierungsfehler können Diagnose-Metadaten enthalten.

Added

  • Tools now receive a per-invocation debug log path via MCPBASH_DEBUG_LOG; the SDK exposes mcp_debug to write to it.
  • Output schema validation errors can include diagnostic metadata when MCPBASH_DEBUG_ERRORS=true.

Fixed

  • Tool tracing on bash 3.2 now reconstructs trace logs from stderr to avoid empty trace files on macOS runners.

Documentation

  • Documented the new debug log channel and opt-in error diagnostics.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Version 0.8.1 des MCP Bash Frameworks

Der Arzt-Befehl erhält neue Optionen und die Registry-Erstellung vermeidet Fehler auf Windows/Git Bash.

Added

  • mcp-bash doctor: added --dry-run (propose actions) and --fix (managed-install-only repairs), plus --min-version/--archive/--verify/--ref upgrade inputs, a concurrency lock, and JSON contract fields schemaVersion, exitCode, findings, proposedActions, and actionsTaken.
  • Installer now writes INSTALLER.json into managed installs so doctor --fix can reliably distinguish managed vs user-managed installs.

Fixed

  • Windows/Git Bash: registry builds no longer pass large item payloads via --argjson, avoiding E2BIG/Argument list too long failures when icons are inlined.

Documentation

  • Clarified resource template discoverability: templates are listed via resources/templates/list and are not advertised via a dedicated capabilities flag; clients should probe the method (treat -32601 as unsupported).

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Version 0.8.0 des MCP Bash Frameworks

Umgebungsisolation nutzt Bash-Builtins, Provider laufen standardmäßig isoliert und Completion-Requests entsprechen strikt der Spezifikation.

Added

Changed

  • Tool environment isolation no longer spawns external env; uses bash built-ins (compgen -e, unset) to avoid E2BIG/Argument list too long failures on Windows/Git Bash with large environments.
  • BREAKING: Completion/resource providers now run under a curated environment by default (MCPBASH_PROVIDER_ENV_MODE=isolate) to reduce E2BIG risk; opt into inheritance with MCPBASH_PROVIDER_ENV_MODE=inherit + MCPBASH_PROVIDER_ENV_INHERIT_ALLOW=true or selectively pass variables via MCPBASH_PROVIDER_ENV_MODE=allowlist.
  • BREAKING: completion/complete requests are now spec-shape only (MCP 2025-11-25: params.ref + params.argument). The legacy params.name/params.arguments shape is no longer accepted.
  • BREAKING: Prompt templating only substitutes {{var}} placeholders from prompts/get arguments; other placeholder syntaxes are treated as literal text.
  • CI: Windows integration runs default to non-verbose output and use a PR allowlist to reduce runtime; scheduled runs keep the full suite with per-test timeouts and better log preservation on cancellation.
  • When MCPBASH_PRESERVE_STATE=true, per-request worker stderr logs (stderr.*.log) are preserved for debugging.
  • Dev: Unit test runner supports filtering and enforces per-test timeouts (MCPBASH_UNIT_TEST_TIMEOUT_SECONDS) to avoid hangs and orphaned subprocesses.

Fixed …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 0.7.0

Version 0.7.0 verbessert die Windows-Unterstützung, erweitert die Dokumentation zur MCP-Spezifikationsabdeckung, fügt eine deklarative Projektregistrierung per JSON, pro-Aufruf-Allowlisting, Installationsverifizierung per SHA256-Checksummen sowie einen GitHub-Actions-Release-Workflow hinzu.

Documentation

  • Clarified Windows support: Git Bash is CI-tested; WSL works like Linux but is not separately validated in CI.
  • README MCP spec coverage table now marks Resources as fully supported (templates/binary included).
  • Fixed docs/ERRORS.md examples to reflect that result.isError=true is derived from a non-zero tool exit.
  • Added docs/INSPECTOR.md with MCP Inspector recipes and strict-client schema/shape pitfalls.
  • Clarified completion script argument parsing: MCP_COMPLETION_ARGS_JSON is params.arguments (use .query / .prefix).

Added

  • Declarative project registration via server.d/register.json (data-only alternative to server.d/register.sh) with strict validation, safe-permissions checks, and per-kind override semantics.
  • mcp-bash run-tool now supports per-invocation allowlisting via --allow-self, --allow <tool>, and --allow-all.
  • Installer verification flag --verify to validate downloaded archives against published SHA256 checksums; pairs with release-published tarball and SHA256SUMS.
  • Installer --archive flag to install from a local tar.gz (or URL) after verifying it externally (or via --verify).
  • GitHub Actions release workflow (tag-triggered) builds a tarball and publishes SHA256SUMS for installer verification.
  • Release prep automation: scripts/bump-version.sh, scripts/render-readme.sh, and a Prepare Release workflow to open a PR that bumps VERSION and re-renders README.md. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 0.6.0

Version 0.6.0 verbessert die Auffindbarkeit der Dokumentation, ergänzt ein Beispiel für Completion-Provider, führt eine umfassende MCP-Feature-Unterstützungsmatrix, Request-Metadaten-Unterstützung, eingebettete Ressourcen und binärsichere Ressourcen-Lesevorgänge ein.

Added

  • Documentation discoverability improvements: README now links feature guides (elicitation, roots, registry, limits, errors, best practices, completions) and a new docs/COMPLETION.md covers completion providers, pagination, and script contracts.
  • New example examples/10-completions demonstrating manual completion registration, query filtering, and hasMore/cursor pagination; included in the examples ladder.
  • Comprehensive MCP Feature Support Matrix in SPEC-COMPLIANCE.md tracking all MCP features across protocol versions (2024-11-05, 2025-03-26, 2025-06-18, 2025-11-25) with mcpbash version support status. Table includes 60+ features with implementation status, notes, and version history.
  • Request metadata (_meta) support for tools/call: clients can now pass arbitrary metadata via params._meta which is exposed to tools as MCP_TOOL_META_JSON (or MCP_TOOL_META_FILE for large payloads). SDK helpers mcp_meta_raw and mcp_meta_get provide easy access. Use cases: pass auth context, rate limiting IDs, or behavior flags not generated by the LLM.
  • Tools can now return embedded resources in results: write paths (optional mime/uri) to MCP_TOOL_RESOURCES_FILE and the framework will emit type:"resource" entries, including binary-safe handling.
  • Resource reads detect binary MIME and emit base64 blob payloads instead of raw text to prevent malformed JSON on binary files. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 0.5.0

Version 0.5.0 fügt Unterstützung für das Protokoll 2025-11-25, Icons für Tools, Ressourcen und Prompts, erweiterte Elicitation-SDK-Helfer für Enum-Auswahlmodi sowie einen MCP-Inspector-Befehl im Config-CLI hinzu.

Added

  • Protocol version 2025-11-25 support for compatibility with MCP Inspector v0.17+ and latest MCP SDK.
  • Icons support for tools, resources, and prompts (SEP-973): add an icons array to any .meta.json file to provide visual identifiers in compatible clients. Icons are passed through in tools/list, resources/list, and prompts/list responses. Local file paths (e.g., "./icon.svg") are automatically converted to data URIs for stdio transport compatibility.
  • Documentation on Protocol Errors vs Tool Execution Errors (SEP-1303): ERRORS.md and BEST-PRACTICES.md now explain when to use each error type to enable LLM self-correction. Examples updated to demonstrate best practices.
  • Elicitation SDK helpers for SEP-1330 enum improvements: mcp_elicit_titled_choice (choices with display labels) and mcp_elicit_multi_choice / mcp_elicit_titled_multi_choice (multi-select checkboxes). The 08-elicitation example demonstrates all patterns.
  • SEP-1036 URL mode elicitation support: mcp_elicit_url helper for secure out-of-band interactions (OAuth, payments, sensitive data). The framework now detects client form/url mode capabilities and includes mode in elicitation requests.
  • mcp-bash config --inspector prints a ready-to-run MCP Inspector command (stdio transport) with MCPBASH_PROJECT_ROOT pre-populated for the current project. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 0.4.0

Version 0.4.0 bietet neue SDK-Helfer für Pfad- und Typ-Zwang, einen CLI-Befehl run-tool für direkte Tool-Aufrufe, erweiterte Validierungs- und Konfigurationsoptionen sowie zusätzliche Diagnosebefehle.

Added

  • SDK helper mcp_require_path for consistent path normalization, optional single-root defaulting, and roots enforcement in tools.
  • SDK type coercion helpers (mcp_args_bool, mcp_args_int, mcp_args_require) for common argument parsing patterns.
  • Shared path normalization helpers (lib/path.sh) with consistent fallback chain (realpath -m → realpath → readlink -f → manual collapse) used by SDK/runtime/installer; added unit coverage.
  • CLI run-tool command for direct tool invocation with optional roots, dry-run, timeout override, and verbose stderr streaming.
  • Installer supports --version/--ref aliases for tagged installs and auto-prefixes bare semver tags with v.
  • CLI run-tool --print-env to inspect wiring without executing tools; help/examples updated.
  • mcp-bash validate now supports --json, --explain-defaults, and --strict; tool naming validation warns on missing namespace/format/length; outputs include defaults in JSON.
  • mcp-bash config gains richer --json output, pasteable JSON for --client, and --wrapper generator for auto-install scripts.
  • mcp-bash registry status subcommand to inspect registry cache (hash/mtime/counts) without refresh.
  • mcp-bash doctor --json for machine-readable environment/project readiness (absorbs readiness summary). …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 0.3.0

Version 0.3.0 führt CLI-Projektwerkzeuge wie init, scaffold, validate und config sowie ein Einzeiliger-Installer-Skript und neue SDK-JSON-Helfer ein.

Added

  • CLI project tooling for standalone servers:
    • mcp-bash init [--name NAME] [--no-hello] initializes a project in the current directory with server.d/server.meta.json, a tools/ directory, a .gitignore, and a working hello tool by default.
    • mcp-bash scaffold server <name> creates a new project directory with the same structure and example tool, wired to the existing scaffold templates.
    • mcp-bash validate [--project-root DIR] [--fix] validates server metadata and all tools/prompts/resources (JSON shape, required fields, script presence, executability, basic schema checks) and can auto-fix missing executable bits.
    • mcp-bash config [--project-root DIR] [--show|--json|--client NAME] emits ready-to-paste MCP client configuration snippets (Claude Desktop/CLI, Cursor, Windsurf, LibreChat) and a machine-readable JSON descriptor including MCPBASH_PROJECT_ROOT.
    • mcp-bash doctor performs environment diagnostics (framework location/version, PATH wiring, jq/gojq availability, basic project metadata, shellcheck/npx presence).
  • One-line installer script install.sh:
    • Clones the framework into a safe, dedicated install directory, configures shell PATH for common shells, verifies mcp-bash --version, and warns when jq/gojq is missing.
    • Supports --dir, --branch, and --yes flags for CI and advanced setups.
  • New SDK JSON helpers in sdk/tool-sdk.sh:
    • mcp_json_escape for quoting strings as JSON string literals. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 0.2.1

Version 0.2.1 verschärft die HTTPS- und Git-Anbieter mit Host-Zugriffskontrollen, Blockierung privater Hosts, Begrenzung von Timeouts und Größen sowie verbesserte Dateiberechtigungen und Symlink-Schutz.

Changed

  • Hardened HTTPS provider: blocks private/loopback hosts, optional host allow/deny via MCPBASH_HTTPS_ALLOW_HOSTS / MCPBASH_HTTPS_DENY_HOSTS, disables redirects/protocol downgrades, and caps timeouts/size (timeout ≤60s, max bytes ≤20MB).
  • Hardened git provider: disabled by default (MCPBASH_ENABLE_GIT_PROVIDER=true to enable), host allow/deny lists added, private/loopback blocked, shallow clones enforced, timeout bounded (default 30s, max 60s), and repository size capped via MCPBASH_GIT_MAX_KB (default 50MB, max 1GB).
  • Introduced shared host policy helper (lib/policy.sh) for consistent allow/deny handling across providers.
  • Tightened state/lock/registry permissions with umask 077; debug mode now uses a randomized 0700 directory.
  • File provider now rejects symlinks and rechecks before read to reduce TOCTOU/symlink escape risk.
  • Scaffold commands validate names to prevent path traversal.
  • Added llms.txt and llms-full.txt for LLM-specific repository guidance and compressed, agent-optimized reference content.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 0.2.0

Version 0.2.0 fügt einen automatischen Einstiegsmodus ohne Projekt-Root, eine einheitliche Server-Metadatenkonfiguration, Go-Modul für gojq und verbesserte Windows-CI-Absicherungen hinzu.

Added

  • Automatic getting-started mode when MCPBASH_PROJECT_ROOT is unset: stages a temporary bootstrap project with a getting_started tool, isolated registry cache, and cleanup traps (including HUP) plus clearer help text.
  • Framework-only bootstrap helper content and docs updates (Quick Start and Project Structure) explaining the temporary helper and how to configure real projects.
  • Integration coverage for the bootstrap path and stricter CLI guard for invalid project roots.
  • Go module for gojq (tools/go.mod/go.sum) and CI caching: setup-go module cache plus GOCACHE restored, with gojq installed via the module for reproducible tooling across OSes.
  • Tar-based test staging for integration/examples: shared base.tar with ACL-safe flags, reused across tests, reducing Windows I/O; integration tests now use the shared staging helper instead of per-test cp -a.
  • Windows CI guardrails: duration gate now warns at 4m and fails at 15m only on warm caches; Windows path handling fixed for Go caches; minor prompt/resource/tool tests refactored to honor staging.
  • Unified server metadata via server.d/server.meta.json: supports MCP spec fields name, title, version, description, websiteUrl, and icons. Smart defaults derive name from project directory, title from titlecase of name, and version from VERSION file or package.json. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

MCP Bash Framework 0.1.0

Die erste Version 0.1.0 bietet einen Stdio-MCP-Server mit Kernoberflächen, Registrierungssystem, Elicitation-Unterstützung, Tool-SDK sowie Beispielprojekten und Tests.

Added

  • Stdio MCP server targeting protocol 2025-06-18 with negotiated downgrades to 2025-03-26 and 2024-11-05.
  • Core surfaces: lifecycle, ping, logging/setLevel, tools (list/call), resources (list/read/subscribe), prompts (list/get), completion, pagination, and listChanged notifications.
  • Concurrency, cancellation, timeout watchdogs, stdout corruption guards, and JSON-tool detection with minimal-mode fallback.
  • Registry system with TTL-based refresh, hash-based change detection, and manual registration hooks.
  • Elicitation support (server/client detection, tool helper APIs) and roots integration (server-initiated roots/list with fallbacks).
  • Tool SDK with logging/progress helpers, scaffolding commands for tools/resources/prompts, and example projects (hello tool, args/logging/progress/resources/prompts/elicitation/roots, advanced ffmpeg studio).
  • Compatibility and integration tests (Inspector harness, integration suites), lint/test scripts, and docs covering architecture, security, limits, performance, and Windows guidance.

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Version 0.9.5: Debug-Modus, Timeout-Erweiterung und Exit-Trap

Debug-Datei-Erkennung, dynamische Timeout-Erweiterung bei Fortschrittsmeldungen und Debug-Exit-Trap hinzugefügt.

Added

  • Debug file detection: Create server.d/.debug to enable MCPBASH_LOG_LEVEL=debug persistently per-project. Eliminates boilerplate debug detection in server.d/env.sh. Environment variable takes precedence if set. See DEBUGGING.md.
  • Progress-aware timeout extension: Long-running tools that emit progress can now extend their timeout dynamically instead of being killed after a fixed duration. Opt-in via MCPBASH_PROGRESS_EXTENDS_TIMEOUT=true (global) or "progressExtendsTimeout": true in tool.meta.json (per-tool). The watchdog resets its idle timer on each progress emission, with a hard cap via MCPBASH_MAX_TIMEOUT_SECS (default 600s) to prevent runaway processes. Three timeout variants are now distinguished in error messages: fixed timeout, idle timeout (no progress for N seconds), and max exceeded (hard cap reached). When a tool emits progress but times out with the feature disabled, a warning is logged suggesting enablement. See BEST-PRACTICES.md §4.3 and ENV_REFERENCE.md.
  • Debug EXIT trap: New MCPBASH_DEBUG=true enables an EXIT trap that logs exit location and call stack on non-zero exits, helping diagnose set -e failures. Use MCPBASH_DEBUG_ALL_EXITS=true to log all exits (not just failures). Installed automatically in lib/timeout.sh when sourced. …

Originalquelle(öffnet in neuem Tab)Problem melden

MCP Bash Framework von Yaniv Golan

Version 0.9.3 des MCP Bash Frameworks

Neue SDK-Hilfsfunktion für Fortschrittsmeldungen, neue Konfigurationsoption für benutzerdefinierte Verzeichnisse und verbesserte Umgebungsvariablen beim Ausführen von Werkzeugen.

Added

  • mcp_run_with_progress SDK helper: Forward subprocess progress to MCP notifications. Wraps external CLIs and parses their stderr (or a dedicated progress file) to emit progress events. Supports three extraction modes: json (NDJSON output), match1 (percentage patterns like 50%), and ratio (counter patterns like [5/10]). Includes --progress-file option for ffmpeg-style CLIs that write progress to dedicated files. See BEST-PRACTICES.md §4.8 for common patterns and usage examples.
  • MCPB_INCLUDE config option: New mcpb.conf setting to include custom directories in bundles beyond the defaults (tools, resources, prompts, completions, server.d, lib, providers). Supports nested paths like config/schemas. Rejects path traversal (..) and absolute paths for security. Warns on missing directories.
  • run-tool environment sourcing: New options for sourcing environment files before tool execution:
    • --with-server-env: Sources server.d/env.sh before running the tool, matching server runtime behavior
    • --source FILE: Sources any env file before execution (repeatable; sourced after --with-server-env)
    • MCPBASH_RUN_TOOL_SOURCE_SERVER_ENV=1: Environment variable to implicitly enable --with-server-env for all invocations
    • --print-env now shows WILL_SOURCE_SERVER_ENV and WILL_SOURCE[N] for debugging without execution
  • Debug enhancements: …

Originalquelle(öffnet in neuem Tab)Problem melden