Creating the Altify MCP Server Tools in Microsoft Copilot Studio
The following steps outline how to connect MaxAI (via MCP Servers) to your Microsoft Copilot Studio agent using the Model Context Protocol (MCP) connector.
(For in-depth guidance on the following, see Connect your agent to an existing Model Context Protocol (MCP) server on the Microsoft Learn site.)
-
Open your agent in Copilot Studio and click on the Tools tab.
-
Add a new tool, selecting Model Context Protocol as the type.
-
In the Model Context Protocol dialog, enter the following information:
-
Server name: Enter a descriptive name.
-
Server description: Enter a description of what this server does.
-
Server URL: Enter the MCP server endpoint, e.g. for the Altify Salesforce server, this is:
https://salesforce.mcp.altify.dev/mcpAll four servers are listed below (including the Sandbox equivalent if you are testing the MCP servers in a Sandbox org):
Server Endpoint for production orgs Endpoint for sandbox orgs Altify Salesforce https://salesforce.mcp.altify.dev/mcphttps://salesforce.mcp.altify.dev/test.salesforce.com/mcpAltify Analysis https://analysis.mcp.altify.dev/mcphttps://analysis.mcp.altify.dev/test.salesforce.com/mcpAltify Retrieve https://retrieve.mcp.altify.dev/mcphttps://retrieve.mcp.altify.dev/test.salesforce.com/mcpAltify Write https://write.mcp.altify.dev/mcphttps://write.mcp.altify.dev/test.salesforce.com/mcp -
Authentication: Select OAuth 2.0
-
Type: Select Manual
-
Client ID: Enter the OAuth client ID from your Salesforce External Client Application (you will need to obtain this from your Salesforce admin)
-
Client secret: Enter the corresponding client secret
Note: The Client ID and Client secret can be obtained on the Settings tab (see OAuth Settings) of your custom Salesforce External Client Application. Your ECA may include separate credentials for each server.
-
Authorization URL: Enter the appropriate endpoint URL with 'authorize' appended, e.g.
https://salesforce.mcp.altify.dev/authorize -
Token URL template: Enter the appropriate endpoint URL with 'token' appended, e.g.
https://salesforce.mcp.altify.dev/token -
Refresh URL: Enter the appropriate endpoint URL with 'token' appended, e.g.
https://salesforce.mcp.altify.dev/token -
Scopes: refresh_token api
-
Redirect URL: This will be generated automatically after creation — leave it as the placeholder for now.
-
-
Click Create.
-
On creating the MCP tool, copy the Redirect URL that is automatically generated. You (or your Salesforce Admin) will need to register it as an allowed callback URL in your Salesforce External Client Application configuration.
-
Click Next.
-
On the next screen, expand the Connection menu and select Create new connection to initiate the OAuth flow. This will open the Salesforce login page where you authenticate and authorize the connection.
After completing the OAuth flow, the connection status updates to show the tool with a green connected indicator.
-
Click Add and configure to finish adding the tool to your agent.
-
Repeat steps 1 to 8 for the three other servers.