Token导航 LogoToken导航TokenDH.com
Gamecode Mcp2 logo
开发工具未说明官方级别未说明来源级核验

Gamecode Mcp2

MCP Server

mcp in rust both client and server

工具数

0

提示词数

0

GitHub Stars

2

资源数

0
RustClaudeLLM工具Claude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

navicore

提供方

navicore

最后核验

2026/5/18 02:19

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

此存储库已移动到 https://git.navicore.tech/navicore/gamecode-mcp2. GitHub副本已存档,不再维护。

![Dependabot Updates](https://github.com/navicore/gamecode-mcp2/actions/workflows/dependabot/dependabot-updates) ![Rust CI](https://github.com/navicore/gamecode-mcp2/actions/workflows/rust-ci.yml)

游戏代码MCP2

模型上下文协议(MCP)的干净(可能是幼稚)实现 用于工具集成。

动机-尽可能少的依赖,尽可能简单和可审计 配置尽可能。

⚠️ 安全通知

MCP是早期技术。允许LLM执行系统命令本身就有风险。 此实现将可审计性置于功能之上——您可以阅读每一行 处理LLM请求。即便如此,请谨慎行事。只有时间会证明 MCP的方法是合理的。

主要特点

  • 直接接触工具 -中定义的工具 tools.yaml 直接通过MCP公开,而不是通过元工具公开
  • 清洁协议实施 -基于stdio的纯JSON-RPC 2.0,无需外部依赖
  • 动态刀具加载 -通过YAML配置工具,无需重新编译
  • 内置和外部工具 -支持内部处理程序和外部命令

建筑

此工作区包含两个板条箱:

  • mcp-server -从加载工具的MCP服务器 tools.yaml 并通过协议公开它们
  • mcp-client -用于测试和集成的客户端库

用法

运行服务器

# Build the server
cargo build --release --bin gamecode-mcp2

# Create a tools.yaml file (see examples/tools.yaml)
cp examples/tools.yaml .

# Run the server (it communicates via stdio)
./target/release/gamecode-mcp2

与Claude Desktop一起使用

添加到您的Claude Desktop配置中:

{
  "mcpServers": {
    "gamecode": {
      "command": "/path/to/gamecode-mcp2"
    }
  }
}

与gamecode cli一起使用

mcp-client crate可以用作gamecode-cli中MCP集成的依赖项。

工具配置

工具定义见 tools.yaml:

tools:
  - name: my_tool
    description: Description for the LLM
    command: /path/to/command  # or "internal" for built-in
    args:
      - name: param1
        description: Parameter description
        required: true
        type: string
        cli_flag: --param  # null for positional
    internal_handler: handler_name  # for internal tools

协议

此实现遵循MCP规范:

  • initialize -与客户握手
  • tools/list -返回所有可用工具
  • tools/call -执行特定工具

工具是直接公开的,而不是通过“run”等元工具。

目录标签

目录标签

RustClaudeLLM工具developer-toolsgamecodemcp工具集成本地部署JSON-RPC动态配置

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP