{
  "info": {
    "name": "AppDrag — mcp.ai",
    "description": "REST API for the AppDrag 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/appdrag",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "appdrag_execute_function_delete_default",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/execute/function/delete/default",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "execute",
            "function",
            "delete",
            "default"
          ]
        },
        "description": "Tool to execute a Cloud Backend API function via DELETE on the default environment. Use when you need to call a function with DELETE parameters and optional APIKey.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"apiKey\": \"\",\n  \"folder\": \"\",\n  \"function\": \"\",\n  \"parameters\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "appdrag_execute_function_delete_preprod",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/execute/function/delete/preprod",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "execute",
            "function",
            "delete",
            "preprod"
          ]
        },
        "description": "Tool to execute the pre-production version of a Cloud Backend API function via DELETE. Use when you need to test or validate delete operations in the preprod environment before production deployment.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"body\": {},\n  \"apiKey\": \"\",\n  \"folder\": \"\",\n  \"function\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "appdrag_execute_function_get_prod",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/execute/function/get/prod",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "execute",
            "function",
            "get",
            "prod"
          ]
        },
        "description": "Tool to execute a production Cloud Backend API function via GET. Includes robust URL handling and fallbacks to accommodate management base URLs.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"apiKey\": \"\",\n  \"folder\": \"\",\n  \"function\": \"\",\n  \"query_params\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "appdrag_execute_function_patch_dev",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/execute/function/patch/dev",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "execute",
            "function",
            "patch",
            "dev"
          ]
        },
        "description": "Tool to execute the development version of a Cloud Backend API function via PATCH. Use after deploying or updating your function to the dev environment.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"body\": {},\n  \"apiKey\": \"\",\n  \"folder\": \"\",\n  \"function\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "appdrag_execute_function_post_default",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/execute/function/post/default",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "execute",
            "function",
            "post",
            "default"
          ]
        },
        "description": "Tool to execute a Cloud Backend API function via POST on the default environment. Use when you need to call a function with POST parameters and optional APIKey.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"folder\": \"\",\n  \"function\": \"\",\n  \"parameters\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "appdrag_execute_function_post_preprod",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/execute/function/post/preprod",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "execute",
            "function",
            "post",
            "preprod"
          ]
        },
        "description": "Tool to execute a Cloud Backend API function via POST on the preprod environment. Use when you need to test a function in the preprod environment before releasing to production. Include apiKey if your",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"apiKey\": \"\",\n  \"folder\": \"\",\n  \"params\": {},\n  \"function\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "appdrag_execute_function_put_default",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/execute/function/put/default",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "execute",
            "function",
            "put",
            "default"
          ]
        },
        "description": "Tool to execute a Cloud Backend API function via PUT on the default environment. Use when you need to call a function with PUT parameters and optional APIKey.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"apiKey\": \"\",\n  \"folder\": \"\",\n  \"function\": \"\",\n  \"parameters\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "appdrag_execute_function_put_preprod",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/execute/function/put/preprod",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "execute",
            "function",
            "put",
            "preprod"
          ]
        },
        "description": "Tool to execute a Cloud Backend API function via PUT on the preprod environment. Use when you need to call a function with PUT parameters and optional APIKey in preprod.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"apiKey\": \"\",\n  \"folder\": \"\",\n  \"function\": \"\",\n  \"parameters\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "appdrag_visual_sql_delete",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/visual/sql/delete",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "visual",
            "sql",
            "delete"
          ]
        },
        "description": "Tool to delete rows via a Visual SQL Delete function. Use when you need to delete records from a Cloud DB table using a Visual SQL Delete function.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"apiKey\": \"\",\n  \"folder\": \"\",\n  \"params\": {},\n  \"visualDeleteFunction\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "appdrag_visual_sql_select",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/visual/sql/select",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "visual",
            "sql",
            "select"
          ]
        },
        "description": "Tool to execute a Visual SELECT Cloud Backend function. Use when you need to read rows from a database table using a visual SQL function configured in AppDrag.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"apiKey\": \"\",\n  \"folder\": \"\",\n  \"params\": {},\n  \"visualSelectFunction\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "appdrag_visual_sql_update",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/visual/sql/update",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "visual",
            "sql",
            "update"
          ]
        },
        "description": "Tool to execute a Visual SQL UPDATE via an AppDrag Visual UPDATE function. Use when you need to update database rows based on your Visual UPDATE mapping.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"apiKey\": \"\",\n  \"folder\": \"\",\n  \"parameters\": {},\n  \"visualUpdateFunction\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}