MCP MCP Server

MCP server for V2EX API 2.0, exposing notifications, tokens, nodes, topics, comments, and daily summaries for MCP-compatible agents.

Local serverstdio

What is the MCP MCP server?

MCP MCP server exists for a simple reason — assistants are far more useful when they can act on MCP directly instead of describing what you should do. MCP server for V2EX API 2.0, exposing notifications, tokens, nodes, topics, comments, and daily summaries for MCP-compatible agents.

What you get

The project is designed as a reusable integration layer for general-purpose agents rather than a client-specific plugin, so it can be connected to Claude Desktop, Codex, and other tools that support the Model Context Protocol.

mcp-server-v2ex is an MCP server that wraps the V2EX API 2.0 for MCP-compatible agents and developer tools. It exposes structured operations for notifications, token management, member profile lookup, node browsing, topic retrieval, comment retrieval, and daily hot-topic summaries.

What the assistant can call

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

  • notifications — Fetch the latest notifications
  • delete_notifications — Delete selected notifications
  • member_profile — Get the profile of the user associated with the API token
  • token — Inspect the current API token
  • create_token — Create a new API token
  • nodes — Get node information
  • node_topics — List topics under a specific node
  • topic_detail — Get the content of a topic
  • topic_comments — Get replies for a topic
  • daily_summary — Generate a summary of recent hot topics

Setting it up

mcp-server-v2ex on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration and credentials

You will need 2 environment variables: V2EX_API_KEY, NODE_TLS_REJECT_UNAUTHORIZED. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

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's toolset — notifications, delete_notifications, member_profile and 7 more — is a fair guide to whether it matches your workflow. It is maintained by funnythingfunnylove; 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.
  • With 10 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
notificationsFetch the latest notifications
delete_notificationsDelete selected notifications
member_profileGet the profile of the user associated with the API token
tokenInspect the current API token
create_tokenCreate a new API token
nodesGet node information
node_topicsList topics under a specific node
topic_detailGet the content of a topic
topic_commentsGet replies for a topic
daily_summaryGenerate a summary of recent hot topics

How to install the MCP MCP server

{
  "mcpServers": {
    "server-v2ex": {
      "command": "npx",
      "args": ["-y", "mcp-server-v2ex"],
      "env": {
        "V2EX_API_KEY": "your-value",
        "NODE_TLS_REJECT_UNAUTHORIZED": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
V2EX_API_KEYCredential the server authenticates with.Yes
NODE_TLS_REJECT_UNAUTHORIZEDConfiguration value read at startup.Optional

Example prompts to try

  • Use MCP to notifications.
  • Use MCP to delete notifications.
  • Use MCP to member profile.

Frequently asked questions

Mcp-server-v2ex provides a structured MCP interface for agents and tools, removing the need to write custom API wrappers and handling token authentication.