现金返还数据服务

MCP Server是一个提供获取Mint Cashback数据和内容的工具集,适用于博客管理和品牌信息查询。

  • by mint-cashback
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 mint-cashback/mcp-server

使用说明

MCP服务器⚙️

一种模型上下文协议(MCP),提供用于获取Mint Cashback数据和内容的工具。

🔧 可用工具(功能)

what_is_mint_cashback()

获取薄荷返现页面。

参数:

  • 无

退货:

  • 一个包含Mint Cashback详细说明的字符串(来自about.txt)。

get_blog_post_categories()

获取Mint Cashback博客文章类别。

退货:

  • 博客文章类别列表。

get_blog_posts()

获取Mint Cashback博客文章。

参数:

  • page (必填):要返回的页码。
  • search_query (可选):按搜索查询过滤博客文章。
  • slug (可选):如果提供,则返回与slug匹配的单个博客文章。

退货:

  • 如果 slug 提供:一篇博客文章。
  • 否则:博客文章列表(分页)。

create_blog_post()

创建一篇新的Mint Cashback博客文章。

参数:

  • title (必填):博客文章的标题。
  • body (必填):博客文章的内容。格式为markdown。
  • slug (必填):博客文章的标题。
  • categoryId (必填):博客文章类别的ID。

退货:

  • 创建的博客文章。

get_brands()

收购薄荷返现金品牌。

参数:

  • page (必填):要返回的页码。
  • search_query (可选):按搜索查询过滤品牌。

退货:

  • 品牌列表(分页)。

get_brand()

获得一个薄荷返现金品牌。

参数:

  • slug (可选):该品牌的蛞蝓返回。
  • id (可选):要返回的品牌ID。
    • …之一 slug 或 id 是必需的。

退货:

  • 与所提供品牌相匹配的单一品牌 slug 或 id.

🔌 安装

  1. git clone https://github.com/alexandros-lekkas/mint-cashback-mcp-server

.创建一个 .env 文件基于 .env.example

  1. 与一起跑步 npm run dev 并打开检查服务器(http://127.0.0.1:6274/)

  2. 如果连接正常,请将其添加到您的MCP配置中(适用于Cursor或Claude,具体取决于您使用的代理)

  "mcpServers": {
    "mint-cashback": {
      "command": "node",
      "args": [
        "C:\\path\\to\\mcp-server\\build\\index.js" // Replace this with your local path to build/index.js
      ],
      "env": {
        "SUPABASE_URL": "https://your-supabase-url.com", // Replace this with your Supabase URL
        "SUPABASE_SERVICE_ROLE_KEY": "your-supabase-service-role-key" // Replace this with your Supabase service role key
      }
    }
  }

必须首先使用以下内容构建服务器 npm run build 在尝试访问MCP服务器之前。

📚 鸣谢