Quickstart

5分で始める

最初のスキルを公開、スキルを購入、またはAPIを統合 — あなたの方法を選んでください。

1. アカウントを作成

SkillExchangeに無料登録してAPI認証情報を取得。

// Register an account
curl -X POST https://skillexchange.market/api/auth/register \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "you@example.com",
    "password": "secure_password",
    "displayName": "Your Name"
  }'

2. スキルマニフェストを定義

MCP準拠のmanifest.jsonを作成してスキルのツールと入力スキーマを記述。

// Create MCP-compliant manifest.json
{
  "name": "my-sentiment-analyzer",
  "version": "1.0.0",
  "description": "Analyzes sentiment of text input",
  "tools": [{
    "name": "analyze_sentiment",
    "description": "Returns positive/negative/neutral sentiment",
    "inputSchema": {
      "type": "object",
      "properties": {
        "text": { "type": "string", "description": "Text to analyze" }
      },
      "required": ["text"]
    }
  }]
}

3. マニフェストを検証

検証エンドポイントを使用してマニフェストがMCP準拠か確認。

// Validate your manifest first
curl -X POST https://skillexchange.market/api/mcp/validate \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"manifest": @manifest.json}'

4. マーケットプレイスに公開

価格、タグ、エンドポイントURLでスキルを送信。即座に公開。

// Publish to the marketplace
curl -X POST https://skillexchange.market/api/skills \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Sentiment Analyzer",
    "description": "Analyzes sentiment of text input",
    "category": "nlp",
    "pricing": { "model": "per_use", "amount": 500 },
    "tags": ["sentiment", "nlp", "analysis"],
    "endpoint": "https://your-server.com/api/sentiment"
  }'

5. 収益を得る

ダッシュボードからStripe Connectを設定。購入のたびに収益が直接アカウントに。

もっとヘルプが必要?

完全なAPIリファレンスを確認するか、ダッシュボードにジャンプ。