# Connect any MCP client or agent to Dadan

> Dadan follows the MCP specification, so any client that supports remote servers over streamable HTTP with OAuth can connect. Spec-compliant clients configure themselves from the URL.

## Before you start

- A Dadan account
- A client or framework that supports remote MCP servers with OAuth

## Steps

1. Configure a remote server with the streamable HTTP transport. Most clients accept this shape:

   ```json
   {
     "mcpServers": {
       "dadan": {
         "url": "https://mcp.dadan.io/mcp"
       }
     }
   }
   ```
2. Let the client run the OAuth flow. Metadata is at /.well-known/oauth-authorization-server and /.well-known/oauth-protected-resource, with dynamic client registration at /oauth/register.
3. Check the endpoint from a terminal. Without a token it must answer 401 with a WWW-Authenticate challenge:

   ```bash
   curl -i -X POST https://mcp.dadan.io/mcp \
     -H "Content-Type: application/json" -d "{}"
   ```

Check it works: Run npx @modelcontextprotocol/inspector and connect to the endpoint. The Inspector walks the OAuth flow and lists every tool.

## Notes

- The most common mistake is a URL without /mcp. The bare domain serves this website, not the protocol.

## Troubleshooting

- **The assistant can’t connect.** Check that the URL ends with /mcp. The bare domain serves this website, not the MCP protocol.
- **Dadan asks you to reconnect.** Remove Dadan from that assistant and connect it again.
- **The assistant says the connection is read-only.** You ticked Read-only when you connected. To allow changes, remove Dadan and connect again without ticking it.
- **You can’t find custom connectors or MCP servers.** Your plan or your workspace admin may not allow them yet.
- **Sign-in says the link only works in the browser where you started.** Start connecting again from your assistant and finish the sign-in in the browser it opens. Don’t copy the sign-in link to another browser or device.
- **Notes or summaries fail.** The video needs a transcript first. Ask your assistant to transcribe it and say which language is spoken.

Canonical page: https://mcp.dadan.io/connect/other
