DDNet MCP Server
Manages DDNet game processes and key bindings, enabling start/stop/status checks and configuration edits.
README
DDNet MCP Server
一个基于FastMCP的Model Context Protocol服务器,提供DDNet游戏进程管理和配置文件操作功能。
功能
- 游戏进程管理:获取DDNet游戏状态、启动和关闭DDNet游戏
- 配置文件操作:检查按键绑定、添加和删除按键绑定
安装
使用uv安装
uv install ddnet-mcpserver
使用方法
使用uv运行
uv run -m ddnet_mcpserver
在MCP客户端中配置
在您的MCP客户端配置文件中添加以下配置:
{
"mcpServers": {
"ddnet": {
"command": "uvx",
"args": ["ddnet-mcpserver"],
"env": {},
"disabled": false
}
}
}
可用工具
get_ddnet_game_status(): 获取DDNet进程状态stop_ddnet_game(): 关闭DDNet进程start_ddnet_game(): 启动DDNet进程check_bind(bindkey: str): 检查按键是否被占用add_bind(bindkey: str, bindvalue: str): 增加按键绑定delete_bind(bindkey: str): 删除按键绑定
开发
设置开发环境
git clone https://github.com/silverhi/ddnet-mcpserver.git
cd ddnet-mcpserver
uv pip install -e .
本地开发指南
使用uv运行服务器
uv run -m ddnet_mcpserver
使用MCP Inspector调试
npx -y @modelcontextprotocol/inspector uv run -m ddnet_mcpserver
安装Node.js(Windows环境)
winget install jasongin.nvs
nvs add lts
nvs use lts
使用pre-commit进行代码检查
uv pip install pre-commit
pre-commit install
构建和发布包
python -m build
twine upload dist/*
许可证
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.