---
title: "Add an MCP server"
description: "How to connect a custom MCP server with openwork"
---

Connecting a custom MCP server with openwork takes four clicks.

- Inside your workspace, click in `Extensions` \> `Advanced Settings` \> `Add MCP server`

<Frame>
  ![Extensions page with Advanced Settings link](/images/mcp-extensions-advanced-settings.png)
</Frame>

You can choose to add the MCP server in this workspace or for all workspaces (global Ow config)

<Frame>
  ![Add MCP Server dialog with name, URL, and OAuth toggle](/images/mcp-add-server-dialog.png)

  You should indicate wether it requires OAuth or not.
</Frame>

This setup is aimed at servers that allow for dynamic user registration (eg: OAuth based MCPs)

<Frame>
  ![OAuth approval page for MCP server](/images/mcp-oauth-approval-page.png)
</Frame>

Once in their Oath page, you should just continue with the registration or custom setup. It should redirect back to openwork. Feel free to [open an issue](https://github.com/different-ai/openwork/issues/) if you require a custom MCP that we currently do not support.

### Troubleshooting

Some MCP servers do not support dynamic client registration. We do not currently support them.

<Frame>
  ![Error when MCP server does not support dynamic client registration](/images/mcp-dynamic-registration-error.png)
</Frame>