Repository navigation
Conversation
Prepare StructKit for registry.modelcontextprotocol.io: add the PyPI ownership marker, a validated server.json that launches `structkit mcp --server` via uvx, version sync in Release Drafter, and a release-only OIDC publish workflow. Nothing is published from this change. Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
Switch the listing name and README ownership marker to the reverse-DNS namespace of structkit.app. Domain names cannot use GitHub OIDC, so the release workflow logs in with DNS and secrets.MCP_PRIVATE_KEY, and skips publish when that secret is unset. Co-authored-by: Kenneth Belitzky <kenny@belitzky.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
No existing issue. Makes StructKit publishable to the official MCP Registry (
registry.modelcontextprotocol.io) asapp.structkit/mcp. This PR does not publish, cut a release, or merge anything.Description
Adds the files and version-sync wiring the registry requires, verified against the current docs (package types, authentication, GitHub Actions) and schema
https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json. Re-validated withmcp-publisher validateafter switching to the domain namespace.What landed
README.md:<!-- mcp-name: app.structkit/mcp -->. HTML comment so it does not render; the string must appear in the published PyPI long description.server.jsonnamedapp.structkit/mcp(reverse-DNS ofstructkit.app), version3.3.1(matches currentpyproject.toml), PyPI packagestructkit,runtimeHint: uvx, stdio transport, andpackageArgumentsso clients launchstructkit mcp --serverrather than barestructkit.mcp-publisher validate(pass) and JSON Schema Draft-07 (pass). Description is 52 characters (limit 100).pyproject.tomlandserver.json.publish-pypialso checksserver.jsonagainst the release tag..github/workflows/publish-mcp-registry.yml: DNS login (mcp-publisher login dns --domain structkit.app --private-key …) usingsecrets.MCP_PRIVATE_KEY, only onrelease: published. GitHub OIDC cannot authenticate a domain namespace. IfMCP_PRIVATE_KEYis unset, login and publish are skipped (release still succeeds). The private key is never committed (key.pemis gitignored).docs/mcp-integration.md(Ed25519 keygen, TXT record, secret, login + publish). Tests assert name, versions, launch args, and the README marker.What Kenneth must do manually after merge (this PR does not do these)
Merge this PR. Do not publish or cut a release from the PR itself.
Reconcile versions with open PR Bump pyproject version to 3.3.2 #203 (
Bump pyproject version to 3.3.2). This branch matchesmainat 3.3.1. After this lands, either update Bump pyproject version to 3.3.2 #203 soserver.jsonis also3.3.2, or let the next Release Drafter run refreshchore/bump-pyproject-versionto bump both files.Prove ownership of
structkit.app(required forapp.structkit/mcp). GitHub login will not work for this name.Generate an Ed25519 keypair and TXT record:
Add that TXT record at the DNS host where structkit.app is registered. The website is hosted on Lovable; Lovable is not the DNS registrar, so the TXT record does not go in the Lovable project unless that project is also the DNS provider.
Confirm with
dig TXT structkit.app +short.HTTP alternative (same keypair): put
v=MCPv1; k=ed25519; p=<PUBLIC_KEY>athttps://structkit.app/.well-known/mcp-registry-auth, then usemcp-publisher login http --domain structkit.app --private-key …instead oflogin dns.Extract the private key hex (not the PEM file) and store it as repo secret
MCP_PRIVATE_KEY. Do not commitkey.pem.Ship a new PyPI version whose README includes
mcp-name: app.structkit/mcp. Current PyPI3.3.1does not have it; the registry checks the published long description, not gitmain. Confirm in that version’s PyPI JSONinfo.description.First listing, from the repo root:
mcp-publisher login dns --domain structkit.app --private-key "${PRIVATE_KEY}" mcp-publisher publishLater GitHub Releases can use
.github/workflows/publish-mcp-registry.ymlonceMCP_PRIVATE_KEYis set. Until that secret exists, the workflow validatesserver.jsonand skips publish.Checklist
Screenshots (if applicable)
N/A
Additional Comments
Nothing in this PR talks to the live MCP Registry except
mcp-publisher validate(schema/semantic check, no publish). Do not merge unless you want the listing files onmain; even then, the registry stays unpublished until the DNS proof, PyPI marker, andmcp-publisher publishsteps above.