Start for free
Start for free Log in

Connect an assistant with MCP

Set up a scoped token, point your MCP client at Zwely, and test a read-only tool.

MCP is a way for a compatible assistant or other program to call tools in Zwely. The connection runs with the permissions of an API token from one workspace. Give it access to only the work you intend to share.

Set up the connection

  1. In the intended workspace, open Settings → Connections → API access. Create a token with Read to start. Keep its value in your client’s secret storage.
  2. In an MCP client that supports a remote HTTP connection with a bearer token, use the server URL https://zwely.com/api/v1/mcp. Configure its authorization header as Bearer followed by your token. The screen for entering this depends on the client.
  3. Check the MCP section of the developer reference for the supported request format, tool list, and example calls. Keep the token in the client’s connection settings instead of putting it in a chat prompt.
Zwely Connections settings with a link to manage API tokens

Test a read task first

  1. Have the client list the tools it can use, then try a read task such as checking the workspace storage. Check the response against the workspace in Zwely.
  2. If you need to allow a write task, decide which actions the tool should be allowed to take. Use a token with the matching permission and try the task on a draft you control before it touches a live campaign.
  3. Review the result in Zwely. If a client gets a permission error, check the selected workspace, scope, and token expiration. Revoke the token in API access when you stop using the client.
Developer reference with endpoint details and request examples for clients