V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
lightionight
V2EX  ›  分享创造

v2ex mcp server

  •  
  •   lightionight · 12 天前 · 1142 次点击

    V2EX mcp server

    基于 V2EX api 接口的 mcp server 可获取用户自己的消息 及论坛的最新帖子及回复

    效果图在 claude desktop app 中

    image

    language: js

    实现的功能:

    V2EX api 2.0 的所有 api action(详情查看 https://www.v2ex.com/help/api)

    后续该怎么添加还没想好

    欢迎大家提想法

    基本用法:

    "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": "{替换自己的 token}",
          "NODE_TLS_REJECT_UNAUTHORIZED": "0" // 如运用了 surge 之类的 MitM
        }
     }
    

    项目地址

    twinsant
        1
    twinsant  
       12 天前
    这个棒
    lightionight
        2
    lightionight  
    OP
       12 天前
    @twinsant 谢谢, 还在微调, 后面想着做一个 自动总结几个节点的内容和今日 V2EX 的 tool,方便集成到 claude desktop 里面
    twinsant
        3
    twinsant  
       11 天前
    @lightionight 我开源了一个总结提示词,你可以参考 https://gist.github.com/twinsant/07df83decceb0f11f07385965e5390b0
    lightionight
        4
    lightionight  
    OP
       11 天前 via iPhone
    @twinsant 😄 好的 谢谢 昨天写了一半 刚好可以加进去
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2587 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 04:08 · PVG 12:08 · LAX 21:08 · JFK 00:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.