Skip to content
Open dashboard

SIDEMEX / MCP

Connect Sidemex to your assistant

Connect your workspace MCP and use the TypeScript SDK to create, configure, and publish agents with your account permissions.

Read as Markdown

The workspace MCP connects a compatible client to your Sidemex account. Each access identifies its owner and limits tools to the permissions you grant.

Open the complete agents MCP and SDK guide →

Setting Value
URL https://sidemex.app/api/medusa/ai/agents/sdmx/mcp
Transport Streamable HTTP, JSON-RPC 2.0
Protocol version 2025-11-25
Authentication Authorization: Bearer <token> header
  1. Open Agents in your dashboard and sign in to your account.
  2. Click your avatar or email at the bottom left, then choose MCP connectors → Virtual assistants. You can also open MCP connectors from Sidemex AI. No agent is required.
  3. Choose an assistant or Create MCP connection, name the access, select 1, 7 or 30 days, and choose the permissions your client needs. Click Create access.
  4. Save the token when it appears: it is shown only once. Store it as a secret in your server or MCP client.
  5. Initialize the connection and call tools/list to check the tools available with this access.

The workspace token is not issued through the domains and email OAuth connector. A client that only supports OAuth and cannot set a Bearer header needs an integration compatible with this access method. You will receive an email reminder before expiration: 6 hours ahead for 1-day access and 24 hours ahead for 7- or 30-day access. Create another access and replace the token to continue. Revoke the previous access under Your account’s access.

Button-by-button guide to creating and managing agents →

Permission Allows
workspace:read Read the workspace, agents, and account services.
crm:read Read leads and calls with masked phone numbers and email addresses.
workspace:propose Prepare proposals for approval in the dashboard.
agents:write Create agents and save drafts and profiles; query Google Places and read websites within plan limits.
agents:publish Approve reviewed profiles, publish versions, and activate or pause agents directly.

Grant agents:write to create a draft. If your integration must also publish and activate it, grant agents:publish as well. Publication uses the dashboard validations. Permissions do not increase plan capacity or available credits.

Use Node.js 22 or later and install the package hosted by Sidemex:

Ventana de terminal
npm install https://sidemex.net/docs/agents/downloads/sidemex-mcp-sdk-1.0.2.tgz

Set SIDEMEX_MCP_TOKEN in your server environment and test the connection:

import { SidemexMcpClient } from '@sidemex/mcp-sdk';
const token = process.env.SIDEMEX_MCP_TOKEN;
if (!token) throw new Error('Set SIDEMEX_MCP_TOKEN.');
const client = new SidemexMcpClient({ token });
try {
await client.initialize();
const tools = await client.listTools();
console.log(tools.map(tool => tool.name));
} finally {
await client.close();
}

A valid connection returns the tools allowed for that access. Review creation and publication examples, agent fields, website reading and Google Places, and errors and operation receipts before automating changes.

The agents MCP manifest describes its endpoint, protocol, and permissions. llms.txt links to public guides. These files do not grant account access.

The domains, DNS, and email reference documents a separate connector at mcp.sidemex.net, with its own authentication and availability. Its credentials and permissions do not replace the workspace token in this guide.

Revoke workspace access from the same panel where you created it. Once revoked, the client must stop receiving tools and account data.