{
  "info": {
    "name": "Files.com — mcp.ai",
    "description": "REST API for the Files.com 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/files_com",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "files_com_delete_api_key",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/api/key",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "api",
            "key"
          ]
        },
        "description": "Tool to delete an API key. Use when you need to revoke an API key after confirming its identifier.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"api_key_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "files_com_delete_permission",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/permission",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "permission"
          ]
        },
        "description": "Removes a permission grant that allows a user or group to access a specific file or folder path on Files.com. A permission ID can be obtained from the LIST_PERMISSIONS action. Use this tool when you n",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"permission_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "files_com_delete_share",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/share",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "share"
          ]
        },
        "description": "Delete a specified share link (bundle) on Files.com. This operation is idempotent - it succeeds even if the share link has already been deleted or doesn't exist. Use this to revoke public access to sh",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"share_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "files_com_get_s3_key_for_upload",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/s3/key/for/upload",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "s3",
            "key",
            "for",
            "upload"
          ]
        },
        "description": "Tool to generate a temporary key for file uploads by uploading the file to Files.com. Useful when you need to host a local file temporarily before importing or sharing.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"file\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "files_com_list_folders",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/folders",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "folders"
          ]
        },
        "description": "Lists folders in Files.com with optional filtering, sorting, and pagination. Returns a paginated list of folders with metadata. Useful for browsing folder structure, finding specific folders by name, ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"search\": \"\",\n  \"per_page\": 0,\n  \"parent_id\": 0,\n  \"sort_by_path\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "files_com_list_groups",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/groups",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "groups"
          ]
        },
        "description": "Retrieves a paginated list of all groups from Files.com. Groups are used to organize users and manage permissions collectively. Use this action to discover available groups, check group membership, or",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"per_page\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "files_com_list_permissions",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/permissions",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "permissions"
          ]
        },
        "description": "Retrieve permissions for a specified path on Files.com. Use when you need to inspect who has access and what level for a given file or folder path.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"path\": \"\",\n  \"user_id\": \"\",\n  \"group_id\": \"\",\n  \"per_page\": 0,\n  \"partner_id\": \"\",\n  \"include_groups\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}