Skip to main content
Glama

OSRS MCP サーバー鍛冶屋のバッジ

Old School RuneScape (OSRS) Wiki APIおよびデータファイルと連携するためのMCPサーバー。このサーバーは、OSRS Wikiを検索し、モデルコンテキストプロトコルを介してゲームデータ定義にアクセスするためのツールを提供します。

画像

画像

画像

ツール

このサーバーは次のツールを実装します。

OSRS Wikiメソッド

  1. osrs_wiki_search - 検索語に一致するページをOSRS Wikiで検索します

  2. osrs_wiki_get_page_info - OSRS Wiki の特定のページに関する情報を取得します

  3. osrs_wiki_parse_page - 特定の OSRS Wiki ページの解析された HTML コンテンツを取得します

ゲームデータの検索方法

  1. search_varptypes - プレイヤーの状態と進行状況を保存するプレイヤー変数 (varp) を varptypes.txt ファイルで検索します。

  2. search_varbittypes - varbittypes.txt ファイルで、varps の個々のビットを格納する変数ビット (varbits) を検索します。

  3. search_iftypes - ゲームの UI で使用されるインターフェース定義を iftypes.txt ファイルで検索します。

  4. search_invtypes - ゲーム内のインベントリタイプの定義をinvtypes.txtファイルで検索します

  5. search_loctypes - ゲームワールド内の場所/オブジェクトタイプの定義をloctypes.txtファイルで検索します

  6. search_npctypes - npctypes.txt ファイルで NPC (非プレイヤーキャラクター) の定義を検索します

  7. search_objtypes - ゲーム内のオブジェクト/アイテムの定義をobjtypes.txtファイルで検索します。

  8. search_rowtypes - さまざまなインターフェースで使用される行定義を rowtypes.txt ファイルで検索します。

  9. search_seqtypes - seqtypes.txt ファイルでアニメーション シーケンスの定義を検索します。

  10. search_soundtypes - ゲーム内のサウンド効果の定義をsoundtypes.txtファイルで検索します

  11. search_spottypes - spottypes.txt ファイルでスポットアニメーション (グラフィック効果) の定義を検索します

  12. search_spritetypes - インターフェースで使用されるスプライト画像の定義をspritetypes.txtファイルで検索します。

  13. search_tabletypes - インターフェースタブの定義をtabletypes.txtファイルで検索します

汎用データファイルメソッド

  1. search_data_file - データディレクトリ内の任意のファイルで一致するエントリを検索します

  2. get_file_details - データディレクトリ内のファイルの詳細を取得する

  3. list_data_files - データディレクトリ内の利用可能なデータファイルを一覧表示します

Related MCP server: MCP RSS Server

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の mcp-osrs を自動的にインストールするには:

npx @smithery/cli@latest install @jayarrowz/mcp-osrs --client claude

前提条件

  • Node.js (v16以降)

  • npmまたはyarn

パッケージのインストール

# Clone the repository
git clone https://github.com/jayarrowz/mcp-osrs.git
cd mcp-osrs

# Install dependencies
npm install

# Build the package
npm run build

Claude Desktopでの使用

claude_desktop_config.jsonに以下を追加します。

npxの使用

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

直接Node.js

{
  "mcpServers": {
    "osrs": {
      "command": "node",
      "args": ["/path/to/mcp-osrs/dist/index.js"]
    }
  }
}

/path/to/mcp-osrsリポジトリへの実際のパスに置き換えます。

OSRS Wikiを検索

// Search for information about the Abyssal whip
const result = await callTool("osrs_wiki_search", { 
  search: "Abyssal whip" 
});

ページ情報を取得する

// Get information about a specific wiki page
const pageInfo = await callTool("osrs_wiki_get_page_info", { 
  titles: "Abyssal_whip" 
});

ゲームデータを検索

// Search for items in the object definitions
const items = await callTool("search_objtypes", { 
  query: "dragon",
  page: 1,
  pageSize: 10
});

利用可能なデータファイルのリスト

// Get a list of all data files
const files = await callTool("list_data_files", {});

発達

# Install dependencies
npm install

# Start the server in development mode
npm start

# Build the server
npm run build

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JayArrowz/mcp-osrs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server