Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions .github/workflows/publish-mcp.yml
Original file line number Diff line number Diff line change
@@ -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
28 changes: 28 additions & 0 deletions server.json
Original file line number Diff line number Diff line change
@@ -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 <YOUR_WEAVEFOX_API_KEY>" }
]
},
{
"type": "sse",
"url": "https://www.weavefox.cn/mcp",
"headers": [
{ "name": "Authorization", "value": "Bearer <YOUR_WEAVEFOX_API_KEY>" }
]
}
]
}
6 changes: 3 additions & 3 deletions skills/weavefox/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
---

Expand All @@ -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

Expand Down
Loading