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.- Cursor
- Claude Code
- Claude Desktop
- VS Code
- Windsurf
Create Open Cursor Settings and find
.cursor/mcp.json in your project, or ~/.cursor/mcp.json to use the server in every project:.cursor/mcp.json
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:
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)
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: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
