Skip to main content
Glama

astrbot-mcp

AstrBot MCP Server — AstrBotプラグイン開発に関連するツールインターフェースを提供します。

機能

  • get_doc: AstrBot開発ドキュメントの内容を取得

  • list_docs: 利用可能なすべてのドキュメントをリストアップ

  • search_docs: キーワードでドキュメントを検索

  • get_hook_inventory: 完全なフック(Hook)リストを取得

Related MCP server: CHECK-MODULE MCP Server

インストール

前提条件

  • Python 3.10+

  • AstrBot-Skill リポジトリ(ドキュメント参照用)

設定

  1. 本リポジトリとAstrBot-Skillを同じディレクトリにクローンします:

mkdir astrbot-workspace && cd astrbot-workspace
git clone https://github.com/EterUltimate/AstrBot-Skill.git
git clone https://github.com/EterUltimate/astrbot-mcp.git
  1. 依存関係をインストールします:

cd astrbot-mcp
pip install -r requirements.txt
  1. 必要に応じて config.yaml のパス設定を変更します(デフォルトでは隣接するAstrBot-Skillリポジトリが自動的に検出されます)。

実行

python server.py

設定説明

config.yaml の主要な設定項目:

フィールド

説明

デフォルト値

docs.base_path

ドキュメント参照ディレクトリのパス

../AstrBot-Skill/skill-astrbot-dev/references

hooks.generator_script

フックリスト生成スクリプトのパス

../AstrBot-Skill/scripts/generate_hook_inventory.py

hooks.output_path

フックリスト出力パス

../AstrBot-Skill/skill-astrbot-dev/.tmp/hook_inventory

server.transport

通信方式

stdio

sse.host

SSEホスト(transport=sse の場合)

localhost

sse.port

SSEポート

3000

パスは相対パス(config.yamlがあるディレクトリ基準)および絶対パスをサポートしています。

AstrBot-Skill との関係

本リポジトリは AstrBot-Skill のMCPサーバー分離版です。 ドキュメントの内容はAstrBot-Skillリポジトリの skill-astrbot-dev/references/ ディレクトリに保存されており、 本サービスはファイルシステムを通じて読み取り、MCPツールインターフェースを提供します。

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides documentation generation and analysis tools for AI agents, including JSDoc generation, README analysis, changelog generation, API documentation, and code comment analysis.
    44 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides MCP tools to list and search OpenAI Agents SDK documentation, enabling LLMs to retrieve documentation topics and content via natural language queries.
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Exposes the Dalamud plugin API documentation to AI assistants, enabling them to answer questions about services, types, and methods for writing FFXIV Dalamud plugins.
    11
    1
    -