{
  "info": {
    "name": "Loomio — mcp.ai",
    "description": "REST API for the Loomio 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/loomio",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "loomio_list_groups",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/groups",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "groups"
          ]
        },
        "description": "Tool to list all groups accessible to the user. Use when you need to retrieve and paginate user groups.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"filter\": \"\",\n  \"includes\": \"\",\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "loomio_list_polls",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/polls",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "polls"
          ]
        },
        "description": "Tool to list all polls accessible to the user. Use when you need to retrieve poll IDs and basic metadata.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"status\": \"\",\n  \"group_id\": 0,\n  \"per_page\": 0,\n  \"discussion_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "loomio_show_group",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/show/group",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "show",
            "group"
          ]
        },
        "description": "Tool to retrieve details of a specific group. Use when you have a group_id and need its full metadata.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"group_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "loomio_show_poll",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/show/poll",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "show",
            "poll"
          ]
        },
        "description": "Tool to retrieve details of a specific poll. Use when you have a poll ID and need its full metadata.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"poll_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}