Generate an API token
In Spark Web Settings, generate an Admin token for company-wide access or issue Manager Agent Access for one Restaurant or Store Manager.
Spark's hosted Model Context Protocol connector gives Muse and other compatible agents access to the business context, tools, and records available to the connected Spark identity.
Looking for AI inside Spark Web, the Spark app, or your private business WhatsApp group? Explore Spark AI.
In Spark Web Settings, generate an Admin token for company-wide access or issue Manager Agent Access for one Restaurant or Store Manager.
Use the hosted MCP endpoint in Muse or another Streamable HTTP MCP client and choose Bearer/API-key authentication.
The connector discovers your company type, role, and enabled modules, then presents the tools relevant to that workspace.
Connect
Configure the endpoint as a hosted Streamable HTTP MCP server. Send the API token exactly as a Bearer token. Do not send a company or store ID; Spark resolves company, role, and manager assignments from the token.
https://mcp.1xaispark.comAuthorization: Bearer spark_admin_or_mgr_token_here{
"mcpServers": {
"spark": {
"url": "https://mcp.1xaispark.com",
"headers": {
"Authorization": "Bearer spark_admin_or_mgr_token_here"
}
}
}
}Treat the API token like a password. Do not place it in source control, screenshots, support messages, or client-side code. Spark shows the plaintext token only once.
Security model
Every token resolves its company, role, and—when issued for a manager—the manager’s current assigned restaurants or stores.
External agents cannot send a company ID or switch the token into another workspace.
Available tools follow the token's company, role, enabled modules, and current manager assignments.
Rotate or revoke the token from Spark Settings. Revoked tokens are rejected at the connector boundary.
What you can ask
The connector includes tools for dashboards, sales, LPG orders, payments, customers, stock, trips, vehicles, attendance, check-ins, payroll, expenses, alerts, and other enabled modules.
Requirements and limits
In Settings → API Token, choose Rotate Token to replace the secret or Revoke Token to disconnect agents. Update the agent configuration after rotation.
Contact onexai.inc@gmail.com. Include the MCP client name and error message, but never include your API token.
Also see the Privacy Policy and Terms of Service.
One web dashboard and Android app for sales, stock, payments, people, and field operations.
Or message us on WhatsApp
Free to start · No payment required · Web + Android