跳到主要内容

Marketplace Publish Flow

Specification for "Publish My MCP" and "Publish My Skill" features in MCP Market and Skills Market pages.


Overview

Both MCP Market and Skills Market pages should have a publish button in the top-right corner of the page header (visible only when logged in). Clicking the button navigates to a multi-step publish wizard.


Entry Points

MCP Market (/mcp-market)

ElementSpecification
Button Text"Publish My MCP"
PositionTop-right corner of page header
VisibilityOnly when user is authenticated
Navigation/mcp-market/publish

Skills Market (/skills-market)

ElementSpecification
Button Text"Publish My Skill"
PositionTop-right corner of page header
VisibilityOnly when user is authenticated
Navigation/skills-market/publish

MCP Publish Flow

Flow Steps

Step 1: Basic Info → Step 2: Code/Config → Step 3: Preview → Step 4: Publish

Step 1: Basic Info

Required fields:

FieldTypeRequiredDescription
NametextYesMCP package name
DescriptiontextareaYesShort description (max 280 characters)
Iconfile uploadYesSquare image (512x512 recommended)
CategoryselectYesPrimary category
Tagsmulti-selectNoUp to 5 tags
VersiontextYesSemantic version (e.g., 1.0.0)
LicenseselectYesMIT, Apache-2.0, GPL-3.0, etc.
HomepageurlNoProject homepage or repository

Step 2: Code/Config

  • Upload MCP configuration file
  • Define entry points and commands
  • Specify dependencies and requirements

Step 3: Preview

  • Show how the MCP will appear in the marketplace
  • Display all metadata in card format
  • Allow editing (go back to previous step)

Step 4: Publish

  • Final confirmation
  • Terms of service agreement
  • Submit for review or publish immediately

Skill Publish Flow

Flow Steps

Step 1: Import Source → Step 2: Edit → Step 3: Preview → Step 4: Publish

Step 1: Import Source

Three import methods available:

Type 1: Upload ZIP File

SpecificationDetails
InputMultiple ZIP file selection
ValidationEach ZIP must contain SKILL.md at root
UIDrag-and-drop zone + file browser
FeedbackShow validation status for each file

Type 2: Select Local Directory

SpecificationDetails
InputDirectory selector (multi-select)
ValidationEach directory must contain SKILL.md at root
UIFolder browser with checkboxes
FeedbackShow validation status for each directory

Type 3: Import from GitHub

SpecificationDetails
AuthenticationConnect GitHub account (OAuth)
Step 1List user's repositories
Step 2Select repository
DetectionAuto-detect skills/ folder or root-level SKILL.md
Step 3List available skills with checkboxes
SelectionSupport multiple skill selection

Step 2: Edit

For each imported skill:

  • Preview SKILL.md content
  • Edit metadata (name, description, tags)
  • Add/modify examples
  • Configure visibility (public/private)

Step 3: Preview

  • Show how each skill will appear in the marketplace
  • Display skill card preview
  • Allow batch review of multiple skills

Step 4: Publish

  • Final confirmation for all selected skills
  • Terms of service agreement
  • Publish all or selectively publish individual skills

Auto-save (Draft Mode)

FeatureSpecification
TriggerAuto-save on field change (debounced 2 seconds)
StorageLocal storage + sync to backend when online
RecoveryShow "Continue draft?" prompt when returning
ExpirationDrafts expire after 30 days
IndicatorShow "Draft saved" toast notification

UI Components

Progress Indicator

[1] ─── [2] ─── [3] ─── [4]
● ○ ○ ○
Basic Config Preview Publish
  • Numbered steps with connecting lines
  • Current step highlighted
  • Completed steps show checkmark
  • Clickable navigation (if step is accessible)
PositionButton
Bottom-left"Back" (disabled on step 1)
Bottom-right"Continue" / "Publish" (on last step)
Top-right"Save Draft" / "Cancel"

Validation

  • Inline validation on field blur
  • Step completion validation before proceeding
  • Show all errors at top of step on submit failure

Error Handling

ScenarioBehavior
Upload failureShow retry button, preserve other uploads
GitHub auth failureShow re-authenticate option, preserve selection
Validation errorHighlight field, scroll to first error
Network errorAuto-retry with exponential backoff
Draft save failureShow warning, offer manual save option

Routes

/mcp-market/publish # MCP publish wizard
/mcp-market/publish/:draftId # Resume draft

/skills-market/publish # Skill publish wizard
/skills-market/publish/:draftId # Resume draft

Implementation Checklist

Phase 1: Foundation

  • Add publish button to MCP Market page header
  • Add publish button to Skills Market page header
  • Create route structure for publish pages
  • Implement authentication check for button visibility

Phase 2: MCP Publish

  • Step 1: Basic info form
  • Step 2: Code/config upload
  • Step 3: Preview component
  • Step 4: Publish confirmation
  • Auto-save functionality

Phase 3: Skill Publish

  • Step 1a: ZIP file upload with validation
  • Step 1b: Directory selection with validation
  • Step 1c: GitHub OAuth integration
  • Step 1c: Repository browser
  • Step 1c: Skill detection and selection
  • Step 2: Skill editor
  • Step 3: Batch preview
  • Step 4: Batch publish

Phase 4: Polish

  • Progress indicator animation
  • Step transition animations
  • Loading states
  • Error recovery flows
  • Mobile responsiveness

Design Notes

Follow the Design System:

  • Use warm amber color palette for primary actions
  • Use serif font for headings
  • Use staggered animations for step transitions
  • Preview cards match marketplace card design