API Conventions

API Conventions Skill

kaewz-manga 123260f 942 B Updated

File contents

API Conventions Skill

REST API patterns for cl-n8n-mcp.


Endpoints

Method Path Auth Description
GET / No Server info
GET /health No Health check
GET /stats API Key Usage stats
POST /mcp Yes MCP endpoint
DELETE /mcp Yes Terminate session

Authentication

Multi-Tenant Headers

x-n8n-url: https://n8n.example.com
x-n8n-key: n8n_api_key_here

SaaS API Key (wrapper)

Authorization: Bearer n2f_xxxxxxxxxxxxx

Response Format

Success

{
  "success": true,
  "data": { ... }
}

Error

{
  "success": false,
  "error": {
    "code": "RATE_LIMITED",
    "message": "Rate limit exceeded"
  }
}

Rate Limit Headers

X-RateLimit-Limit: 50
X-RateLimit-Remaining: 45
X-RateLimit-Reset: 1704067200

kaewz-manga/cl-n8n-mcp/tree/main/.claude/skills/api-conventions commit 123260fc9e

Frequently asked questions

npx skillmds@latest add kaewz-manga/api-conventions