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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
Merge branch 'main' of https://github.com/crbnos/carbon into mes-picking-list
sidgaikwad95f2fa9a3aae
diff --cc apps/erp/app/routes/api+/mcp+/lib/tool-metadata.jsonindex 89288e8477,9ca81c1f6f..dd28f9dd88--- a/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json+++ b/apps/erp/app/routes/api+/mcp+/lib/tool-metadata.json@@@ -1,6 -1,6 +1,6 @@@{- "generated": "2026-07-09T15:38:43.299Z",- "totalTools": 1263,- "generated": "2026-07-09T20:57:39.950Z",++ "generated": "2026-07-10T02:52:11.114Z",+ "totalTools": 1303,"modules": 15,"tools": [{@@@ -427,7 -427,7 +427,7 @@@"null"]},-- "// Balance sheet only: append a computed \"Net Income\" equity line.\n includeCurrentYearEarnings": {++ "// Balance sheet only: append a computed \"Net Income\" equity line.\r\n includeCurrentYearEarnings": {"type": "boolean"}},@@@ -2135,7 -2135,7 +2135,7 @@@"description": {"type": "string"},-- "lines: Array<{\n accountId: string;\n description": {}++ "lines: Array<{\r\n accountId: string;\r\n description": {}},"required": ["journalEntryId",@@@ -2712,7 -2712,7 +2712,7 @@@"periodEnd": {"type": "string"},-- "lines: Array<{\n fixedAssetId: string;\n amount: number;\n taxAmount": {}++ "lines: Array<{\r\n fixedAssetId: string;\r\n amount: number;\r\n taxAmount": {}},"required": ["periodEnd"@@@ -3769,7 -3769,7 +3769,7 @@@"locationId": {"type": "string"},-- "omit to start from the newest entry. */\n entryNumber": {++ "omit to start from the newest entry. */\r\n entryNumber": {"type": "number"},"direction": {@@@ -3779,7 -3779,7 +3779,7 @@@"newer"]},-- "/** include the cursor row itself (used for the anchored first load). */\n inclusive": {++ "/** include the cursor row itself (used for the anchored first load). */\r\n inclusive": {"type": "boolean"}},@@@ -4321,7 -4321,7 +4321,7 @@@"receiptId": {"type": "string"},-- "lines: {\n id: string;\n receivedQuantity: number | null;\n requiresSerialTracking": {++ "lines: {\r\n id: string;\r\n receivedQuantity: number | null;\r\n requiresSerialTracking": {"type": "array","items": {}}@@@ -5811,7 -5811,7 +5811,7 @@@"type": "string"},"status": {},-- "// When set, the transition only applies if the row is still in this status.\n // The `.eq(\"status\", expectedStatus)` makes the read-then-write atomic, so a\n // concurrent transition can't be clobbered (0 rows matched → `.single()`\n // errors and the caller surfaces a failure).\n expectedStatus": {}++ "// When set, the transition only applies if the row is still in this status.\r\n // The `.eq(\"status\", expectedStatus)` makes the read-then-write atomic, so a\r\n // concurrent transition can't be clobbered (0 rows matched → `.single()`\r\n // errors and the caller surfaces a failure).\r\n expectedStatus": {}},"required": ["id",@@@ -7188,7 -7188,7 +7188,7 @@@"locationId": {"type": "string"},-- "lines: Array<{\n itemId: string;\n fromStorageUnitId": {},++ "lines: Array<{\r\n itemId: string;\r\n fromStorageUnitId": {},"stockTransferId": {"type": "string"},@@@ -8696,7 -8696,7 +8696,7 @@@"null"]},-- "// Combined counterparty filter (customer OR supplier ids) from the table's\n // \"Counterparty\" filter, which sources options from both stores.\n counterpartyIds": {++ "// Combined counterparty filter (customer OR supplier ids) from the table's\r\n // \"Counterparty\" filter, which sources options from both stores.\r\n counterpartyIds": {"type": ["array","null"@@@ -9157,8 -9157,8 +9157,8 @@@"companyId","party","// When editing a Draft payment's composer",-- "that payment's own staged credits\n // should NOT count as used — they show as staged",-- "not consumed.\n excludePaymentId"++ "that payment's own staged credits\r\n // should NOT count as used — they show as staged",++ "not consumed.\r\n excludePaymentId"],"injectAuth": ["companyId"@@@ -9168,15 -9168,15 +9168,15 @@@"properties": {"party": {},"// When editing a Draft payment's composer": {},-- "that payment's own staged credits\n // should NOT count as used — they show as staged": {},-- "not consumed.\n excludePaymentId": {++ "that payment's own staged credits\r\n // should NOT count as used — they show as staged": {},++ "not consumed.\r\n excludePaymentId": {"type": "string"}},"required": ["party","// When editing a Draft payment's composer",-- "that payment's own staged credits\n // should NOT count as used — they show as staged"++ "that payment's own staged credits\r\n // should NOT count as used — they show as staged"]}},@@@ -24455,7 -25737,7 +25737,7 @@@},"status": {},"source": {},-- "// might be needed later for filtering by assignee\n assignee": {++ "// might be needed later for filtering by assignee\r\n assignee": {"type": "array","items": {"type": "string"@@@ -39110,7 -40392,7 +40392,7 @@@"paramCount": 2,"serviceParams": ["client",-- "{\n id,\n name,\n companyId\n }"++ "{\r\n id,\r\n name,\r\n companyId\r\n }"],"injectAuth": ["companyId",