Token导航 LogoToken导航TokenDH.com
Runemate MCP logo
AI代理未说明官方级别未说明来源级核验

Runemate MCP

MCP Server

RuneMate MCP Server是一个提供AI编码代理访问《Old School RuneScape》游戏缓存的MCP服务器,支持查询物品属性、NPC定义和对象配置等功能。

工具数

4

提示词数

0

GitHub Stars

0

资源数

0
Kotlin数据分析Claude游戏开发Claude

安装说明

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

作者 / 组织

RuneMate

提供方

RuneMate

最后核验

2026/5/17 20:21

快速接入

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

详细介绍

RuneMate MCP服务器

主控程序 (模型上下文协议)服务器,允许AI编码代理访问老派RuneScape游戏缓存。直接从编辑器中查询项目统计信息、NPC定义、对象配置等。

先决条件

  • Java 17+
  • OSRS游戏缓存 磁盘上(通常由安装 RuneLite)

服务器在以下位置查找缓存 ~/.runelite/jagexcache/oldschool/LIVE 默认情况下。要使用其他位置,请设置 OSRS_CACHE_DIR 环境变量:

export OSRS_CACHE_DIR=/path/to/jagexcache/oldschool/LIVE

设置

下载最新 runemate-mcp-*-all.jar发布,然后将其添加到MCP客户端配置中。

克劳德代码

添加到您的Claude Code MCP设置中(~/.claude/claude_code_config.json):

{
  "mcpServers": {
    "runemate": {
      "command": "java",
      "args": ["-jar", "/path/to/runemate-mcp-1.0.0-all.jar"]
    }
  }
}

克劳德桌面版

添加到您的Claude桌面配置(claude_desktop_config.json):

{
  "mcpServers": {
    "runemate": {
      "command": "java",
      "args": ["-jar", "/path/to/runemate-mcp-1.0.0-all.jar"]
    }
  }
}

来源

如果您更喜欢从源代码运行而不是使用JAR:

{
  "mcpServers": {
    "runemate": {
      "command": "./gradlew",
      "args": ["-q", "--console=plain", "run"],
      "cwd": "/path/to/runemate-mcp"
    }
  }
}

工具

cache-lookup

通过ID或字段值过滤查找OSRS游戏缓存定义。

参数:

参数类型必填说明
typestringYes定义类型(请参阅下面支持的类型)
idinteger要加载的特定定义ID
filterobject要筛选的字段名/值对
limitinteger返回的最大结果数(默认值:25)

提供其中之一 id 用于直接查找或 filter 搜索。

支持的类型: combatgauge, dbrow, dbtable, enum, inventory, item, npc, object, spotanim, struct, varbit, worldentity

示例:

// Load a specific NPC by ID
{ "type": "npc", "id": 239 }

// Search for NPCs by name (case-insensitive substring match)
{ "type": "npc", "filter": { "name": "Guard" }, "limit": 5 }

// Look up an item
{ "type": "item", "id": 4151 }

// Find objects by name
{ "type": "object", "filter": { "name": "Oak" }, "limit": 10 }

// Find NPCs with a specific action
{ "type": "npc", "filter": { "actions": "Pickpocket" }, "limit": 5 }

筛选匹配规则:

  • 字符串 --不区分大小写的子字符串匹配(例如。 "guard" 火柴 "Guard captain")
  • 数组 --如果任何元素等于该值,则匹配(不区分大小写)
  • 数字/其他 --通过字符串比较进行精确匹配

cache-schema

列出缓存定义类型的可用字段名和类型,以便您知道哪些字段可以与 cache-lookup 过滤器。无参数调用以列出所有支持的类型。

参数:

参数类型必填说明
typestring要检查的定义类型。省略列出所有类型。

示例:

// List all supported cache types
{}

// Get fields for item definitions
{ "type": "item" }

// Get fields for NPC definitions
{ "type": "npc" }

返回每个字段的名称和类型(例如。 String, int, int[], Map),使其易于构建准确 cache-lookup 过滤器。

api-lookup

在RuneMate游戏API中按关键字搜索类、方法和字段。返回匹配的类定义及其方法签名和Javadoc描述。

参数:

参数类型必填说明
querystring要搜索的类名、方法名或关键字
typestring筛选条件 class, interface,或 enum
limitinteger返回的最大结果数(默认值:10)

示例:

// Find the Npcs utility class
{ "query": "Npcs" }

// Search for query builder classes
{ "query": "newQuery", "limit": 5 }

// Find prayer-related enums
{ "query": "prayer", "type": "enum" }

// Look up coordinate/location classes
{ "query": "Coordinate" }

结果包括类名、包、种类(类/接口/枚举)、Javadoc描述、超类、接口以及所有公共/受保护成员及其签名。ID常量类(例如。, ItemID, NpcID)包括类条目,但不包括单个常量--use cache-lookup 对于那些。

docs-search

按关键字搜索RuneMate开发人员文档。返回按词频排列的最相关文档部分。

参数:

参数类型必填说明
querystring要搜索的关键字
limitinteger返回的最大结果数(默认值:5)

示例:

// Search for querying documentation
{ "query": "query builder" }

// Find pathfinding-related docs
{ "query": "pathfinding", "limit": 3 }

// Look up settings/configuration
{ "query": "settings gradle plugin" }

结果包括 path, title, section,以及 content 每个匹配文档部分的字段。各部分按以下方式划分 ## 标题和按关键字出现次数评分(标题匹配比内容加权3倍)。

建筑

./gradlew assemble      # Compile the project
./gradlew shadowJar     # Build the fat JAR (build/libs/runemate-mcp-*-all.jar)
./gradlew test          # Run tests (integration tests require an OSRS cache on disk)

许可证

麻省理工学院

目录标签

目录标签

Kotlin数据分析Claude游戏开发本地部署AI代理数据查询游戏缓存MCP协议

支持客户端

Claude

接入字段

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

未说明

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

none

工具数量(toolCount,工具数)

4

资源数量(resourceCount,资源数)

0

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

0

权限和风险

未说明none部署方式未说明

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

安装前确认

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

仍需确认:installCommand

来源信息

继续浏览同类 MCP