Skip to content

Add official MCP Registry listing as app.structkit/mcp - #204

Open
httpdss wants to merge 2 commits into
mainfrom
cursor/mcp-registry-listing-9410
Open

httpdss wants to merge 2 commits into
mainfrom
cursor/mcp-registry-listing-9410

Conversation

@httpdss

@httpdss httpdss commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Issue

No existing issue. Makes StructKit publishable to the official MCP Registry (registry.modelcontextprotocol.io) as app.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 with mcp-publisher validate after switching to the domain namespace.

What landed

  • Hidden PyPI ownership marker in README.md: <!-- mcp-name: app.structkit/mcp -->. HTML comment so it does not render; the string must appear in the published PyPI long description.
  • Root server.json named app.structkit/mcp (reverse-DNS of structkit.app), version 3.3.1 (matches current pyproject.toml), PyPI package structkit, runtimeHint: uvx, stdio transport, and packageArguments so clients launch structkit mcp --server rather than bare structkit.
  • Validated with mcp-publisher validate (pass) and JSON Schema Draft-07 (pass). Description is 52 characters (limit 100).
  • Release Drafter version-bump PR now updates both pyproject.toml and server.json. publish-pypi also checks server.json against the release tag.
  • Optional .github/workflows/publish-mcp-registry.yml: DNS login (mcp-publisher login dns --domain structkit.app --private-key …) using secrets.MCP_PRIVATE_KEY, only on release: published. GitHub OIDC cannot authenticate a domain namespace. If MCP_PRIVATE_KEY is unset, login and publish are skipped (release still succeeds). The private key is never committed (key.pem is gitignored).
  • Maintainer steps in 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)

  1. Merge this PR. Do not publish or cut a release from the PR itself.

  2. Reconcile versions with open PR Bump pyproject version to 3.3.2 #203 (Bump pyproject version to 3.3.2). This branch matches main at 3.3.1. After this lands, either update Bump pyproject version to 3.3.2 #203 so server.json is also 3.3.2, or let the next Release Drafter run refresh chore/bump-pyproject-version to bump both files.

  3. Prove ownership of structkit.app (required for app.structkit/mcp). GitHub login will not work for this name.

    Generate an Ed25519 keypair and TXT record:

    MY_DOMAIN="structkit.app"
    openssl genpkey -algorithm Ed25519 -out key.pem
    PUBLIC_KEY="$(openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | base64)"
    echo "${MY_DOMAIN}. IN TXT \"v=MCPv1; k=ed25519; p=${PUBLIC_KEY}\""

    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.

    Host/name: structkit.app (or @)
    Type: TXT
    Value: v=MCPv1; k=ed25519; p=<PUBLIC_KEY>
    

    Confirm with dig TXT structkit.app +short.

    HTTP alternative (same keypair): put v=MCPv1; k=ed25519; p=<PUBLIC_KEY> at https://structkit.app/.well-known/mcp-registry-auth, then use mcp-publisher login http --domain structkit.app --private-key … instead of login dns.

  4. Extract the private key hex (not the PEM file) and store it as repo secret MCP_PRIVATE_KEY. Do not commit key.pem.

    PRIVATE_KEY="$(openssl pkey -in key.pem -noout -text | grep -A3 "priv:" | tail -n +2 | tr -d ' :\n')"
    # Store "${PRIVATE_KEY}" as GitHub Actions secret MCP_PRIVATE_KEY
  5. Ship a new PyPI version whose README includes mcp-name: app.structkit/mcp. Current PyPI 3.3.1 does not have it; the registry checks the published long description, not git main. Confirm in that version’s PyPI JSON info.description.

  6. First listing, from the repo root:

    mcp-publisher login dns --domain structkit.app --private-key "${PRIVATE_KEY}"
    mcp-publisher publish
  7. Later GitHub Releases can use .github/workflows/publish-mcp-registry.yml once MCP_PRIVATE_KEY is set. Until that secret exists, the workflow validates server.json and skips publish.

Checklist

  • I have read the contributing guidelines.
  • My code follows the code style of this project.
  • I have performed a self-review of my own code.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • I have updated the documentation accordingly.

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 on main; even then, the registry stays unpublished until the DNS proof, PyPI marker, and mcp-publisher publish steps above.

Open in Web Open in Cursor 

cursoragent and others added 2 commits November 9, 2026 14:07
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>
@cursor cursor Bot changed the title Add official MCP Registry listing metadata Add official MCP Registry listing as app.structkit/mcp Nov 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants