MCP server

Your pricing page, one prompt away

Connect Cursor, Claude or VS Code to the Cuprice MCP server. Your assistant reads the plans you published in Cuprice and writes the embed code for the framework you already use.

Server URL

https://mcp.cuprice.io/mcp

  • Streamable HTTP
  • No API key
  • 3 read-only tools
  • Open source, MIT

Connect your tool

Pick the tool you work in. The URL is the same everywhere; only where you paste it changes.

  1. Install it in one click. Cursor opens and asks you to confirm.

    Add to Cursor
  2. Or add it by hand: create .cursor/mcp.json in your project, or ~/.cursor/mcp.json to use it in every project.

    .cursor/mcp.json
    {
      "mcpServers": {
        "cuprice": {
          "url": "https://mcp.cuprice.io/mcp"
        }
      }
    }
  3. 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. Your 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.

    get-embed-code
  • List my Cuprice plans with their monthly prices and the features in each one. Share ID your-share-id.

    get-pricing
  • Style the Cuprice plan cards to match our site: 16px corners, our brand font, and our primary color on the buttons.

    get-css-classes

Try it live

This panel sends the same JSON-RPC request your assistant sends, to the same server, and shows what comes back.

Lists the tools this server gives your assistant. No input needed.

Request POST /mcp
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}
Response

Run a call to see the server's answer here.

Three tools, all read-only

They read what your published page already shows. Creating and editing projects, plans and features is the REST API, with an API key.

get-pricing

Run it

Returns your published project: name, description, currency, annual discount, every plan with its features and limits, and the theme settings.

get-pricing inputs
InputTypeDescription
shareIdstring, requiredThe project's Share ID

Reads GET app.cuprice.io/api/share/{shareId}. An unknown Share ID comes back as a tool error with the API's message, so your assistant can tell you what went wrong.

get-embed-code

Run it

Writes the snippet that puts your pricing table or billing widget on a page, for the framework your project uses.

get-embed-code inputs
InputTypeDescription
shareIdstring, requiredThe project's Share ID
frameworkhtml nextjs react vueOptional, html by default
widgetpricing billingOptional, pricing by default
Returns, for html and pricing
<!-- Pricing widget -->
<div data-cuprice-id="your-share-id"></div>
<script src="https://app.cuprice.io/embed.js" async></script>

get-css-classes

Run it

Lists the class names on the widget, so your assistant can style it from your own stylesheet. No input.

Widget CSS classes
ClassWhat it styles
.cuprice-pricing-cardEach plan card
.cuprice-pricing-button"Choose Plan" buttons
.cuprice-pricing-badge"Most Popular" badge
.cuprice-billing-toggleMonthly and annual toggle
.cuprice-pricing-headerPage title and description
.cuprice-custom-plan-cardCustom plan card
.cuprice-custom-plan-button"Create Now" button
.cuprice-custom-plan-badge"Custom" badge
.cuprice-custom-plan-titleCustom card title
.cuprice-custom-plan-feature-textFeature bullet text
.cuprice-custom-plan-feature-iconFeature checkmark icon
.cuprice-comparison-tableFeature comparison table
.cuprice-powered-by"Powered by Cuprice" footer

The widget scopes its own styles, so mark your overrides !important.

Run it yourself

The server is open source. Run it next to your own stack, or over stdio for a local tool.

Terminal
git clone https://github.com/eynullabeyli/cuprice-mcp.git
cd cuprice-mcp
npm install
npm run build
npm start              # HTTP on :5000, POST /mcp
npm run start:stdio    # or stdio
Environment
VariableDefaultWhat it sets
PORT5000Port for the HTTP server
CUPRICE_BASEhttps://app.cuprice.ioWhere the Cuprice API and embed.js live

With Docker: docker compose up --build -d

View on GitHub

For AI tools reading this page

Plain-text versions of everything here, kept next to the server.

Connect once. Then just ask.

No Share ID yet? Build your pricing in Cuprice and publish it. The link it gives you is all your assistant needs.

Open Cuprice