Microsoft Teams MCP server for AI agents
List teams, channels and chats, read and post channel and chat messages, reply in threads and create online meetings in Microsoft Teams.
Runs with your users' own Microsoft Teams accounts. Credentials stay on prompt-tm.com.
12 tools · 0 triggers
- Auth
- OAuth 2.0 (sign in with the app)
- Tools
- 12
- Triggers
- 0
- Category
- Communication
Tools and triggers
List my teams
TEAMS_LIST_JOINED_TEAMS
Lists the teams the signed-in user is a member of, with their IDs.read-only
List channels
TEAMS_LIST_CHANNELS
Lists a team's channels with their IDs and whether each is standard, private or shared.read-only
Get a channel
TEAMS_GET_CHANNEL
Returns one channel with its name, description, email address and web link.read-only
List team members
TEAMS_LIST_MEMBERS
Lists a team's members with their names, user IDs, email addresses and roles.read-only
List channel messages
TEAMS_LIST_CHANNEL_MESSAGES
Lists a channel's top-level messages, 20 per page by default and at most 50. Replies come from List replies, or here with `expand` set to `replies`.read-only
List replies
TEAMS_LIST_REPLIES
Lists the replies to one channel message.read-only
Post in a channel
TEAMS_SEND_CHANNEL_MESSAGE
Posts a new message in a channel as the signed-in user.
Reply in a channel thread
TEAMS_REPLY_TO_CHANNEL_MESSAGE
Replies to a message in a channel.
List chats
TEAMS_LIST_CHATS
Lists the signed-in user's one-on-one, group and meeting chats with their IDs.read-only
List chat messages
TEAMS_LIST_CHAT_MESSAGES
Lists the messages in a chat, most recently changed first.read-only
Send a chat message
TEAMS_SEND_CHAT_MESSAGE
Sends a message in an existing chat as the signed-in user.
Create an online meeting
TEAMS_CREATE_ONLINE_MEETING
Creates a Teams meeting not tied to a calendar event and returns its join link. To put a meeting in the calendar, create an Outlook event with an online meeting instead.
Try Microsoft Teams now
Sign in, connect your account and run any of these in the playground, or ask your agent through the router.
- “List my teams”TEAMS_LIST_JOINED_TEAMS
- “List channels”TEAMS_LIST_CHANNELS
- “Get a channel”TEAMS_GET_CHANNEL
Connect via MCP
Create an MCP server for Microsoft Teams in the dashboard, then add its URL to your client. This is the Claude Code command; the client guide has the others.
claude mcp add --transport http teams \
"https://www.prompt-tm.com/mcp/<server id>?user_id=<your user>" \
--header "x-api-key: ptm_…"Connect via REST
Run a tool with one request. The response is { data, error, successful, log_id } for every tool.
curl -X POST https://www.prompt-tm.com/api/v3/tools/execute/TEAMS_LIST_JOINED_TEAMS \
-H "x-api-key: $PROMPT_TM_KEY" -H "content-type: application/json" \
-d '{ "user_id": "alice", "arguments": {} }'