用于Android开发的简单MCP服务器
此源代码是中提供的完整MCP服务器 用于Android开发的简单MCP服务器 Medium上的博客文章。请查看博客文章了解更多信息,包括技术栈和启动服务器的命令的含义。
如果您想了解此服务器的运行示例,请查看 使用带有Google Antigravity和Gemini CLI的MCP服务器进行Android开发 博客文章。
作为快速参考,这里有一些有用的命令。
在MCP检查器中启动服务器
npx @modelcontextprotocol/inspector@0.17.2 --config mcp-inspector-config.json --server stdio-server直接运行服务器
uv run .\main.py --mode streamable-http --temp-dir {absolute path to a temporary folder} --port 3001