Skip to main content
Cuprice runs a hosted MCP (Model Context Protocol) server. Your AI assistant uses it to read the plans you published, write the embed code for your framework, and style the widget with the right CSS classes. The server is public and read-only. It needs no API key and no sign-in, and it cannot create, edit or publish anything. To change projects, plans or features from code, use the REST API v1 with an API key. Every tool works from a Share ID. Publish a project in Cuprice and the share link ends with it: app.cuprice.io/share/your-share-id.

Connect your tool

The URL is the same everywhere. Only where you paste it changes.
Create .cursor/mcp.json in your project, or ~/.cursor/mcp.json to use the server in every project:
.cursor/mcp.json
Open Cursor Settings and find cuprice in the MCP list. Its three tools show there once it connects.

Then ask your assistant

Write it the way you would ask a colleague. The assistant picks the tool and fills in the arguments.
  • “Add my Cuprice pricing table to app/pricing/page.tsx. The Share ID is your-share-id.” uses get-embed-code.
  • “List my Cuprice plans with their monthly prices and the features in each one. Share ID your-share-id.” uses get-pricing.
  • “Style the Cuprice plan cards to match our site: 16px corners, our brand font, and our primary color on the buttons.” uses get-css-classes.

Tools

get-pricing

Returns your published project: name, description, currency, annual discount, every plan with its features and limits, and the theme settings. It reads GET https://app.cuprice.io/api/share/{shareId}. An unknown Share ID comes back as a tool error with the API’s message, so the assistant can tell you what went wrong.

get-embed-code

Writes the snippet that puts your pricing table or billing widget on a page. For html and pricing it returns:
With widget: "billing" the snippet uses data-cuprice-billing and adds a listener for the cuprice:plan-selected event. See Billing Widget.

get-css-classes

Lists the class names on the widget, so the assistant can style it from your own stylesheet. It takes no input. The widget scopes its own styles, so mark your overrides !important. See Custom CSS.

get-receipt (deprecated)

Stripe checkout was removed from Cuprice, so get-receipt no longer returns receipts. It stays registered so existing setups do not break, and it answers every call with a deprecation notice. Use get-pricing to read which features a plan includes, and your payment provider for receipts.

Search these docs from your assistant

https://docs.cuprice.io/mcp is a second, separate MCP server. It does not return a page in the browser. Its tools search these docs and read their pages, so your assistant can look up a guide or an API endpoint while it works. Add it the same way as the Cuprice server, with its own name. In Claude Code:

Run it yourself

The server is open source. Run it next to your own stack, or over stdio for a local tool:
With Docker: docker compose up --build -d.

For AI tools reading this page

Plain-text versions of the server reference live next to the server: The landing page at mcp.cuprice.io has the same setup steps and a panel that runs live calls against the server.

Embed Widget

Add pricing to your site

API v1 Reference

Create and edit projects, plans and features with an API key