From cedbf7cd204368764854e4d4fe32fbed99ba9793 Mon Sep 17 00:00:00 2001 From: Mathew Goldsborough <1759329+mgoldsborough@users.noreply.github.com> Date: Fri, 8 May 2026 17:19:51 -1000 Subject: [PATCH] chore: migrate to mcpb-pack@v3 (drop server.json) mpak now composes the MCP registry's `ServerDetail` discovery shape from `manifest.json` server-side, so the per-bundle `server.json` file is no longer used. Drops it, removes the version-bump step that synced its `version` from `manifest.json`, and bumps the build workflow to `mcpb-pack@v3`. Optional follow-up: add a branded reverse-DNS name override in `manifest.json` under `_meta["dev.mpak/registry"].name` (e.g. `ai.nimblebrain/` for `@nimblebraininc/*` bundles). Without an override the registry uses the mechanical default `dev.mpak./`. --- .github/workflows/build-bundle.yml | 3 +- server.json | 54 ------------------------------ 2 files changed, 1 insertion(+), 56 deletions(-) delete mode 100644 server.json diff --git a/.github/workflows/build-bundle.yml b/.github/workflows/build-bundle.yml index e20cea2..6f65688 100644 --- a/.github/workflows/build-bundle.yml +++ b/.github/workflows/build-bundle.yml @@ -31,8 +31,7 @@ jobs: VERSION="${{ github.event.release.tag_name }}" VERSION="${VERSION#v}" jq --arg v "$VERSION" '.version = $v' manifest.json > manifest.tmp.json && mv manifest.tmp.json manifest.json - jq --arg v "$VERSION" '.version = $v' server.json > server.tmp.json && mv server.tmp.json server.json - - uses: NimbleBrainInc/mcpb-pack@v2 + - uses: NimbleBrainInc/mcpb-pack@v3 with: output: "{name}-{version}-${{ matrix.os }}-${{ matrix.arch }}.mcpb" diff --git a/server.json b/server.json deleted file mode 100644 index 493c206..0000000 --- a/server.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "$schema": "https://schemas.nimblebrain.ai/v1/nimblebrain-server.schema.json", - "name": "ai.nimblebrain/echo", - "description": "Echo server for testing and debugging MCP connections", - "version": "0.1.6", - "title": "Echo MCP Server", - "repository": { - "url": "https://github.com/NimbleBrainInc/mcp-echo", - "source": "https://github.com/NimbleBrainInc/mcp-echo" - }, - "_meta": { - "ai.nimblebrain/v1": { - "runtime": "python:3.13", - "capabilities": { - "tools": true, - "resources": false, - "prompts": false - }, - "display": { - "category": "developer-tools", - "tags": [ - "testing", - "debugging", - "development" - ] - }, - "deployment": { - "protocol": "http", - "port": 8000, - "mcpPath": "/mcp" - }, - "container": { - "healthCheck": { - "path": "/health", - "port": 8000 - } - }, - "resources": { - "limits": { - "memory": "512Mi", - "cpu": "1000m" - }, - "requests": { - "memory": "256Mi", - "cpu": "250m" - } - }, - "scaling": { - "minReplicas": 1, - "maxReplicas": 3 - } - } - } -}