Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix(settings): API Docs opens the Carbon API docs, not the data API

Sidwebworksfce2acecd8a0
diff --git a/apps/erp/app/routes/api+/mcp+/lib/manifest.ts b/apps/erp/app/routes/api+/mcp+/lib/manifest.ts
index 2f08e44679..5b2e78df3b 100644
--- a/apps/erp/app/routes/api+/mcp+/lib/manifest.ts
+++ b/apps/erp/app/routes/api+/mcp+/lib/manifest.ts
@@ -145,9 +145,9 @@ export function buildMcpManifest(origin: string) {
classifications: CLASSIFICATIONS
},
documentation: {
- mcpGuide: `${DOCS_URL}/mcp`,
- apiReference: `${DOCS_URL}/api-reference`,
- authentication: `${DOCS_URL}/api-reference/authentication`,
+ mcpGuide: `${DOCS_URL}/api/mcp`,
+ apiReference: `${DOCS_URL}/api`,
+ authentication: `${DOCS_URL}/api/authentication`,
openapi: `${MARKETING_URL}/openapi.json`
},
/** Drop-in config for Claude Desktop, Claude Code and compatible clients. */
diff --git a/apps/erp/app/utils/path.ts b/apps/erp/app/utils/path.ts
index db8f129cc9..a01e96b160 100644
--- a/apps/erp/app/utils/path.ts
+++ b/apps/erp/app/utils/path.ts
@@ -419,7 +419,7 @@ export const path = {
// The docs render every endpoint against a host. Hand them this deployment's
// REST origin so a self-hosted or non-default-region reader sees their own
// host instead of rest.carbon.ms; with none set the docs show `<your-host>`.
- apiDocs: withDocsHost("https://docs.carbon.ms/api-reference"),
+ apiDocs: withDocsHost("https://docs.carbon.ms/api"),
apiKey: (id: string) => generatePath(`${x}/settings/api-keys/${id}`),
apiKeys: `${x}/settings/api-keys`,
approvalRule: (id: string) =>