WORKING MACHINES GUIDE
Connect Copilot Studio to an MCP server with an API key
PUBLISHED DECEMBER 3, 2026 / REVIEWED DECEMBER 3, 2026
Copilot Studio can call an MCP server that takes an API key in a header you name. With Working Machines, create an API key, give it an allow list of actions, and add the address https://app.workingmachines.dev/mcp/actions in Copilot Studio with API key sign-in and the header x-api-key. Each allowed action then appears as its own tool with plain input fields.
Two addresses, for two kinds of agent host
The main Working Machines MCP address, /mcp, offers a small set of tools that search the catalog and run any action. That suits hosts such as Claude and Codex, which sign in with OAuth and handle a search-then-run flow.
A second address, /mcp/actions, is built for Copilot Studio. Each action the key may use becomes its own tool, named after the action with the dot turned into an underscore: outlook.send_email is the tool outlook_send_email. The tool takes the action's own inputs as plain fields, plus an optional connectionName.
- /mcp: OAuth sign-in, discovery tools, any action
- /mcp/actions: API key, one tool per allowed action
Create the key and its allow list first
Create an API key on the API Key page of the Working Machines dashboard, then give it an allow list: the actions it may use, for example outlook.* or outlook.send_email. The allow list is what decides which tools Copilot Studio sees.
A key with no allow list is refused at /mcp/actions with status 403 and the code allow_list_required. Up to 60 action tools are offered, in alphabetical order of the action id. Actions on the key's blocked list are not offered.
- One key per Copilot Studio agent
- Allow list before you connect
- Up to 60 action tools per key
Add the server in Copilot Studio
In Copilot Studio, add an MCP tool and enter the address https://app.workingmachines.dev/mcp/actions. Choose API key sign-in, name the header x-api-key, and paste the key. A key sent as Authorization: Bearer works too; when a request has an Authorization header, x-api-key is not read.
Keep the key out of prompts and topic text. It belongs in the connection's sign-in settings, where Copilot Studio stores it.
- Address: https://app.workingmachines.dev/mcp/actions
- Sign-in: API key
- Header name: x-api-key
Your rules and approvals still apply
Every tool call at /mcp/actions is checked exactly as a call on /mcp is: the mode, the pause, read-only apps, asking a person, hidden data and allowed recipient domains.
When a call waits for a person's approval, the tool says so and gives the approval link. After the person says yes, call the same tool again with the same input. One more tool, get_action_approval, is always offered and shows the state of a request.
- A held call returns the approval link
- After the yes: same tool, same input
- get_action_approval shows where a request stands
Changing the tool list later
Copilot Studio can take 12 to 24 hours to show a changed tool list. Decide the key's allow list before you connect, and expect a later change to arrive the next day.
If a tool you expect is missing, check three things in order: the action is on the key's allow list, it is not on the blocked list, and the list has no more than 60 actions ahead of it alphabetically.
- Plan the allow list up front
- A change can take 12 to 24 hours to appear
- Missing tool: check allow list, blocked list, then the 60-tool limit
Answers you may see
Most answers that look like failures are the server telling you something specific. 403 with allow_list_required means the key has no allow list. 429 with key_rate_limited means the key has made too many requests; wait the number of seconds the answer gives. connection_needs_reconnect means the app no longer accepts the connection and it must be reconnected on the Providers page.
Only POST is answered at /mcp/actions. Other methods are answered 405, which is expected if a tool probes the address with GET.
- 403 allow_list_required: add an allow list to the key
- 429 key_rate_limited: wait, then retry
- connection_needs_reconnect: reconnect the app
- 405: only POST is answered
Primary references
The protocol and security guidance in this article is grounded in the following primary documentation.