Aoc MCP Server

This project is developed for educational purposes. The server aims to simplify interactions with the Advent of Code website and enhance the

Local serverstdio

What is the Aoc MCP MCP server?

This project is developed for educational purposes. The server aims to simplify interactions with the Advent of Code website and enhance the puzzle-solving workflow. Exposed over MCP by the aoc mcp mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Its toolset

Everything the assistant can do here goes through one of these:

  • GetAocProgress — The GetAocProgress tool exposed by this server
  • SubmitAnswer — The SubmitAnswer tool exposed by this server
  • GetInputResource — The GetInputResource tool exposed by this server

Configuration

You will need one environment variable: SESSION_COOKIE. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • 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 aoc mcp mcp server does with a few real requests.

When to reach for it

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. Aoc MCP's toolset — GetAocProgress, SubmitAnswer, GetInputResource — is a fair guide to whether it matches your workflow. It is maintained by mazharenko; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
GetAocProgressThe GetAocProgress tool exposed by this server.
SubmitAnswerThe SubmitAnswer tool exposed by this server.
GetInputResourceThe GetInputResource tool exposed by this server.

How to install the Aoc MCP MCP server

{
  "mcpServers": {
    "aoc": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SESSION_COOKIE",
        "ghcr.io/mazharenko/aoc-mcp"
      ],
      "env": {
        "SESSION_COOKIE": "<session>"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
SESSION_COOKIEConfiguration value read at startup.Optional

Example prompts to try

  • Use Aoc MCP to GetAocProgress.
  • Use Aoc MCP to SubmitAnswer.
  • Use Aoc MCP to GetInputResource.

Frequently asked questions

It connects Aoc MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (GetAocProgress, SubmitAnswer, GetInputResource) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Aoc MCP directly.