diff --git a/.github/workflows/smithery.yml b/.github/workflows/smithery.yml deleted file mode 100644 index 2c1ae57..0000000 --- a/.github/workflows/smithery.yml +++ /dev/null @@ -1,76 +0,0 @@ -name: Publish to Smithery - -on: - workflow_run: - workflows: ["Release"] - types: [completed] - -permissions: - contents: read - -jobs: - publish: - name: Publish multi-arch MCPB - runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} - steps: - - name: Checkout - uses: actions/checkout@v6 - with: - ref: ${{ github.event.workflow_run.head_branch }} - - - name: Set up Go - uses: actions/setup-go@v6 - with: - go-version-file: go.mod - cache: true - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '22' - - - name: Install mcpb CLI - run: npm install -g @anthropic-ai/mcpb - - - name: Build all platform binaries - run: | - VERSION="${{ github.event.workflow_run.head_branch }}" - VERSION="${VERSION#v}" - mkdir -p bundle/server/bin - cp smithery/run.sh bundle/server/run.sh - chmod +x bundle/server/run.sh - - build_one() { - local goos="$1" goarch="$2" ext="$3" - local out="bundle/server/bin/${goos}_${goarch}" - mkdir -p "$out" - CGO_ENABLED=0 GOOS="$goos" GOARCH="$goarch" \ - go build -trimpath -ldflags "-s -w -X main.serverVersion=${VERSION}" \ - -o "${out}/ionoscloud-mcp${ext}" . - chmod +x "${out}/ionoscloud-mcp${ext}" || true - } - - build_one darwin amd64 "" - build_one darwin arm64 "" - build_one linux amd64 "" - build_one linux arm64 "" - build_one windows amd64 ".exe" - - - name: Prepare manifest - run: | - VERSION="${{ github.event.workflow_run.head_branch }}" - VERSION="${VERSION#v}" - jq --arg v "$VERSION" '.version = $v' \ - smithery/manifest.json > bundle/manifest.json - - - name: Pack MCPB bundle - run: mcpb pack ./bundle ./ionoscloud-mcp.mcpb - - - name: Publish to Smithery - run: | - npx @smithery/cli mcp publish \ - ./ionoscloud-mcp.mcpb \ - -n ionos-cloud/ionoscloud-mcp - env: - SMITHERY_API_KEY: ${{ secrets.SMITHERY_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index fad99ed..c5a62af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +### Removed + +- **Smithery publishing.** Smithery stopped accepting server updates (publishing 1.1.2 failed with `Updating servers has been removed`) and shuts down its API, CLI and accounts on 2026-10-31. Releases no longer build the MCPB bundle that was published there, and the README no longer offers `npx @smithery/cli install`, which stops working with the shutdown. Smithery never received 1.1.2. Install with Homebrew, Docker, a release binary or `go install` and add the server to your client's MCP config instead. + ## 1.1.2 ### Added diff --git a/CLAUDE.md b/CLAUDE.md index 25bec77..d1cf2af 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -76,7 +76,7 @@ Environment variables (read from the MCP server process — typically inherited The server supports three tool-registration strategies, selectable via the `--load-mode` flag or the `IONOS_MCP_LOAD_MODE` env var. Precedence: flag > env > default (`eager`). Resolution is a pure function `resolveLoadMode(flagVal, envVal)` in `server_config.go` (returns the mode + its source); `main.go` resolves once at startup and logs `load mode: (source: ...)` to stderr. -- **`eager`** (default): all tools register at startup. Optimal for Claude Code (ToolSearch defers schemas client-side, ~1–3k tokens for names only) and required for clients without `notifications/tools/list_changed` support (Claude Desktop, claude.ai connectors, Claude in Chrome, Smithery scanner). +- **`eager`** (default): all tools register at startup. Optimal for Claude Code (ToolSearch defers schemas client-side, ~1–3k tokens for names only) and required for clients without `notifications/tools/list_changed` support (Claude Desktop, claude.ai connectors, Claude in Chrome). - **`lazy`**: defer Compute and Object Storage behind `ionos_load_compute_tools` / `ionos_load_objectstorage_tools` sentinel tools. Calling either registers the full product set and emits `notifications/tools/list_changed`. Only useful for clients that honour the notification AND lack client-side schema deferral. (Note: this runtime list-mutation pattern is the one the GitHub MCP server retired in 2026; `dynamic` is generally preferable for cap-limited clients.) diff --git a/CODEOWNERS b/CODEOWNERS index 4233bd2..7a8aae3 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -7,6 +7,5 @@ /.dockerignore @ionos-cloud/sdks-development /.goreleaser.yaml @ionos-cloud/sdks-development /server.json @ionos-cloud/sdks-development -/smithery.yaml @ionos-cloud/sdks-development /CODEOWNERS @ionos-cloud/sdks-development /SECURITY.md @ionos-cloud/sdks-development diff --git a/README.md b/README.md index 6b05fdf..5567eee 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,6 @@ This server is published across multiple MCP registries and IDE marketplaces: | Registry | Link | |----------|------| | Official MCP Registry | [io.github.ionos-cloud/ionoscloud-mcp](https://registry.modelcontextprotocol.io/v0/servers?cursor=io.github.ionos-cloud) | -| Smithery | [ionos-cloud/ionoscloud-mcp](https://smithery.ai/servers/ionos-cloud/ionoscloud-mcp) | | mcp.so | [ionos-cloud-mcp-server](https://mcp.so/server/ionos-cloud-mcp-server/ionos-cloud) | | Glama | [ionoscloud-mcp](https://glama.ai/mcp/servers/ionos-cloud/ionoscloud-mcp) | | Cursor | [ionoscloud-mcp](https://cursor.directory/plugins/ionoscloud-mcp) | @@ -108,14 +107,6 @@ docker run --rm -p 8080:8080 \ ghcr.io/ionos-cloud/ionoscloud-mcp --transport http --http-addr :8080 ``` -### Smithery - -```bash -npx -y @smithery/cli install @ionos-cloud/ionoscloud-mcp --client claude-desktop -``` - -Supported `--client` values: `claude-desktop`, `claude-code`, `cursor`, `vscode`, `windsurf`, `cline`, `continue`, `gemini-cli`, `kiro`, and others. See the [Smithery listing](https://smithery.ai/servers/ionos-cloud/ionoscloud-mcp) for the current list. - ### Pre-built binary Download the archive for your OS/arch from the [latest release](https://github.com/ionos-cloud/ionoscloud-mcp/releases/latest). Available for Linux, macOS, and Windows on both amd64 and arm64. @@ -184,7 +175,7 @@ Per-client setup guides for the 12 supported AI clients: [Connect to an AI Clien The load mode selects how tools are exposed. Set it with either the `--load-mode` flag or the `IONOS_MCP_LOAD_MODE` environment variable; **the flag wins if both are set**, and otherwise the default is `eager`. Parsing is case-insensitive. -- **`eager`** (default): all tools register at startup. Recommended for Claude Code (which defers full schemas client-side via ToolSearch, paying ~1–3k tokens for names only) and the only working mode for clients that ignore `notifications/tools/list_changed` (Claude Desktop, claude.ai connectors, Claude in Chrome, Smithery scanner). +- **`eager`** (default): all tools register at startup. Recommended for Claude Code (which defers full schemas client-side via ToolSearch, paying ~1–3k tokens for names only) and the only working mode for clients that ignore `notifications/tools/list_changed` (Claude Desktop, claude.ai connectors, Claude in Chrome). - **`lazy`**: Compute and Object Storage register only on demand. Two sentinel tools (`ionos_load_compute_tools`, `ionos_load_objectstorage_tools`) appear at startup; calling either registers the full product set and emits `notifications/tools/list_changed`. Use only if your MCP client honours that notification AND lacks client-side schema deferral — otherwise eager mode is cheaper. diff --git a/smithery/manifest.json b/smithery/manifest.json deleted file mode 100644 index 12654cd..0000000 --- a/smithery/manifest.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "manifest_version": "0.3", - "name": "ionoscloud-mcp", - "display_name": "IONOS CLOUD MCP Server", - "version": "1.1.2", - "description": "Inspect and manage IONOS CLOUD infrastructure via MCP. Writes are opt-in and off by default.", - "author": { - "name": "IONOS CLOUD", - "url": "https://github.com/ionos-cloud/ionoscloud-mcp" - }, - "repository": { - "type": "git", - "url": "https://github.com/ionos-cloud/ionoscloud-mcp" - }, - "server": { - "type": "binary", - "entry_point": "server/run.sh", - "mcp_config": { - "command": "${__dirname}/server/run.sh", - "args": [], - "env": { - "IONOS_TOKEN": "${user_config.ionos_token}", - "IONOS_S3_ACCESS_KEY": "${user_config.ionos_s3_access_key}", - "IONOS_S3_SECRET_KEY": "${user_config.ionos_s3_secret_key}", - "IONOS_MCP_LOAD_MODE": "${user_config.ionos_mcp_load_mode}", - "IONOS_MCP_TOOL_SCOPE": "${user_config.ionos_mcp_tool_scope}" - }, - "platform_overrides": { - "win32": { - "command": "${__dirname}/server/bin/windows_amd64/ionoscloud-mcp.exe", - "args": [], - "env": { - "IONOS_TOKEN": "${user_config.ionos_token}", - "IONOS_S3_ACCESS_KEY": "${user_config.ionos_s3_access_key}", - "IONOS_S3_SECRET_KEY": "${user_config.ionos_s3_secret_key}", - "IONOS_MCP_LOAD_MODE": "${user_config.ionos_mcp_load_mode}", - "IONOS_MCP_TOOL_SCOPE": "${user_config.ionos_mcp_tool_scope}" - } - } - } - } - }, - "tools_generated": true, - "keywords": ["ionos", "cloud", "infrastructure", "compute", "dns", "billing"], - "license": "Apache-2.0", - "user_config": { - "ionos_token": { - "type": "string", - "title": "IONOS Token", - "description": "IONOS CLOUD API token", - "required": true, - "sensitive": true - }, - "ionos_s3_access_key": { - "type": "string", - "title": "S3 Access Key", - "description": "S3 access key for IONOS Object Storage", - "required": false, - "sensitive": true - }, - "ionos_s3_secret_key": { - "type": "string", - "title": "S3 Secret Key", - "description": "S3 secret key for IONOS Object Storage", - "required": false, - "sensitive": true - }, - "ionos_mcp_load_mode": { - "type": "string", - "title": "Tool Loading Mode", - "description": "Tool registration strategy. 'eager' (default): all tools at startup — best for clients with their own tool search, such as Claude Code. 'lazy': defer Compute and Object Storage behind sentinel loaders (requires MCP client support for notifications/tools/list_changed). 'dynamic' (alias 'search'): expose only the ionos_search_tools / ionos_describe_tools / ionos_call_tool meta-tools and browse the full catalog through them — for clients with hard tool caps and no tool search of their own (Cursor, Windsurf).", - "required": false, - "sensitive": false, - "default": "eager" - }, - "ionos_mcp_tool_scope": { - "type": "string", - "title": "Tool Scope (write access)", - "description": "Opt in to write operations. Leave empty (default) to keep the server read-only: only list_/get_/head_ tools are registered. 'write' additionally registers create_/update_ tools and the non-disruptive actions (start_, resume_, attach_, assign_); 'destructive' also registers delete_ and the disruptive actions (stop_, reboot_, suspend_, upgrade_, restore_, detach_, recreate_, import_) and implies 'write'. Comma-separated, case-insensitive, hierarchical; unrecognised values stay read-only. WARNING: enabling this lets an AI model provision, modify and delete billable resources in a live IONOS CLOUD account. Every create and delete requires a two-phase confirmation, but that cannot stop a client configured to approve tool calls automatically. Leave empty unless writes are needed.", - "required": false, - "sensitive": false - } - }, - "compatibility": { - "platforms": ["darwin", "linux", "win32"] - } -} diff --git a/smithery/run.sh b/smithery/run.sh deleted file mode 100755 index 1955fda..0000000 --- a/smithery/run.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -set -e - -DIR="$(cd "$(dirname "$0")" && pwd)" - -uname_s=$(uname -s 2>/dev/null || echo unknown) -case "$uname_s" in - Darwin) os=darwin ;; - Linux) os=linux ;; - *) echo "ionoscloud-mcp: unsupported OS: $uname_s" >&2; exit 1 ;; -esac - -uname_m=$(uname -m 2>/dev/null || echo unknown) -case "$uname_m" in - x86_64|amd64) arch=amd64 ;; - arm64|aarch64) arch=arm64 ;; - *) echo "ionoscloud-mcp: unsupported arch: $uname_m" >&2; exit 1 ;; -esac - -bin="$DIR/bin/${os}_${arch}/ionoscloud-mcp" - -if [ ! -f "$bin" ]; then - echo "ionoscloud-mcp: binary not found for ${os}_${arch} at $bin" >&2 - exit 1 -fi - -chmod +x "$bin" 2>/dev/null || true - -exec "$bin" "$@"