Quickstart

Начните за 5 минут

Опубликуйте навык, купите или интегрируйте API.

1. Создайте аккаунт

Бесплатная регистрация для получения 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. Проверьте манифест

Используйте эндпоинт валидации.

// 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-документация или перейдите в дашборд.