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
40 changes: 40 additions & 0 deletions .github/workflows/mcp-registry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Tag `vX.Y.Z` → the hosted MCP endpoint listed in the official MCP Registry
# (https://registry.modelcontextprotocol.io) as `io.github.lexmount/artifact-site`, version X.Y.Z.
# server.json at the repository root is the listing; its version is taken from package.json at
# publish time. Authentication is the GitHub Actions OIDC token of this repository, which the
# registry maps to the io.github.lexmount/* namespace, so no token is stored here.
# A version can be published once; to re-run for an existing tag, use "Run workflow" on that tag.
name: MCP Registry

on:
push:
tags: ["v*.*.*"]
workflow_dispatch:

permissions:
contents: read

jobs:
publish:
name: publish to the MCP Registry
# Tags are pushed in the public repository; a matching tag in the private one must not publish.
if: github.repository == 'lexmount/artifact-site'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # the registry verifies the OIDC token from this workflow
env:
MCP_PUBLISHER_VERSION: v1.8.1
steps:
- uses: actions/checkout@v4
- name: Set the listing version from package.json
run: |
version="$(jq -r .version package.json)"
jq --arg v "$version" '.version = $v' server.json > server.tmp && mv server.tmp server.json
echo "publishing version $version"
- name: Install mcp-publisher
run: |
curl -fsSL "https://github.com/modelcontextprotocol/registry/releases/download/${MCP_PUBLISHER_VERSION}/mcp-publisher_linux_amd64.tar.gz" \
| tar -xz mcp-publisher
- run: ./mcp-publisher login github-oidc
- run: ./mcp-publisher publish
18 changes: 18 additions & 0 deletions server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.lexmount/artifact-site",
"title": "artifact-site",
"description": "One place for every AI agent's pages and docs: versioned links to share, search and update.",
"version": "0.3.0",
"websiteUrl": "https://artifact-site.app.lexmount.com",
"repository": {
"url": "https://github.com/lexmount/artifact-site",
"source": "github"
},
"remotes": [
{
"type": "streamable-http",
"url": "https://artifact-site.app.lexmount.com/mcp"
}
]
}
Loading