这是一个基于MCP(Model Control Protocol)的钉钉服务,提供了钉钉API的访问功能。
需要设置以下环境变量:
DINGDING_APP_KEY=你的AppKey
DINGDING_APP_SECRET=你的AppSecret
claude_desktop_config.json
中添加以下配置:{
"mcpServers": {
"dingding": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "DINGDING_APP_KEY=你的AppKey",
"-e", "DINGDING_APP_SECRET=你的AppSecret",
"ghcr.io/你的用户名/dingding-mcp:latest"
]
}
}
}
git clone <repository_url>
cd dingding_chat
pip install -r requirements.txt
python src/server.py
docker pull ghcr.io/你的用户名/dingding-mcp:latest
docker run -d --name dingding-mcp \
-e DINGDING_APP_KEY=你的AppKey \
-e DINGDING_APP_SECRET=你的AppSecret \
ghcr.io/你的用户名/dingding-mcp:latest
get_access_token
get_department_list
get_department_users
search_user_by_name
MIT License