{
  "info": {
    "name": "Y gy — mcp.ai",
    "description": "REST API for the Y gy 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/y_gy",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "y_gy_create_link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/link",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "link"
          ]
        },
        "description": "Tool to create a comprehensive Y.gy shortened link with advanced features. Supports custom domains, suffixes, QR codes, password protection, expiration dates, social media previews, device-specific re",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"tags\": \"\",\n  \"domain\": \"\",\n  \"suffix\": \"\",\n  \"og_image\": \"\",\n  \"og_title\": \"\",\n  \"password\": \"\",\n  \"disable_png\": \"\",\n  \"webhook_url\": \"\",\n  \"og_description\": \"\",\n  \"destination_url\": \"\",\n  \"expiration_date\": \"\",\n  \"webhook_auth_key\": \"\",\n  \"ios_link_destination\": \"\",\n  \"qr_code_background_hex\": \"\",\n  \"qr_code_foreground_hex\": \"\",\n  \"android_link_destination\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "y_gy_create_tag",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/tag",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "tag"
          ]
        },
        "description": "Tool to create a new tag. Use after determining the tag name to categorize links.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "y_gy_delete_short_link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/short/link",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "short",
            "link"
          ]
        },
        "description": "Tool to delete a specific short link by its ID. Use when you need to remove a short link after confirming its ID.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "y_gy_delete_tag",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/tag",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "tag"
          ]
        },
        "description": "Tool to delete a tag. Use when you need to remove a tag by its ID after confirming it exists.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "y_gy_get_all_links",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/all/links",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "all",
            "links"
          ]
        },
        "description": "Tool to fetch all short links with optional pagination. Use when you need to list existing links with filters.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"tag\": \"\",\n  \"page\": 0,\n  \"limit\": 0,\n  \"search\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "y_gy_get_all_tags",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/all/tags",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "all",
            "tags"
          ]
        },
        "description": "Tool to retrieve all tags associated with the organization. Use when you need to list all available tags for categorizing resources.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "y_gy_get_link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/link",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "link"
          ]
        },
        "description": "Tool to retrieve a specific short link by its ID. Returns the complete link object including destination URL, QR codes, tags, and all configuration options. Use when you need full details about a shor",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "y_gy_register_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/register/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "register",
            "user"
          ]
        },
        "description": "Tool to register a new user account. Use when onboarding a new user to the y.gy system with their chosen username, password, and email.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"password\": \"\",\n  \"username\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}