Compare commits

..

7 Commits

Author SHA1 Message Date
Paolo Ricciuti
ec9c5b3415 Merge pull request #61 from sveltejs/changeset-release/main 2025-10-09 22:43:36 +02:00
github-actions[bot]
b508a4ea49 Version Packages 2025-10-09 20:42:32 +00:00
paoloricciuti
044f0988b9 fix: pass secrets in action and update mcpName 2025-10-09 22:41:56 +02:00
Paolo Ricciuti
c5c6ba6580 Merge pull request #60 from sveltejs/changeset-release/main 2025-10-09 22:31:24 +02:00
github-actions[bot]
fb2240d60c Version Packages 2025-10-09 20:30:38 +00:00
Paolo Ricciuti
469b2071e7 Merge pull request #59 from sveltejs/use-dns-mcp-publish 2025-10-09 22:30:06 +02:00
paoloricciuti
fc39b44859 fix: use DNS to publish MCP 2025-10-09 21:53:39 +02:00
5 changed files with 26 additions and 12 deletions

View File

@@ -2,9 +2,9 @@ name: Publish to MCP Registry
on:
workflow_call:
permissions:
id-token: write # OpenID Connect token needed for MCP registry authentication
secrets:
MCP_KEY:
required: true
jobs:
publish-mcp:
@@ -16,6 +16,8 @@ jobs:
- name: Publish to MCP Registry
working-directory: packages/mcp-stdio
env:
MCP_KEY: ${{ secrets.MCP_KEY }}
run: |
NAME=mcp-publisher_1.2.3_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz
# Download MCP Publisher pinned to v1.2.3 using latest https for security and save it to a file named mcp-publisher.tar.gz
@@ -31,8 +33,8 @@ jobs:
# Install the MCP Publisher binary
install -m 0755 tmp/mcp-publisher .
# Login using GitHub OIDC
./mcp-publisher login github-oidc
# Login using DNS
./mcp-publisher login dns --domain svelte.dev --private-key "${MCP_KEY}"
# Publish to MCP Registry
./mcp-publisher publish

View File

@@ -64,6 +64,6 @@ jobs:
publish-mcp:
needs: release
if: needs.release.outputs.published == 'true'
permissions:
id-token: write
uses: ./.github/workflows/publish-mcp.yml
secrets:
MCP_KEY: ${{ secrets.MCP_KEY }}

View File

@@ -1,5 +1,17 @@
# @sveltejs/mcp
## 0.1.4
### Patch Changes
- fix: pass secrets in action and update `mcpName` ([`044f098`](https://github.com/sveltejs/mcp/commit/044f0988b935fff39911a861a648dfb276f5831a))
## 0.1.3
### Patch Changes
- fix: use DNS to publish MCP ([#59](https://github.com/sveltejs/mcp/pull/59))
## 0.1.2
### Patch Changes

View File

@@ -1,9 +1,9 @@
{
"name": "@sveltejs/mcp",
"version": "0.1.2",
"version": "0.1.4",
"type": "module",
"license": "MIT",
"mcpName": "io.github.sveltejs/svelte",
"mcpName": "dev.svelte/mcp",
"homepage": "https://github.com/sveltejs/mcp#readme",
"bugs": {
"url": "https://github.com/sveltejs/mcp/issues"

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
"name": "io.github.sveltejs/svelte",
"name": "dev.svelte/mcp",
"description": "The official Svelte MCP server providing docs and autofixing tools for Svelte development",
"repository": {
"id": "1054419133",
@@ -8,13 +8,13 @@
"subfolder": "packages/mcp-stdio",
"source": "github"
},
"version": "0.1.2",
"version": "0.1.4",
"websiteUrl": "https://svelte.dev/docs/mcp/overview",
"packages": [
{
"registryType": "npm",
"identifier": "@sveltejs/mcp",
"version": "0.1.2",
"version": "0.1.4",
"runtimeHint": "npx",
"transport": {
"type": "stdio"