Wordle MCP-Go
](https://codespaces.new/cr2007/mcp-wordle-go) 
\[!注意\] 要查看此MCP服务器的Python版本, 点击此处
Go中实现的MCP服务器,用于通过Wordle API获取Wordle解决方案。
\[!重要\] Wordle解决方案仅在2021年5月19日至未来23天内可用。
调用其他日期的任何其他尝试都将从API返回错误
索引
______________________________________________________________________
开始使用
使用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服务器之前,您需要执行以下操作:
# Clone the Git repository
git clone https://github.com/cr2007/mcp-wordle-go
cd mcp-wordle-go
# Install the dependencies
go mod tidy
# Build the executable
go build main.go将此添加到MCP服务器配置中:
{
"mcpServers": {
"Wordle-MCP-Go":{
"command": "ABSOLUTE//PATH//TO//main.go",
}
}
}