From c13102903918009962d139fb83cb04d5d4aab7da Mon Sep 17 00:00:00 2001 From: wang1212 Date: Sun, 15 Nov 2026 23:43:41 +0800 Subject: [PATCH 1/2] fix: correct WeaveFox Pages capability description in skill --- skills/weavefox/SKILL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skills/weavefox/SKILL.md b/skills/weavefox/SKILL.md index a671a78..87975b3 100644 --- a/skills/weavefox/SKILL.md +++ b/skills/weavefox/SKILL.md @@ -4,7 +4,7 @@ description: >- Manage WeaveFox apps, Pages deployments, and app agents from any coding agent via the wf CLI. Use when the user mentions WeaveFox, asks to list or update WeaveFox apps, send messages to a WeaveFox app agent, publish or - deploy static sites with WeaveFox Pages, or check the authenticated + deploy web apps with WeaveFox Pages, or check the authenticated WeaveFox user profile. --- @@ -30,11 +30,11 @@ Iterate apps on WeaveFox by connecting external AI agent tools via open APIs. ### WeaveFox Pages -Host prebuilt static sites by uploading artifact zip packages. +Deploy a locally built project to a publicly accessible URL without buying a server or domain. Hosting, versioning, access control and SEO config are managed by WeaveFox. - Create a WeaveFox Pages app - Get a short-lived upload token for uploading artifact zip files -- Create a new version from a prebuilt artifact zip +- Create a new version from an artifact zip - List versions of an app with pagination - Deploy a specific version to make it live From c97b49218e1dc61f704e53139bce4f56cacf815a Mon Sep 17 00:00:00 2001 From: wang1212 Date: Sun, 15 Nov 2026 23:43:41 +0800 Subject: [PATCH 2/2] feat: publish MCP server to official registry via GitHub Actions OIDC --- .github/workflows/publish-mcp.yml | 65 +++++++++++++++++++++++++++++++ server.json | 28 +++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 .github/workflows/publish-mcp.yml create mode 100644 server.json diff --git a/.github/workflows/publish-mcp.yml b/.github/workflows/publish-mcp.yml new file mode 100644 index 0000000..32264fb --- /dev/null +++ b/.github/workflows/publish-mcp.yml @@ -0,0 +1,65 @@ +# MCP Registry Publishing +# +# Publishes server.json to the official MCP Registry +# (https://registry.modelcontextprotocol.io) using GitHub OIDC — +# no long-lived secrets required. +# +# Namespace: io.github.WeaveFox/* (derived from the repository owner). +# +# Triggered: +# - manually (workflow_dispatch) +# - when server.json or package.json changes on main +# (package.json changes keep the registry version in sync with releases) + +name: Publish MCP Registry + +on: + workflow_dispatch: + push: + branches: + - main + paths: + - 'server.json' + - 'package.json' + +permissions: + contents: read + id-token: write # OIDC token for mcp-publisher login github-oidc + +concurrency: + group: publish-mcp-registry + cancel-in-progress: false + +jobs: + publish: + name: Publish to MCP Registry + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + + - uses: actions/setup-node@v7 + with: + node-version: '24' + + - name: Install mcp-publisher + run: | + curl -fsSL -o /tmp/mcp-publisher.tar.gz \ + "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_linux_amd64.tar.gz" + tar -xzf /tmp/mcp-publisher.tar.gz -C /tmp + sudo install /tmp/mcp-publisher /usr/local/bin/mcp-publisher + + - name: Sync server.json version with package.json + run: | + VERSION=$(node -p "require('./package.json').version") + jq --arg v "$VERSION" '.version = $v' server.json > /tmp/server.json + mv /tmp/server.json server.json + echo "Publishing io.github.WeaveFox/weavefox@${VERSION}" + + - name: Validate server.json + run: mcp-publisher validate server.json + + - name: Login to MCP Registry (OIDC) + run: mcp-publisher login github-oidc + + - name: Publish + run: mcp-publisher publish diff --git a/server.json b/server.json new file mode 100644 index 0000000..cf256a3 --- /dev/null +++ b/server.json @@ -0,0 +1,28 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", + "name": "io.github.WeaveFox/weavefox", + "title": "WeaveFox", + "description": "Manage WeaveFox apps and deploy web apps to WeaveFox Pages from any MCP client via API key.", + "version": "0.0.4", + "websiteUrl": "https://www.weavefox.cn/open", + "repository": { + "url": "https://github.com/weavefox/weavefox-cli", + "source": "github" + }, + "remotes": [ + { + "type": "streamable-http", + "url": "https://www.weavefox.cn/mcp", + "headers": [ + { "name": "Authorization", "value": "Bearer " } + ] + }, + { + "type": "sse", + "url": "https://www.weavefox.cn/mcp", + "headers": [ + { "name": "Authorization", "value": "Bearer " } + ] + } + ] +}