{
  "info": {
    "name": "Turso — mcp.ai",
    "description": "REST API for the Turso 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/turso",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "turso_closest_region",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/closest/region",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "closest",
            "region"
          ]
        },
        "description": "Tool to get the closest Turso region based on client location. Use when you need to minimize latency by selecting the nearest deployment region.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "turso_listen_to_changes",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/listen/to/changes",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "listen",
            "to",
            "changes"
          ]
        },
        "description": "Listen to committed table changes in a Turso database via the /beta/listen endpoint. This tool streams real-time insert/update/delete events for a specific table. IMPORTANT: Requires a database-specif",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"table\": \"\",\n  \"action\": \"\",\n  \"database_url\": \"\",\n  \"database_token\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "turso_validate_api_token",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/validate/api/token",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "validate",
            "api",
            "token"
          ]
        },
        "description": "Validates a Turso API token and retrieves its expiration time. Use this action to verify that an API token is valid and check when it expires. Returns the token's expiration timestamp, or -1 if the to",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"mode\": \"\",\n  \"health_sql\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}