mirror of
https://github.com/sveltejs/ai-tools.git
synced 2026-07-06 12:50:53 +08:00
Compare commits
7 Commits
@sveltejs/
...
@sveltejs/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec9c5b3415 | ||
|
|
b508a4ea49 | ||
|
|
044f0988b9 | ||
|
|
c5c6ba6580 | ||
|
|
fb2240d60c | ||
|
|
469b2071e7 | ||
|
|
fc39b44859 |
12
.github/workflows/publish-mcp.yml
vendored
12
.github/workflows/publish-mcp.yml
vendored
@@ -2,9 +2,9 @@ name: Publish to MCP Registry
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
secrets:
|
||||||
permissions:
|
MCP_KEY:
|
||||||
id-token: write # OpenID Connect token needed for MCP registry authentication
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-mcp:
|
publish-mcp:
|
||||||
@@ -16,6 +16,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish to MCP Registry
|
- name: Publish to MCP Registry
|
||||||
working-directory: packages/mcp-stdio
|
working-directory: packages/mcp-stdio
|
||||||
|
env:
|
||||||
|
MCP_KEY: ${{ secrets.MCP_KEY }}
|
||||||
run: |
|
run: |
|
||||||
NAME=mcp-publisher_1.2.3_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz
|
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
|
# 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 the MCP Publisher binary
|
||||||
install -m 0755 tmp/mcp-publisher .
|
install -m 0755 tmp/mcp-publisher .
|
||||||
|
|
||||||
# Login using GitHub OIDC
|
# Login using DNS
|
||||||
./mcp-publisher login github-oidc
|
./mcp-publisher login dns --domain svelte.dev --private-key "${MCP_KEY}"
|
||||||
|
|
||||||
# Publish to MCP Registry
|
# Publish to MCP Registry
|
||||||
./mcp-publisher publish
|
./mcp-publisher publish
|
||||||
|
|||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -64,6 +64,6 @@ jobs:
|
|||||||
publish-mcp:
|
publish-mcp:
|
||||||
needs: release
|
needs: release
|
||||||
if: needs.release.outputs.published == 'true'
|
if: needs.release.outputs.published == 'true'
|
||||||
permissions:
|
|
||||||
id-token: write
|
|
||||||
uses: ./.github/workflows/publish-mcp.yml
|
uses: ./.github/workflows/publish-mcp.yml
|
||||||
|
secrets:
|
||||||
|
MCP_KEY: ${{ secrets.MCP_KEY }}
|
||||||
|
|||||||
@@ -1,5 +1,17 @@
|
|||||||
# @sveltejs/mcp
|
# @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
|
## 0.1.2
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "@sveltejs/mcp",
|
"name": "@sveltejs/mcp",
|
||||||
"version": "0.1.2",
|
"version": "0.1.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"mcpName": "io.github.sveltejs/svelte",
|
"mcpName": "dev.svelte/mcp",
|
||||||
"homepage": "https://github.com/sveltejs/mcp#readme",
|
"homepage": "https://github.com/sveltejs/mcp#readme",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/sveltejs/mcp/issues"
|
"url": "https://github.com/sveltejs/mcp/issues"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
|
"$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",
|
"description": "The official Svelte MCP server providing docs and autofixing tools for Svelte development",
|
||||||
"repository": {
|
"repository": {
|
||||||
"id": "1054419133",
|
"id": "1054419133",
|
||||||
@@ -8,13 +8,13 @@
|
|||||||
"subfolder": "packages/mcp-stdio",
|
"subfolder": "packages/mcp-stdio",
|
||||||
"source": "github"
|
"source": "github"
|
||||||
},
|
},
|
||||||
"version": "0.1.2",
|
"version": "0.1.4",
|
||||||
"websiteUrl": "https://svelte.dev/docs/mcp/overview",
|
"websiteUrl": "https://svelte.dev/docs/mcp/overview",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"registryType": "npm",
|
"registryType": "npm",
|
||||||
"identifier": "@sveltejs/mcp",
|
"identifier": "@sveltejs/mcp",
|
||||||
"version": "0.1.2",
|
"version": "0.1.4",
|
||||||
"runtimeHint": "npx",
|
"runtimeHint": "npx",
|
||||||
"transport": {
|
"transport": {
|
||||||
"type": "stdio"
|
"type": "stdio"
|
||||||
|
|||||||
Reference in New Issue
Block a user