Home · Setup · Cursor

MCP Ingredient Converter in Cursor

Convert cups, tablespoons and grams per ingredient, with a real density table and friendly fractions. convert_ingredient turns an amount of a named ingredient between cups, tablespoons, teaspoons, milliliters, fluid ounces, grams and ounces using a per-ingredient density table; scale_recipe doubles or halves a list of recipe lines into friendly fractions; convert_bulk converts many amounts at once and reports unknown ingredients per item; decimal_to_fraction and fraction_to_decimal handle the 1 1/2 cup style; common_conversions lists the most-googled conversions; list_ingredients dumps the table with sources.

Agent mode can chain it: convert the list, then rewrite the recipe file itself, two calls the model makes without a browser tab of unit-converter ads.

What you get in Cursor

You sayTool
How many grams is 1 cup of all-purpose flour?convert_ingredient
Double this recipe: 1 1/2 cups flour, 1/2 cup sugar, 100 g butter.scale_recipe
Convert 250 g butter and 120 ml honey to cups.convert_bulk

The contract suite walks a real stdio case through the density table: 1 cup of all-purpose flour comes back as 125 grams with cups, tablespoons and ounces alongside, unknown ingredients are refused with a reason, and nothing hangs.

Install it in Cursor

The file is .cursor/mcp.json, and the key inside it is mcpServers.

ScopePath
This project only<project>/.cursor/mcp.json
Every project~/.cursor/mcp.json

If you also run Claude Desktop, the shortest path there is one click: ingredient-convert.mcpb from the bundle catalog opens as an extension, with no JSON and no terminal. Cursor reads its own config, so here it is:

The config block:

{
  "mcpServers": {
    "ingredient-convert": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/mcp-servers/servers/ingredient-convert/dist/index.js"]
    }
  }
}

The node command above wants a built file. From a clone, once:

git clone https://github.com/theluckystrike/mcp-servers.git
cd mcp-servers && npm install
npm run build -w packages/mcp-license -w servers/ingredient-convert

That writes servers/ingredient-convert/dist/index.js, and its absolute path is the one argument the config needs.

The npm packages are not published yet, so the form below returns a 404 today. It is here because it is what the entry becomes the day the publish lands, with nothing else changed:

{
  "mcpServers": {
    "ingredient-convert": {
      "command": "npx",
      "args": ["-y", "@theluckystrike/mcp-ingredient-convert"]
    }
  }
}

The Customize page shows the server and its tools once it has started.

Nothing is published to npm yet, so the working install paths are the ones above: the .mcpb bundle from the bundle catalog, a clone and build, or the hosted URL.

No install: the hosted endpoint

The same server runs at https://mcp.zovo.one/mcp/ingredient-convert over MCP streamable HTTP, no install. Mint a free token with curl https://mcp.zovo.one/mcp/token, or use a Pro key. It has no filesystem, so a file comes back as a one-hour download link.

{
  "mcpServers": {
    "ingredient-convert": {
      "url": "https://mcp.zovo.one/mcp/ingredient-convert",
      "headers": { "Authorization": "Bearer <token>" }
    }
  }
}

Cursor notes worth knowing first

The current field table marks `type` as required, with `stdio` for a locally launched server, so write it out rather than relying on command and args alone. The other documented restriction is that `envFile` is stdio-only: a remote HTTP or SSE server does not read it, and its headers belong in the config.

Free: Everything: seven tools, the full density table, no metering, no key. Pro is $19 once, verified offline.

Questions

Project config or global config?

<project>/.cursor/mcp.json applies to that project and can be committed, which suits a server tied to one client. ~/.cursor/mcp.json applies everywhere. Both are managed from the Customize page.

Why does my stdio entry not start?

The current field table marks type as required, with stdio for a locally launched server, so include it. Pointing at a remote endpoint, envFile is documented as stdio-only and is not read.

Is there a one-click install link?

Servers in Cursor's marketplace get an Add to Cursor button. The deeplink reference currently documents prompt, command and rule links only, so for MCP Ingredient Converter pasting the config block above is the supported route.

Related

MCP Ingredient Converter in detail · The same server in Claude Code and VS Code · Every server in Cursor · Guides · Cursor docs · Buy Pro