MCP Cookiejar MCP Server

🍪 A gamified MCP server that rewards LLMs with cookies for quality responses through honest self-reflection

Local serverstdio

What is the MCP Cookiejar MCP server?

MCP Cookiejar MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. 🍪 A gamified MCP server that rewards LLMs with cookies for quality responses through honest self-reflection.

What you get

A Model Context Protocol (MCP) server that provides positive reinforcement for LLMs by awarding "cookies" as treats through gamified self-reflection.

What the assistant can call

Once MCP Cookiejar is connected, these are the calls the assistant has available:

  • self_reflect_and_reward — Evaluate response quality and earn cookies through honest self-reflection
  • give_cookie — Direct cookie awarding (legacy method)
  • check_cookies — Check collected cookies and jar availability
  • cookie_jar_status — Check current jar contents and collection status
  • add_cookies_to_jar — 🚨 USER ONLY: Add cookies to the jar for earning
  • reset_cookies — Reset collected cookie count (jar contents unchanged)

Setting it up

The server ships on npm as mcp-cookie-server, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. MCP Cookiejar's toolset — self_reflect_and_reward, give_cookie, check_cookies and 3 more — is a fair guide to whether it matches your workflow. It is maintained by bnookala; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp cookiejar mcp server does with a few real requests.

Available tools

ToolWhat it does
self_reflect_and_rewardEvaluate response quality and earn cookies through honest self-reflection
give_cookieDirect cookie awarding (legacy method)
check_cookiesCheck collected cookies and jar availability
cookie_jar_statusCheck current jar contents and collection status
add_cookies_to_jar🚨 USER ONLY: Add cookies to the jar for earning
reset_cookiesReset collected cookie count (jar contents unchanged)

How to install the MCP Cookiejar MCP server

**Custom cookie count:**
```json
{
  "mcpServers": {
    "cookie": {
      "command": "npx",
      "args": ["mcp-cookie-server", "--cookies", "20"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use MCP Cookiejar to self reflect and reward.
  • Use MCP Cookiejar to give cookie.
  • Use MCP Cookiejar to check cookies.

Frequently asked questions

It connects MCP Cookiejar to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (self_reflect_and_reward, give_cookie, check_cookies, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Cookiejar directly.