Back to MCP directory
publicPublicdnsLocal runtime

mcp-wordle-go

一个用Go语言实现的MCP服务器,用于通过Wordle API获取Wordle每日谜题的答案。支持Docker快速部署和本地运行两种方式。

article

README

🚀 Wordle MCP - Go

Wordle MCP - Go 是一个用 Go 语言实现的 MCP 服务器,用于通过 Wordle API 获取 Wordle 游戏的答案。该服务器能高效稳定地提供服务,帮助用户更便捷地获取相关信息。

🚀 快速开始

🐳 使用 Docker(推荐)

这是启动项目最快且最简单的方法。请确保你已经安装了 Docker。 将以下内容添加到你的 MCP 服务器配置中:

{
  "mcpServers": {
    "Wordle-MCP-Go": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "--init",
        "-e",
        "DOCKER_CONTAINER=true",
        "ghcr.io/cr2007/mcp-wordle-go:latest"
      ]
    }
  }
}

⚠️ 重要提示

如果你在 Claude Desktop 上首次使用时遇到错误,请在运行前拉取镜像:docker pull ghcr.io/cr2007/mcp-wordle-go:latest

💻 本地设置

若要进行本地设置,你需要确保你的机器上已经安装了 Go 编程语言

🔧 安装步骤

在将此项目添加到你的 MCP 服务器之前,你需要执行以下操作:

# 克隆 Git 仓库
git clone https://github.com/cr2007/mcp-wordle-go
cd mcp-wordle-go

# 安装依赖项
go mod tidy

# 构建可执行文件
go build main.go

将以下内容添加到你的 MCP 服务器配置中:

{
  "mcpServers": {
    "Wordle-MCP-Go":{
        "command": "ABSOLUTE//PATH//TO//main.go",
      }
  }
}

🤝 贡献代码

欢迎大家贡献代码!你可以 fork 这个仓库,在分支中进行修改,然后创建一个 Pull Request

💡 使用建议

若你想查看此 MCP 服务器的 Python 版本,请 点击这里

⚠️ 重要提示

Wordle 答案仅在 2021 年 5 月 19 日至未来 23 天内可用。任何尝试调用其他日期的请求都将从 API 返回错误。

Open in GitHub Codespaces

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