Moltline Merchant Maths
v1.2.0Processor fees, charge-to-net, invoice totals and proration. 3 of 6 tools free.
Endpoint health
online- Last checked
- 11/20/2026, 7:16:47 AM
- Latency
- 66 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:com.moltlinestudio%2Fmerchant
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"com.moltlinestudio/merchant": {
"url": "https://mcp.moltlinestudio.com/merchant"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
6 shown · authentication unknown
Charge To Net
charge_to_net
Compute the gross price to charge so you net a target after fees. FREE. 'Charge X to receive Y' after percentage + fixed processor fees. Typical input {"net_target": 100, "pct_fee": 2.9, "fixed_fee": 0.30} returns {"charge": 103.4, "fee": 3.4, "net": 100.0}. The inverse of processor_fees - solves for gross from a target net. Use when the payout is the fixed requirement. Not when the price is already set. Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": "<what is wrong and how to fix it>"} (for example {"error": "net_target > 0 and pct_fee < 100 required"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Schema valid · SHA-256 d40ad2360eed…
View input schema
{ "type": "object", "properties": { "net_target": { "exclusiveMinimum": 0, "type": "number", "description": "The amount you want to receive after fees; must be\ngreater than 0." }, "pct_fee": { "default": 2.9, "exclusiveMaximum": 100, "type": "number", "description": "Processor percentage fee, below 100, e.g. 2.9 for 2.9%.\nDefault 2.9." }, "fixed_fee": { "default": 0.3, "type": "number", "description": "Processor fixed fee per charge. Default 0.30." } }, "required": [ "net_target" ], "additionalProperties": false }Discount Stack
discount_stack
Stack discounts correctly: sequential vs additive comparison. PREMIUM (license). The two methods differ: this shows both, the final price, and the true total discount. Typical input {"price": 200, "discounts_pct": [20, 10]} returns {"original": 200, "sequential_price": 144.0, "sequential_total_discount_pct": 28.0, "additive_price": 140.0, "difference": 4.0, "note": "..."}. Use when more than one discount applies and the order changes the answer. Not for a single discount inside an invoice (invoice_total). Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": "<what is wrong and how to fix it>"} (for example {"error": "price > 0 and at least one discount required"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
Connections
streamable-http
https://mcp.moltlinestudio.com/merchant