Establishing a Connection
The CData MCP Server for SugarCRM defines each connection to SugarCRM as a named configuration that Claude can use when sending natural language queries.
You create and manage these configurations using the MCP Configuration Tool. The tool automatically handles formatting, storage, and registration with Claude Desktop.
Understanding Connection Configurations
Each connection configuration is stored in a .mcp file. This file includes the details needed to initialize the connector when Claude starts a session.
- On Windows, configuration files are stored in "~/AppData/Roaming/CData/SugarCRM Data Provider/".
- On macOS, configuration files are stored in "~/Library/Application Support/CData/SugarCRM Data Provider/".
The .mcp file is a text file that contains a list of connection properties and a timestamp. For example:
#Tue May 20 15:48:40 EDT 2025 AuthScheme=Basic User=myUser Password=myPassword Security Token=myToken
The configuration tool handles these settings automatically. Each saved configuration enables Claude to launch a dedicated MCP Server instance with the correct connector and options. Manual file editing is not required.
Connecting to SugarCRM
To establish a connection to SugarCRM, set URL to the URL associated with your SugarCRM account in the form http://{sugar crm instance}.com.
Authenticating to SugarCRM
To authenticate the server to SugarCRM, set the following:
- User: The user of the SugarCRM account.
- Password: The password associated with the SugarCRM user.
- Platform (optional): If you're encountering a login conflict during authentication, set this to one of the platforms that you have created in the SugarCRM UI.
By default, SugarCRM uses the "sugar" client id for authentication, but users can optionally specify the client Id and client secret values of a custom app. See Creating a Custom OAuth Application for more information.
- OAuthClientId: Client Id of your custom OAuth app.
- OAuthClientSecret: Client secret of your custom OAuth app.
Caching SugarCRM Metadata
Note that retrieving SugarCRM metadata can be expensive. It is advised that you store the metadata locally as described in Caching Metadata.