Skip to main content
Glama
devnull-mcp

devnull-mcp

by sfolador

devnull-mcp

An MCP server for /dev/null, the plain-text social network for developers. It lets Claude (or any MCP client) commit to /dev/null as you, and read public profiles and commits.

There is no login. A commit is signed locally with ssh-keygen -Y sign, using an SSH key that is on your GitHub account, and /dev/null checks the signature against the keys GitHub publishes for you, exactly like the official curl -fsSL https://dev-null.sh/commit | bash script does.

Tools

Tool

What it does

devnull_commit

Publish a commit (up to 4000 characters), optionally as a reply (reply_to takes a short hash, UUID or link).

devnull_whoami

Shows which local SSH key /dev/null recognizes as yours. Posts nothing.

devnull_get_user

Public profile of a user by GitHub username.

devnull_list_commits

A user's latest commits (or replies), 20 per page with a cursor.

devnull_get_commit

One commit by UUID or link.

Related MCP server: notes-mcp

Requirements

  • Node.js 20 or newer, ssh-keygen (OpenSSH 8.0+).

  • An Ed25519 or RSA key that is on your GitHub account, either loaded in your SSH agent or as ~/.ssh/<name> with ~/.ssh/<name>.pub next to it. Passphrase-protected keys must be in the agent (ssh-add ~/.ssh/<name>), because the server has no terminal to ask for the passphrase.

  • Having signed in once on https://dev-null.sh with GitHub.

Install

npm install
npm run build

Register it with Claude Code (user scope, so it is available in every project):

claude mcp add --scope user devnull -- node /absolute/path/to/devnull-mcp/dist/index.js

Or add it to any MCP client configuration:

{
  "mcpServers": {
    "devnull": {
      "command": "node",
      "args": ["/absolute/path/to/devnull-mcp/dist/index.js"]
    }
  }
}

Environment variables

Variable

Purpose

DEVNULL_SSH_KEY

Path to the private key to sign with, when auto-discovery picks the wrong one. Its public key is derived with ssh-keygen -y.

DEVNULL_URL

Another instance, for development. Must be https://, or http://localhost.

How a commit works

  1. The public keys from ssh-add -L and ~/.ssh/*.pub are sent to POST /api/cli/key-lookups, which answers with the one that belongs to a /dev/null user. Public keys are public: GitHub publishes them at https://github.com/<you>.keys.

  2. The payload timestamp\nnonce\nreply_to\nmessage is signed with that key in the devnull-commit namespace. The signature is only valid for /dev/null commits.

  3. The payload and signature go to POST /api/cli/commits, which answers with the commit link.

Private keys are never read by this code: ssh-keygen or the agent uses them. Temporary files are written to a fresh private directory that is deleted afterwards.

Development

npm test          # node:test suite, includes a real ssh-keygen sign/verify round trip
npm run typecheck
npm run dev       # run from sources over stdio

Available Tools

5 tools
devnull_commitCommit to /dev/nullA

Publish a plain-text post ("commit") on /dev/null (dev-null.sh) as the user, or reply to an existing commit. The message is signed locally with the SSH key that is on the user's GitHub account. Max 4000 characters. Commits are public and the user is rate limited to 10 a minute, so only call this when the user asked to post.

Inputs: message (required), reply_to.

devnull_get_commitGet a commitB
Read-only

One public /dev/null commit by UUID or link.

Inputs: commit (required).

devnull_get_userGet a /dev/null userB
Read-only

Public profile of a /dev/null user by GitHub username: bio, links, commit, follower and following counts.

Inputs: username (required).

devnull_list_commitsList a user’s commitsA
Read-only

The latest approved commits of a /dev/null user (20 per page). Set replies=true for their replies instead of top-level commits; pass next_cursor to page.

Inputs: username (required), cursor, replies.

devnull_whoamiWhich key signsA
Read-only

Shows which local SSH key /dev/null recognizes as yours, without posting anything.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct operation and resource: posting (devnull_commit), reading a single commit, listing commits, fetching a user profile, and checking identity (whoami). The write tool versus read tools boundary is clear, and get_commit vs list_commits is unambiguous.

    Naming Consistency4/5

    All tools share the devnull_ prefix, which is consistent. The get_/list_ verb_noun pattern is used for three tools, but devnull_commit and devnull_whoami deviate slightly, making it mostly consistent with minor exceptions.

    Tool Count5/5

    Five tools are well-scoped for a simple social posting service, covering posting, reading, listing, profile, and identity without excess. Each tool earns its place.

    Completeness4/5

    The core lifecycle is covered: post, read a commit, list commits, view user profiles, and verify identity. Minor gaps like editing/deleting a commit or browsing followers/following exist, but agents can work around them for the stated purpose.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables GitHub repository operations (list/read files, create branches, commit files, open/list PRs) via an authless remote MCP server that keeps your GitHub token encrypted on Cloudflare, with access limited to allowed repositories.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Remote MCP server that exposes a personal git repository of markdown notes to Claude, enabling reading, writing, searching, and running scripts with automatic git commits and GitHub OAuth authentication.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A single-user MCP server that exposes your GitHub activity to Claude via three read-only tools: recent commits, open pull requests, and repository summaries. Deployed as a Vercel function using Streamable HTTP.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude and other MCP clients to read and write GitHub repositories, pull requests, issues, files, branches, commits, releases, and more using a personal access token without OAuth.
      MIT