JM

jayarrowz/mcp-osrs

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

38 stars 25 forks 质量 73 趋势 16MIT

jayarrowz/mcp-osrs 是从 https://github.com/jayarrowz/mcp-osrs. 导入的 MCP 服务器候选服务器。

概览

jayarrowz/mcp-osrs 是从 https://github.com/jayarrowz/mcp-osrs. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

MCP 服务器用于与 Old School RuneScape(OSRS)Wiki API 和数据文件交互。该服务器提供工具,用于搜索 OSRS Wiki 并通过模型上下文协议访问游戏数据定义。

工具

该服务器实现了以下工具:

OSRS 维基方法

  1. osrs_wiki_search - 在OSRS维基中搜索与搜索词匹配的页面
  2. osrs_wiki_get_page_info - 获取OSRS维基上特定页面的信息
  3. osrs_wiki_parse_page - 获取特定OSRS维基页面解析后的HTML内容

游戏数据检索方法

  1. search_varptypes - 在varptypes.txt文件中搜索存储玩家状态和进度的玩家变量(varps)
  2. search_varbittypes - 在varbittypes.txt文件中搜索可变量位(varbits),这些位存储来自 varp 的单个位
  3. search_iftypes - 在iftypes.txt文件中搜索游戏界面中使用的界面定义
  4. search_invtypes - 在invtypes.txt文件中搜索游戏中的物品栏类型定义
  5. search_loctypes - 在loctypes.txt文件中搜索游戏世界中的位置/对象类型定义
  6. search_npctypes - 搜索NPC类型。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

OSRS MCP Server

MCP Server for interacting with the Old School RuneScape (OSRS) Wiki API and data files. This server provides tools to search the OSRS Wiki and access game data definitions through the Model Context Protocol.

Tools

This server implements the following tools:

OSRS Wiki Methods

  1. osrs_wiki_search - Search the OSRS Wiki for pages matching a search term
  2. osrs_wiki_get_page_info - Get information about specific pages on the OSRS Wiki
  3. osrs_wiki_parse_page - Get the parsed HTML content of a specific OSRS Wiki page

Game Data Search Methods

  1. search_varptypes - Search the varptypes.txt file for player variables (varps) that store player state and progress
  2. search_varbittypes - Search the varbittypes.txt file for variable bits (varbits) that store individual bits from varps
  3. search_iftypes - Search the iftypes.txt file for interface definitions used in the game’s UI
  4. search_invtypes - Search the invtypes.txt file for inventory type definitions in the game
  5. search_loctypes - Search the loctypes.txt file for location/object type definitions in the game world
  6. search_npctypes - Search the npctypes.txt file for NPC (non-player character) definitions
  7. search_objtypes - Search the objtypes.txt file for object/item definitions in the game
  8. search_rowtypes - Search the rowtypes.txt file for row definitions used in various interfaces
  9. search_seqtypes - Search the seqtypes.txt file for animation sequence definitions
  10. search_soundtypes - Search the soundtypes.txt file for sound effect definitions in the game
  11. search_spottypes - Search the spottypes.txt file for spot animation (graphical effect) definitions
  12. search_spritetypes - Search the spritetypes.txt file for sprite image definitions used in the interface
  13. search_tabletypes - Search the tabletypes.txt file for interface tab definitions

Generic Data File Methods

  1. search_data_file - Search any file in the data directory for matching entries
  2. get_file_details - Get details about a file in the data directory
  3. list_data_files - List available data files in the data directory

Grand Exchange Prices

在 GitHub 查看完整 README

安装

npx -y @jayarrowz/mcp-osrs
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "osrs": { "command": "npx", "args": ["-y", "@jayarrowz/mcp-osrs"] } } }