nightglass

Agent

An agent that can actually plan a night

This is not a mock. The calls below hit POST https://nightglass-aniruddha-adaks-projects.vercel.app/api/mcp over JSON-RPC 2.0 and run the same service functions the browser UI uses, including the mutations.

Connect an MCP client

A ready-made manifest is published at /mcp.json.

{
  "mcpServers": {
    "nightglass": {
      "type": "http",
      "url": "https://nightglass-aniruddha-adaks-projects.vercel.app/api/mcp"
    }
  }
}

Console

Request

Response

// No call made yet.

How the agent is scoped

There are no accounts. An agent calling this endpoint shares the anonymous session of whatever browser made the first request, via the same HTTP-only scope cookie. It can only read and mutate plans and observations belonging to that session; another session’s rows return 404, not 403, so ids cannot be probed.

Mutating tools are idempotent where that is meaningful: a repeated log_observation for the same object and date returns the existing entry rather than creating a second one, and create_plan honours an idempotencyKey.