Back to MCP directory
publicPublicdnsLocal runtime

next-mcp

一个用于读取Mantle Network顶级协议统计数据的MCP服务器,帮助用户做出更明智的投资决策。

article

README

🚀 大智慧 MCP - 灵毛网络统计服务器

本项目仓库包含一个MCP服务器,其主要功能是读取灵毛网络顶级协议的统计数据。借助该工具,能够辅助您做出更明智的投资决策。

🚀 快速开始

配置工具、提示和资源

根据MCP TypeScript SDK文档,在api/server.ts中更新您的工具、提示和资源。

灵毛运行注意事项

  • 需要将Redis实例附加到项目下,地址为process.env.REDIS_URL
  • 启用Fluid计算以实现高效执行。
  • 若启用Fluid计算,且您使用的是Vercel专业版或企业版账户,请打开vercel.json并将最大时长调整至800。
  • 部署MCP模板

💻 使用示例

基础用法

您可使用位于script/test-client.mjs的示例客户端来测试调用,命令如下:

node scripts/test-client.mjs
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client