{
  "info": {
    "name": "L2s — mcp.ai",
    "description": "REST API for the L2s MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/l2s",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "l2s_get_url_details",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/url/details",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "url",
            "details"
          ]
        },
        "description": "Tool to retrieve details of a shortened URL. Use when you need metadata about a specific shortened link. Use after obtaining a valid URL ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "l2s_l2_s_get_user_settings",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/l2/s/get/user/settings",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "l2",
            "s",
            "get",
            "user",
            "settings"
          ]
        },
        "description": "Tool to retrieve current user's settings. Use after authentication to fetch email, notification, and appearance preferences.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "l2s_l2_s_list_urls",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/l2/s/list/urls",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "l2",
            "s",
            "list",
            "urls"
          ]
        },
        "description": "Tool to list all shortened URLs. Use after user authentication to retrieve the user's URLs with pagination details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"page_size\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "l2s_l2_s_shorten_url",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/l2/s/shorten/url",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "l2",
            "s",
            "shorten",
            "url"
          ]
        },
        "description": "Tool to shorten a given long URL. Use when you need a concise link representation.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"tags\": \"\",\n  \"title\": \"\",\n  \"utmTerm\": \"\",\n  \"customKey\": \"\",\n  \"utmMedium\": \"\",\n  \"utmSource\": \"\",\n  \"utmContent\": \"\",\n  \"utmCampaign\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}