Skip to main content
Sankhya is an enterprise resource planning (ERP) system. With this MCP, your AI agents can read and write Sankhya ERP data in real time, including querying partners, retrieving notes, and creating new sales orders.

Adding Sankhya as an MCP

Before you start, make sure the MCP Server is set up. See MCPs for how MCPs work.
  1. Go to Activate → MCPs, click New MCP and choose Sankhya.
  2. Name your MCP and describe what it is used for. The agent reads the description to choose between MCPs of the same provider.
  3. Setup access. To authenticate, you need credentials from your Sankhya Developer Area and your Sankhya Om system.
    1. Obtain your Client ID and Client Secret from the Sankhya Developer Area.
    2. Find your X-Token in the Gateway Settings within Sankhya Om.
    3. Provide the following fields:
    • Client ID (required): Your Sankhya Client ID from the Developer Area.
    • Client Secret (required): Your Sankhya Client Secret from the Developer Area.
    • Gateway Token (X-Token) (required): Your X-Token from Gateway Settings in Sankhya Om.
    • Base URL: Sankhya Gateway API URL. Leave empty to use https://api.sankhya.com.br (use https://api.sandbox.sankhya.com.br for the sandbox). This is not the address of your Sankhya Om system.
  4. Select tools. Pick the tools your agents can use. See Available tools below.
  5. Click Save. On Growth and Custom plans, choose who can use it; see Access levels.

Example prompts

  • “Search for the partner Acme Corp and tell me their exact partner code.”
  • “What are the items and total value of sales order number 12345?”
  • “List all the columns and custom fields available in the TGFPAR partner table.”
  • “Create a new sales order for partner 4454 with 5 units of product code 10, using operation type 100.”

Available tools

Choose which of these tools your agents can use in Select tools.

Read tools

Write tools

Troubleshooting

If your credentials expire or are revoked in the Sankhya Developer Area or Gateway Settings, the MCP will show that it needs to reconnect. You can update your API keys directly from the MCP’s page to restore access. If your agent encounters permission errors when trying to use tools like read_table or run_query, verify that the integration user has been granted access to the Sankhya Database Explorer (DbExplorerSP).

Need help?

Contact our support team if you have trouble connecting Sankhya.