{
  "info": {
    "name": "Microsoft Teams — mcp.ai",
    "description": "REST API for the Microsoft Teams 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/microsoft_teams",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "microsoft_teams_add_member_to_team",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/add/member/to/team",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "add",
            "member",
            "to",
            "team"
          ]
        },
        "description": "Tool to add a user to a microsoft teams team. use when granting or updating membership for a user.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"roles\": \"\",\n  \"team_id\": \"\",\n  \"user_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_archive_team",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/archive/team",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "archive",
            "team"
          ]
        },
        "description": "Tool to archive a microsoft teams team. use after confirming the team id; returns 202 if accepted.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"team_id\": \"\",\n  \"should_set_spo_site_read_only_for_members\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_chats_get_all_chats",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/chats/get/all/chats",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "chats",
            "get",
            "all",
            "chats"
          ]
        },
        "description": "Retrieves all microsoft teams chats a specified user is part of, supporting filtering, property selection, and pagination.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"top\": 0,\n  \"filter\": \"\",\n  \"select\": \"\",\n  \"user_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_chats_get_all_messages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/chats/get/all/messages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "chats",
            "get",
            "all",
            "messages"
          ]
        },
        "description": "Retrieves all messages from a specified microsoft teams chat using the microsoft graph api, automatically handling pagination; ensure `chat id` is valid and odata expressions in `filter` or `select` a",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"top\": 0,\n  \"filter\": \"\",\n  \"select\": \"\",\n  \"chat_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_create_meeting",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/meeting",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "meeting"
          ]
        },
        "description": "Use to schedule a new standalone microsoft teams online meeting, i.e., one not linked to any calendar event.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"subject\": \"\",\n  \"participants\": \"\",\n  \"end_date_time\": \"\",\n  \"start_date_time\": \"\",\n  \"is_passcode_required\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_create_team",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/team",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "team"
          ]
        },
        "description": "Tool to create a new microsoft teams team. use when you need to provision a team with optional template, channels, and members.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"members\": \"\",\n  \"visibility\": \"\",\n  \"description\": \"\",\n  \"displayName\": \"\",\n  \"firstChannelName\": \"\",\n  \"template_odata_bind\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_delete_team",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/team",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "team"
          ]
        },
        "description": "Tool to delete a microsoft teams team. use after confirming the target team id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"team_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_get_channel",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/channel",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "channel"
          ]
        },
        "description": "Tool to get a specific channel in a team. use after obtaining valid team and channel ids to fetch channel details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"team_id\": \"\",\n  \"channel_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_get_chat_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/chat/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "chat",
            "message"
          ]
        },
        "description": "Tool to get a specific chat message. use after confirming chat id and message id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"chat_id\": \"\",\n  \"message_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_get_team",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/team",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "team"
          ]
        },
        "description": "Tool to get a specific team. use when full details of one team by id are needed.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"team_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_list_message_replies",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/message/replies",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "message",
            "replies"
          ]
        },
        "description": "Tool to list replies to a channel message. use after obtaining team, channel, and message ids.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"top\": 0,\n  \"team_id\": \"\",\n  \"channel_id\": \"\",\n  \"message_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_list_team_members",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/team/members",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "team",
            "members"
          ]
        },
        "description": "Tool to list members of a microsoft teams team. use when you need to retrieve the members of a specific team, for auditing or notifications.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"top\": 0,\n  \"team_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_list_teams_templates",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/teams/templates",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "teams",
            "templates"
          ]
        },
        "description": "Tool to list available microsoft teams templates. use when retrieving templates for team creation or customization workflows.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"top\": 0,\n  \"skip\": 0,\n  \"count\": false,\n  \"filter\": \"\",\n  \"select\": \"\",\n  \"orderby\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_list_users",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/users",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "users"
          ]
        },
        "description": "Tool to list all users in the organization. use when you need to retrieve directory users with filtering, pagination, and field selection.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"$top\": 0,\n  \"$skip\": 0,\n  \"$expand\": \"\",\n  \"$filter\": \"\",\n  \"$select\": \"\",\n  \"$orderby\": \"\",\n  \"consistencyLevel\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_teams_create_channel",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/teams/create/channel",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "teams",
            "create",
            "channel"
          ]
        },
        "description": "Creates a new 'standard', 'private', or 'shared' channel within a specified microsoft teams team.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"name\": \"\",\n  \"team_id\": \"\",\n  \"description\": \"\",\n  \"membership_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_teams_create_chat",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/teams/create/chat",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "teams",
            "create",
            "chat"
          ]
        },
        "description": "Creates a new chat; if a 'oneonone' chat with the specified members already exists, its details are returned, while 'group' chats are always newly created.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"topic\": \"\",\n  \"members\": \"\",\n  \"chatType\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_teams_get_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/teams/get/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "teams",
            "get",
            "message"
          ]
        },
        "description": "Retrieves a specific message from a microsoft teams channel using its team, channel, and message ids.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"team_id\": \"\",\n  \"channel_id\": \"\",\n  \"message_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_teams_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/teams/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "teams",
            "list"
          ]
        },
        "description": "Retrieves microsoft teams accessible by the authenticated user, allowing filtering, property selection, and pagination.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"top\": 0,\n  \"filter\": \"\",\n  \"select\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_teams_list_channels",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/teams/list/channels",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "teams",
            "list",
            "channels"
          ]
        },
        "description": "Retrieves channels for a specified microsoft teams team id (must be valid and for an existing team), with options to include shared channels, filter results, and select properties.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"filter\": \"\",\n  \"select\": \"\",\n  \"team_id\": \"\",\n  \"include_shared_channels\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_teams_list_chat_messages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/teams/list/chat/messages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "teams",
            "list",
            "chat",
            "messages"
          ]
        },
        "description": "Retrieves messages (newest first) from an existing and accessible microsoft teams one-on-one chat, group chat, or channel thread, specified by `chat id`.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"top\": 0,\n  \"chat_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_teams_list_people",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/teams/list/people",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "teams",
            "list",
            "people"
          ]
        },
        "description": "Retrieves a list of people relevant to a specified user from microsoft graph, noting the `search` parameter is only effective if `user id` is 'me'.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"top\": 0,\n  \"skip\": 0,\n  \"filter\": \"\",\n  \"search\": \"\",\n  \"select\": \"\",\n  \"orderby\": \"\",\n  \"user_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_teams_post_channel_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/teams/post/channel/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "teams",
            "post",
            "channel",
            "message"
          ]
        },
        "description": "Posts a new text or html message to a specified channel in a microsoft teams team.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"content\": \"\",\n  \"team_id\": \"\",\n  \"channel_id\": \"\",\n  \"content_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_teams_post_chat_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/teams/post/chat/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "teams",
            "post",
            "chat",
            "message"
          ]
        },
        "description": "Sends a non-empty message (text or html) to a specified, existing microsoft teams chat; content must be valid html if `content type` is 'html'.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"chat_id\": \"\",\n  \"content\": \"\",\n  \"content_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_teams_post_message_reply",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/teams/post/message/reply",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "teams",
            "post",
            "message",
            "reply"
          ]
        },
        "description": "Sends a reply to an existing message, identified by `message id`, within a specific `channel id` of a given `team id` in microsoft teams.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"content\": \"\",\n  \"team_id\": \"\",\n  \"channel_id\": \"\",\n  \"message_id\": \"\",\n  \"content_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_unarchive_team",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/unarchive/team",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "unarchive",
            "team"
          ]
        },
        "description": "Tool to unarchive a microsoft teams team. use when you need to restore an archived team to active state.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"team_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_update_channel_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/channel/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "channel",
            "message"
          ]
        },
        "description": "Tool to update a message in a channel. use when you need to modify an existing channel message after confirming channel and message ids.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"content\": \"\",\n  \"team_id\": \"\",\n  \"channel_id\": \"\",\n  \"message_id\": \"\",\n  \"content_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_update_chat_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/chat/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "chat",
            "message"
          ]
        },
        "description": "Tool to update a specific message in a chat. use when you need to correct or modify a sent chat message.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"chat_id\": \"\",\n  \"content\": \"\",\n  \"message_id\": \"\",\n  \"content_type\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "microsoft_teams_update_team",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/team",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "team"
          ]
        },
        "description": "Tool to update the properties of a team. use when you need to modify team settings such as member, messaging, or fun settings.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"team_id\": \"\",\n  \"funSettings\": {},\n  \"memberSettings\": {},\n  \"messagingSettings\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}