概述
提供以下信息的MCP服务器 Fly.io .internal 域名系统 对于一个组织。
用法```sh
fly mcp launch "npx -y @flydotio/mcp-internal-dns" --claude --server dns
如果您想查询您的组织以外的组织 _个人的_ 一,指定 `--org` 在上述命令上标记。
## 发展
最初使用以下命令启动此程序:```sh
fly launch --no-deploy --auto-stop=suspend
使用以下方法生成秘密令牌:```sh
openssl rand -base64 18
使用上面生成的令牌设置秘密:```sh
fly secrets set FLY_MCP_BEARER_TOKEN=xxxxxxxxxxxxxxxxxx
现在部署:```sh
fly deploy --ha=false
配置您最喜欢的MCP客户端:```json
{
"mcpServers": {
"filesystem": {
"command": "/Users/rubys/.fly/bin/flyctl",
"args": [
"mcp",
"proxy",
"--url=https://mcp-internal-dns.fly.dev/",
"--bearer-token",
"xxxxxxxxxxxxxxxxxx"
]
}
}
}
替换上面的命令、url和承载令牌。
