@codespar/mcp-colppy 0.2.0-alpha.1 → 0.2.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +21 -4
  2. package/dist/index.js +2 -2
  3. package/package.json +13 -4
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # MCP Colppy
2
2
 
3
+
4
+ > **Alpha release** — published under the `alpha` npm dist-tag. Endpoint paths follow public docs and BACEN/provider conventions but have not been fully live-validated. Pin exact versions during `0.x.x-alpha`. Install with `npm install <pkg>@alpha`.
5
+
3
6
  MCP server for **Colppy** — Argentine cloud accounting platform with integrated AFIP electronic invoicing.
4
7
 
5
8
  ## Quick Start
@@ -25,18 +28,32 @@ npx tsx packages/argentina/colppy/src/index.ts --http
25
28
  | `MCP_HTTP` | No | Set to `"true"` to enable HTTP transport |
26
29
  | `MCP_PORT` | No | HTTP port (default: 3000) |
27
30
 
28
- ## Tools
31
+ ## Tools (22)
29
32
 
30
- | Tool | Description |
31
- |------|-------------|
33
+ | Tool | Purpose |
34
+ |---|---|
32
35
  | `list_customers` | List customers |
33
36
  | `create_customer` | Create a customer |
34
37
  | `list_products` | List products and services |
35
- | `create_invoice` | Create an invoice (integrates with AFIP) |
38
+ | `create_invoice` | Create an invoice (integrates with AFIP for electronic invoicing) |
36
39
  | `list_invoices` | List invoices |
37
40
  | `get_balance` | Get account balance summary |
38
41
  | `list_accounts` | List chart of accounts (plan de cuentas) |
39
42
  | `create_payment` | Record a payment against an invoice |
43
+ | `update_customer` | Update an existing customer's data |
44
+ | `delete_customer` | Delete a customer |
45
+ | `get_customer_balance` | Get the current account balance (cuenta corriente) for a customer |
46
+ | `list_suppliers` | List suppliers (proveedores) |
47
+ | `create_supplier` | Create a supplier (proveedor) |
48
+ | `cancel_invoice` | Cancel/void an invoice (anular comprobante) |
49
+ | `get_invoice_pdf` | Get the PDF representation of an invoice (returns URL or base64) |
50
+ | `create_receipt` | Create a receipt (recibo) — record cash/transfer received against one or more invoices |
51
+ | `list_receipts` | List receipts (recibos) |
52
+ | `get_stock` | Get current stock for a product across warehouses |
53
+ | `list_warehouses` | List warehouses (depósitos) |
54
+ | `list_companies` | List companies (empresas) accessible to the current API user |
55
+ | `sales_report` | Sales report by date range |
56
+ | `expenses_report` | Expenses/purchases report by date range |
40
57
 
41
58
  ## Auth
42
59
 
package/dist/index.js CHANGED
@@ -47,7 +47,7 @@ async function colppyRequest(service, operation, params) {
47
47
  }
48
48
  return res.json();
49
49
  }
50
- const server = new Server({ name: "mcp-colppy", version: "0.2.0-alpha.1" }, { capabilities: { tools: {} } });
50
+ const server = new Server({ name: "mcp-colppy", version: "0.2.0-alpha.2" }, { capabilities: { tools: {} } });
51
51
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
52
52
  tools: [
53
53
  {
@@ -552,7 +552,7 @@ async function main() {
552
552
  const t = new StreamableHTTPServerTransport({ sessionIdGenerator: () => randomUUID(), onsessioninitialized: (id) => { transports.set(id, t); } });
553
553
  t.onclose = () => { if (t.sessionId)
554
554
  transports.delete(t.sessionId); };
555
- const s = new Server({ name: "mcp-colppy", version: "0.2.0-alpha.1" }, { capabilities: { tools: {} } });
555
+ const s = new Server({ name: "mcp-colppy", version: "0.2.0-alpha.2" }, { capabilities: { tools: {} } });
556
556
  server._requestHandlers.forEach((v, k) => s._requestHandlers.set(k, v));
557
557
  server._notificationHandlers?.forEach((v, k) => s._notificationHandlers.set(k, v));
558
558
  await s.connect(t);
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "@codespar/mcp-colppy",
3
- "version": "0.2.0-alpha.1",
4
- "description": "MCP server for Colppy Argentine cloud accounting + AFIP invoicing",
3
+ "version": "0.2.0-alpha.2",
4
+ "description": "MCP server for Colppy \u2014 Argentine cloud accounting + AFIP invoicing",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "bin": {
8
8
  "mcp-colppy": "dist/index.js"
9
9
  },
10
- "files": ["dist"],
10
+ "files": [
11
+ "dist"
12
+ ],
11
13
  "scripts": {
12
14
  "build": "tsc",
13
15
  "start": "node dist/index.js"
@@ -20,6 +22,13 @@
20
22
  "typescript": "^5.8.0"
21
23
  },
22
24
  "license": "MIT",
23
- "keywords": ["colppy", "accounting", "argentina", "afip", "invoicing", "mcp"],
25
+ "keywords": [
26
+ "colppy",
27
+ "accounting",
28
+ "argentina",
29
+ "afip",
30
+ "invoicing",
31
+ "mcp"
32
+ ],
24
33
  "mcpName": "io.github.codespar/mcp-colppy"
25
34
  }