Read Megaventory products, stock, orders and partners; create clients, sales and purchase orders. Hosted by usefulapi — connect from Claude, Cursor, or any MCP client.
Team and Enterprise: an Owner adds the connector for the organization first.
Run this command, then run /mcp in Claude Code to log in:
Add to Cursor or add this to ~/.cursor/mcp.json:
{
"mcpServers": {
"megaventory": {
"url": "https://megaventory.usefulapi.io/mcp"
}
}
}Add to VS Code or add this to .vscode/mcp.json:
{
"servers": {
"megaventory": {
"type": "http",
"url": "https://megaventory.usefulapi.io/mcp"
}
}
}Other MCP clients (Windsurf, Cline, Zed and more): add the URL as a remote MCP server (Streamable HTTP). The client then opens the login page in your browser. Do not add an Authorization header: see Before you connect.
The login page asks for your Megaventory API key.
Find it in Megaventory: click your profile icon → My Profile, then the key icon to generate a key, and choose Update. The API is part of the paid Megaventory plans. The key acts with that user's permissions (a dedicated user makes its activity easy to track). It is used only to call the Megaventory API on your behalf, sent in the request body, and never shown to anyone.
Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Megaventory API key. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.
| Tool | Type | What it does |
|---|---|---|
megaventory_get_current_user | read | Get current user The Megaventory user this API key belongs to (user name and whether they are an administrator). The key itself and the mobile PIN are never returned. POST /User/UserGet. |
megaventory_list_products | read | List products Search the product catalog: SKU, description, category, prices (selling, purchase, unit cost), dimensions, main supplier, sellable/purchasable flags and more. Filter by id, exact SKU, category, main supplier or words in the description. Empty text fields are omitted. POST /Product/ProductGet. |
megaventory_list_product_categories | read | List product categories List product categories (id, name, description). Use the ids to filter products. POST /ProductCategory/ProductCategoryGet. |
megaventory_get_product_bom | read | Get product bill of materials The bill of materials (BOM) of a manufactured product: its raw materials (id, SKU, description, quantity per unit). POST /ProductBOM/ProductBOMGet. |
megaventory_list_product_bundles | read | List product bundles List product bundles (a bundle sells several products together). Filter by bundle id or SKU, or by a product the bundle includes. POST /Product/ProductBundleGetAll. |
megaventory_get_stock | read | Get stock levels Stock per product per inventory location: physical stock, on hand, on hold, not yet shipped (open sales orders), not yet received (open purchase orders / work orders) and the alert level. Filter by product ids, SKU, category, location or supplier, or show only products below their alert level. POST /InventoryLocationStock/InventoryLocationStockGet. |
megaventory_list_inventory_locations | read | List inventory locations List inventory locations (warehouses, shops, transit): id, abbreviation, name, address. Use the ids for stock filters and order locations. POST /InventoryLocation/InventoryLocationGet. |
megaventory_list_clients_suppliers | read | List clients and suppliers List clients and suppliers (one record type in Megaventory): id, type, name, addresses, phone, email, tax id, currency, payment terms and contacts. Filter by type or words in the name. POST /SupplierClient/SupplierClientGet. |
megaventory_list_product_suppliers | read | List product supplier prices Which suppliers sell which products: supplier SKU, description and purchase price per product-supplier pair. POST /ProductSupplier/ProductSupplierGet. |
megaventory_list_sales_orders | read | List sales orders List sales orders with client, dates, totals (subtotal, tax, discount, grand total), status and the order rows (SKU, quantity, shipped/invoiced quantity, unit price). Filter by order number or status. POST /SalesOrder/SalesOrderGet. |
megaventory_list_purchase_orders | read | List purchase orders List purchase orders with supplier, dates, totals, status and the order rows (SKU, quantity, received/invoiced quantity, unit price). Filter by order number, status or supplier. POST /PurchaseOrder/PurchaseOrderGet. |
megaventory_list_sales_quotes | read | List sales quotes List sales quotes with client, totals, status and rows. Filter by quote number or status. POST /SalesQuote/SalesQuoteGet. |
megaventory_list_work_orders | read | List work orders List work (production) orders: finished product, quantity, location, status, priority and the materials allocated. Filter by work order number or status. POST /WorkOrder/WorkOrderGet. |
megaventory_list_documents | read | List documents List transaction documents of any type: shipments, invoices, receipts, credit notes, returns, adjustments and so on, with totals and status. Narrow by document type ids (megaventory_list_document_types), document number or status. POST /Document/DocumentGet. |
megaventory_list_document_types | read | List document types List the document types of the account (sales order, purchase order, shipment, invoice and so on) with their ids and abbreviations. POST /DocumentType/DocumentTypeGet. |
megaventory_list_taxes | read | List taxes List the tax rates defined in the account (id, name, rate). POST /Tax/TaxGet. |
megaventory_list_currencies | read | List currencies List the currencies of the account (code, description, exchange rate to the default currency, default flag). POST /Currency/CurrencyGet. |
megaventory_create_client_or_supplier | write | Create client or supplier WRITE: create a NEW client, supplier or both in Megaventory (Insert only: an existing record is never updated, nothing is deleted). Creating the same name twice creates two records, so search with megaventory_list_clients_suppliers first. POST /SupplierClient/SupplierClientUpdate. |
megaventory_create_sales_order | write | Create pending sales order WRITE: create a NEW sales order for an existing client in the PENDING status. A pending order is only a draft document: it is not verified, nothing is shipped, invoiced or paid, and stock is not touched. Verifying, shipping and invoicing happen in Megaventory, not through this server. POST /SalesOrder/SalesOrderUpdate. |
megaventory_create_purchase_order | write | Create pending purchase order WRITE: create a NEW purchase order to an existing supplier in the PENDING status. A pending order is only a draft document: it is not verified or sent, nothing is received, invoiced or paid, and stock is not touched. Verifying and receiving happen in Megaventory, not through this server. POST /PurchaseOrder/PurchaseOrderUpdate. |
megaventory_usage_status | Usage status (free-tier meter) Report the caller's current free-tier usage this month: calls used, monthly limit, remaining, and whether the cap is reached. Read-only; does not count against the meter. | |
megaventory_request_feature | Request a missing feature Tell usefulapi that the user needs something the Megaventory tools cannot do yet (a missing tool, field or filter). Call it only when the user asks for something none of the tools can do, and tell the user that you send the request. Do not call it for errors or for normal requests. Do not include personal data, credentials or customer records. Stored with the product name and the client type (for example Claude or Cursor), without the user's account. At most 5 requests per day. Does not count against the meter. | |
megaventory_upgrade | Upgrade to Pro (unlimited) Subscribe to the Pro plan for UNLIMITED Megaventory tool calls (the free tier caps monthly usage). Choose monthly ($9/month) or yearly ($90/year — 2 months free) billing. Returns a Stripe Checkout link to open in your browser; after payment your account upgrades automatically. Does not count against the meter. | |
megaventory_cancel_subscription | Cancel the Pro subscription Cancel the caller's Megaventory Pro subscription at the end of the paid period (no refund for the current period; unlimited calls continue until then, then the free tier applies). Requires confirm: true. Run megaventory_upgrade later to undo the cancel before the period ends. Does not count against the meter. |
| Plan | Price | Limit |
|---|---|---|
| Free | $0 | 100 tool calls / month |
| Proper user | $9/mo · $90/yr | Unlimited |
Pro covers this Megaventory server only. Subscribe with megaventory_upgrade (it returns a Stripe Checkout link). Cancel any time with megaventory_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running megaventory_upgrade before then undoes the cancel. Or write to [email protected].
No. usefulapi is an independent service. It is not affiliated with or endorsed by Megaventory. The server calls the Megaventory API with your own Megaventory access, so it sees only the data that your account can see.
The login page asks for your Megaventory API key. See Before you connect for where to find it.
No. Add only the URL. Do not add an Authorization header or an API key to the client config. The server signs you in with OAuth: the login page asks for your Megaventory API key. If the config has such a header, remove it: some clients then send that header instead of the login token, and every call fails with 401.
The login stores them encrypted in the authorization grant of your connection. The server uses them to call the Megaventory API for you and to derive a private account id for usage metering. usefulapi does not show them on any page or in any reply. To stop all access, remove the connector and change or delete these credentials in Megaventory.
Yes, if you approve it. 3 of the 20 Megaventory tools can create or change data. The other 17 are marked read-only. Most MCP clients ask you to approve a tool call before it runs.
The Free plan gives 100 tool calls / month. Pro costs $9/mo or $90/yr, with unlimited tool calls, for this Megaventory server only. Run megaventory_usage_status to see how many calls you used.
Ask the AI to run megaventory_upgrade: it returns a Stripe Checkout link. To cancel, run megaventory_cancel_subscription. Pro continues to the end of the paid period.
Tell the AI what you wanted to do. It can send the request with megaventory_request_feature. We store the text with the server name, the type of AI client and the tool you tried, not with your account, and read every request when we plan new tools. You can send up to 5 requests per day.
Any client that supports remote MCP servers (Streamable HTTP) with OAuth login: Claude (web and desktop), Claude Code, Cursor, VS Code, Windsurf and others.
This is a Model Context Protocol endpoint — meant to be connected from an AI client, not opened in a browser. An invalid_token response at the URL is the auth gate working as designed; clients authenticate automatically.