Skip to content
Nosy
Docs menuConnect an MCP client

03 Connect

Connect an MCP client

Nosy's counting scripts as tools in any MCP client. No model, no port, no account.

What it is

nosy mcp is a stdio MCP server: it reads one JSON-RPC message per line on stdin and answers on stdout. It runs the same counting scripts as the terminal commands, needs no model and no API key, and opens no port. The plugin does not register it for you: you add it to each client.

The tools

Eight tools. Every tool takes an optional pm: the path to the pm/ folder (default NOSY_PM, then ./pm).

The eight tools of the Nosy MCP server
ToolWhat it doesArgumentsWrites
nosy_psstCheap, valuable work: a ranked list with evidence. It is the unchecked draft; the refuter check needs an agent with Nosy installed.pmpm/state/
nosy_canweThe evidence for “can we do this?”: matching code, endpoints, decisions, rivals, recent commits. You give the verdict.question (required), pmpm/state/
nosy_peekWhat shipped from git recently: commits grouped by reference, open PRs included.since (7d, 30d, a date or a git ref; default 7d), pmpm/state/
nosy_inventoryBackend endpoints, and which have a screen.pmpm/state/
nosy_evidenceAn evidence pack for a topic, before a spec: decisions, request items, rival paragraphs, matrix, recent commits.topic (required), pmnothing
nosy_ledgerThe canwe ledger: was this asked before, and what changed since. All answers if no question is given.question, pmnothing
nosy_todoWhat only a person can do, or said they would: list what waits, add one when your agent reaches a step it can’t take (an account, a payment, a submission under someone’s name, a token, a sign-off), close or drop one. It never does a listed item itself.action (list, add, done, drop), text, who, why, blocks, link, id, note, reason, pmpm/todo/
nosy_publishSends counts and structure of pm/ to the Nosy Cloud you configured. Without confirm: true it only lists what it would send.project, confirm, dry_run, pmnothing locally; sends only with confirm: true

The server marks every tool as not read-only, so a client may ask before each call. nosy_evidence and nosy_ledger only print. The five tools that write, write under pm/state/ (nosy_todo writes pm/todo/). None of them commits, pushes, opens an issue or sends a message.

nosy_publish is off until you ask. A call without confirm: true (or with dry_run: true) is a dry run: it lists the files and sends nothing. With confirm: true it sends counts and structure, never quotes, after a privacy scan that stops on a secret or personal data. Show the dry-run list to the owner first. A send needs cloud.url in pm/sources.json (or NOSY_CLOUD_URL) and your publish token: the file ~/.config/nosy/token (how to make it), or NOSY_CLOUD_TOKEN in the server's environment, which wins over the file.

Add it to a client

The same three things everywhere: the command, its arguments and NOSY_PM, an absolute path to your repo's pm/ folder. A client starts the server from a folder you do not control, so a relative path fails. The repo path inside pm/sources.json must be absolute too. Run move-in first, so pm/sources.json exists.

To know which code runs, pin a tag: github:nosy-hq/nosy#v0.21.1. From a clone of the repo, use "command": "node" and "args": ["/path/to/nosy/skill/tools/nosy.mjs", "mcp"].

Claude Desktop

Settings, then Developer, then Edit Config. The file is ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Quit Claude Desktop fully and reopen it after saving.

{
  "mcpServers": {
    "nosy": {
      "command": "npx",
      "args": [
        "-y",
        "github:nosy-hq/nosy",
        "mcp"
      ],
      "env": {
        "NOSY_PM": "/absolute/path/to/your-repo/pm"
      }
    }
  }
}

Cursor

Project: .cursor/mcp.json. All projects: ~/.cursor/mcp.json.

{
  "mcpServers": {
    "nosy": {
      "command": "npx",
      "args": [
        "-y",
        "github:nosy-hq/nosy",
        "mcp"
      ],
      "env": {
        "NOSY_PM": "/absolute/path/to/your-repo/pm"
      }
    }
  }
}

Zed

Run zed: open settings file and add to settings.json. Zed calls MCP servers “context servers”.

{
  "context_servers": {
    "nosy": {
      "command": "npx",
      "args": [
        "-y",
        "github:nosy-hq/nosy",
        "mcp"
      ],
      "env": {
        "NOSY_PM": "/absolute/path/to/your-repo/pm"
      }
    }
  }
}

VS Code

Project: .vscode/mcp.json. All projects: run MCP: Open User Configuration. The top-level key is servers, not mcpServers.

{
  "servers": {
    "nosy": {
      "command": "npx",
      "args": [
        "-y",
        "github:nosy-hq/nosy",
        "mcp"
      ],
      "env": {
        "NOSY_PM": "/absolute/path/to/your-repo/pm"
      }
    }
  }
}

These shapes come from each client's own documentation, read on 30 Sep 2026. We did not run the server inside each client, and clients change their settings. If one rejects the file, its docs win.

Check that it works

Without a client, send it an initialize request:

$ echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{}}}' | npx github:nosy-hq/nosy mcp

One line comes back, with "serverInfo":{"name":"nosy","version":"0.21.1"}. The server exits when its input closes. In the client, the server shows eight tools that start with nosy_. Ask it to run nosy_peek.

What the MCP server reads and writes

It reads what the terminal commands read: your code through git, and issues and PRs through your own gh. It writes under pm/, mostly pm/state/. It has no telemetry. Its only outward tool is nosy_publish. Whatever a tool prints, your client's model sees. The full list is on what Nosy reads and sends.

If it does not work

  • “no pm/ folder here”. Set NOSY_PM in the client's config to the absolute path, or pass pm in the tool call. The error says so.
  • The server does not start. Nosy needs Node 18.17 or newer: node --version. A client that cannot find npx may need the full path to it, or the clone form above.
  • Issues and PRs are missing. gh is optional. Without it, or signed out, the tools say so and go on. npx github:nosy-hq/nosy doctor --check prints the fix.
  • Nothing was sent. nosy_publish is a dry run unless the call says confirm: true.

More: Help Center.