Mcp-server-v2ex logo

Mcp-server-v2ex

by funnythingfunnylove

This mcp server is a wrapper around the official V2EX API 2.0, implementing all API actions. It allows users to interact with V2EX through a command-line interface or other applications.

View on GitHub

Last updated: N/A

What is Mcp-server-v2ex?

Mcp-server-v2ex is a Node.js-based server that provides a simplified interface for interacting with the V2EX API 2.0. It wraps the API and exposes various actions as commands.

How to use Mcp-server-v2ex?

  1. Obtain a token from https://www.v2ex.com/settings/tokens.
  2. Install the package globally using npm install -g mcp-server-v2ex.
  3. Configure your application (e.g., Claude) to use the server by adding the provided JSON configuration snippet, replacing {替换自己的 token} with your actual token.

Key features of Mcp-server-v2ex

  • notifications: Get latest notifications

  • delete notifications: Delete specific notifications

  • member profile: Get current user profile (token owner)

  • token: View current token

  • create new token: Generate a new token

  • nodes: Get specific nodes

  • nodes topics: Get topics under a specific node

  • topic detail: Get topic details

  • topic comments: Get comments under a topic

  • Daily hot topic summary

Use cases of Mcp-server-v2ex

  • Integrating V2EX functionality into other applications

  • Automating V2EX tasks

  • Creating custom V2EX clients

  • Retrieving and displaying V2EX data in a specific format

FAQ from Mcp-server-v2ex

How do I get a V2EX API token?

You can obtain a token from https://www.v2ex.com/settings/tokens.

What is the purpose of setting NODE_TLS_REJECT_UNAUTHORIZED to 0?

This is required if you are using a MitM proxy like Surge.

How do I update the server?

Use npm update -g mcp-server-v2ex to update to the latest version.

Can I use this server with other programming languages?

While the server is written in Node.js, you can interact with it through its API from other languages.

Is there any plan to add more features?

Yes, the author is considering adding daily hot topic summaries.