Skip to content

[Feature] Publish SpecLeft to MCP Registry #77

@Dimwiddle

Description

@Dimwiddle

Summary

Publish SpecLeft's MCP server to the official Anthropic MCP Registry and automate future releases via CI/CD. This enables one-click installation in Claude Desktop and automatic discovery by MCP-compatible agents.

Target release: v0.3.0 (after MCP server implementation)

Depends On

Tasks

1. End-to-End Testing Flow

Verify the SpecLeft MCP server works as a real installed package over stdio transport — catching deployment bugs that in-memory client tests cannot: missing wheel dependencies, broken entry points, import-time errors, and malformed stdio framing.

Entry point: python -m specleft.mcp Minimum Python: 3.9

Testing details in the comments.

2. Registry Manifest

  • Create server.json in repository root:
{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "name": "io.github.SpecLeft/specleft",
  "title": "SpecLeft",
  "description": "Track and enforce Python feature coverage with verifiable safety guarantees. Generates pytest test scaffolding from markdown specifications, monitors implementation progress, and blocks PRs that violate coverage policies. Agent-optimised: 3 resources, 1 tool, offline-only, no telemetry, no API keys required.",
  "version": "0.3.0",
  "websiteUrl": "https://specleft.dev",
  "repository": {
    "url": "https://github.com/SpecLeft/specleft",
    "source": "github"
  },
  "packages": [
    {
      "registryType": "pypi",
      "registryBaseUrl": "https://pypi.org",
      "identifier": "specleft",
      "version": "0.3.0",
      "runtimeHint": "uvx",
      "transport": {
        "type": "stdio"
      },
      "packageArguments": [
        {
          "type": "positional",
          "value": "mcp"
        }
      ],
      "environmentVariables": []
    }
  ]
}

3. Initial Publication

  • Install mcp-publisher CLI locally
  • Authenticate with GitHub OAuth (mcp-publisher login)
  • Verify listing at https://registry.modelcontextprotocol.io/v0/servers
  • Test one-click install in Claude Desktop

4. CI/CD Automation

  • Trigger: release published
  • Steps: install mcp-publisher → publish to registry
  • Authentication: GitHub OIDC (no secrets required)
  • Test workflow with a pre-release tag by running E2E test in CI

5. Documentation Updates

[![MCP Registry](https://img.shields.io/badge/MCP-Registry-blue)](https://registry.modelcontextprotocol.io/servers/io.github.specleft/specleft)

Success Criteria

  • Server listed in official MCP Registry
  • E2E Test in CI and local Makefile
  • Claude Desktop can discover and install SpecLeft via registry
  • CI/CD workflow auto-publishes on new releases
  • Badge renders correctly in README

Notes

  • MCP Registry is self-service — no approval process required
  • Publishing is immediate and zero-cost
  • Downstream registries (GitHub Marketplace, etc.) auto-sync from the official registry
  • server.json uses schema version 2025-12-11 (latest stable)
  • Registry API is v0.1 (frozen, stable for 30+ days)

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions