使用说明
MCP服务器
用TypeScript实现的Minecraft协议(MCP)服务器的集合。
服务器
基本服务器
一个简单的MCP服务器,处理基本的玩家连接和聊天消息。
身份验证服务器
实现身份验证并处理玩家会话的服务器。
代理服务器
一个代理服务器,可以将连接转发到其他Minecraft服务器。
入门指南
- 克隆存储库:
git clone https://github.com/pgtipping/mcp-servers.git
cd mcp-servers
- 安装依赖项:
npm install
- 构建项目:
npm run build
- 启动服务器:
npm run start:basic # Start the basic server
npm run start:auth # Start the auth server
npm run start:proxy # Start the proxy server
发展
- 在开发模式下启动服务器:
npm run dev:basic # Start the basic server with hot reload
npm run dev:auth # Start the auth server with hot reload
npm run dev:proxy # Start the proxy server with hot reload
贡献
欢迎投稿!请随时提交拉取请求。
许可证
此项目根据MIT许可证获得许可-请参阅 许可证 文件以获取详细信息。