Connect OpenCode to Microsoft Teams
What happens next
Set up in minutes
Choose where it runs
On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in Microsoft Teams
A preset of real Microsoft Teams operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Microsoft Teams
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your OpenCode first calls in.
1. Run this in your terminal
2. Choose Remote and paste your server URL
3. Choose No when asked about OAuth authentication — the link itself is the key
<your-link> is your personal server URL — setup mints it for you.
Exact capabilities
Tools OpenCode gets
Microsoft Teams
37 toolsList teams the signed-in user is a member of.
Retrieve a team's properties and settings.
Create a new team (async; returns an operation location).
List channels in a team.
Retrieve a single channel.
Create a standard / private / shared channel in a team.
Soft-delete a channel.
List top-level messages in a channel.
Retrieve a single channel message.
Post a message to a channel (delegated ChannelMessage.Send).
Reply within a channel message thread.
List replies in a channel message thread.
List the signed-in user's 1:1 / group / meeting chats.
Retrieve a single chat.
Create a new 1:1 or group chat with members.
List messages in a chat.
Post a message to an existing chat (delegated ChatMessage.Send).
List members and their roles in a team.
Add a member to a team.
Remove a member from a team.
List apps installed in a team.
Install an app from the catalog into a team.
List tabs pinned to a channel.
Pin a configured tab to a channel.
Create a Teams online meeting and get the join URL.
Retrieve an online meeting's details.
Get a user's availability / activity (e.g. Available, Busy).
Update a team's properties (PATCH).
Archive a team (read-only for members; POST /archive).
Restore an archived team (POST /unarchive).
Update a channel's properties (PATCH).
List the members of a channel (private/shared channels).
Fetch a single chat message.
List the members of a chat.
Remove a tab from a channel.
Uninstall an app from a team.
Get the signed-in user's presence.
Starting points
What you can build
Meet the runner
About OpenCode
Good to know
Frequently asked questions
Keep exploring
More ways to connect
More tools for OpenCode
Popular OpenCode pairs
Use Microsoft Teams with other agents
Make it yours
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Microsoft Teams wired in as tools. Connect your account and run.