logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

v2ex-gateway-service

A utility to interface with the V2EX platform's data endpoints, facilitating operations such as fetching user alerts, managing authentication credentials, and browsing community discussions via a singular access point.

Author

v2ex-gateway-service logo

funnythingfunnylove

MIT License

Quick Info

GitHub GitHub Stars 6
NPM Weekly Downloads 0
Tools 1
Last Updated 2026-02-19

Tags

apisapiv2exv2ex apiserver v2exmanage v2ex

V2EX Gateway Service

Overview

This utility serves as a wrapper around the official V2EX API version 2.0, providing implementations for nearly all documented API actions.

Capabilities

  • Retrieve latest user alerts/notifications.
  • Erase specific recorded notifications.
  • Fetch the profile details for the currently authenticated member (the user associated with the active token).
  • Query the status and details of the active authentication token.
  • Generate a new access token for future use.
  • Obtain metadata for a specified V2EX node.
  • List discussion threads associated with a particular node.
  • Retrieve the full content and context of a specific discussion thread.
  • Fetch all replies/comments submitted to a discussion thread.

Deployment Instructions

  1. Obtain your required token from the V2EX token management page: https://www.v2ex.com/settings/tokens
  2. Install the package globally using npm: bash npm install -g mcp-server-v2ex

  3. Integrate the service configuration into your Claude configuration JSON file:

"v2ex": {"command": "%APP_DATA%\local\nvm\v22.14.0\node.exe", "args": ["%APP_DATA%\Local\nvm\v22.14.0\node_modules\mcp-server-v2ex\dist\index.js"], "env": { "V2EX_API_KEY": "{Your_Secret_Token_Here}", "NODE_TLS_REJECT_UNAUTHORIZED": "0" // Use this if employing a MitM proxy like Surge for connection interception } }

Revision History

  • v0.1.1 (2025.04.02): Introduced functionality to summarize the current day's trending topics.

  • v0.1.0: Initial implementation covering core functional requirements.

Future Enhancements

  • Plan to incorporate a feature enabling users to query and receive a digest of the current V2EX trending topics directly within the Claude desktop environment.

See Also

`