Skip to main content
Glama
VanessaLops

anime-connect-mcp-bot

by VanessaLops

anime-connect-mcp-bot

Anime Connect アプリのチャットを監視し、データ(メッセージ、アラート)をAIアシスタント(Claude)が参照できるツールとして公開するMCPサーバー。

レイヤー

  • src/ingestion — チャットソースからメッセージを取得する。FirebaseChatSource は Realtime Database の has_bot: true のグループを読み取る。MockChatSource は開発/テスト専用。

  • src/domain — エンティティ(ChatMessageAlert)、純粋なルール(キーワード検出)、botSettings.ts(グループごとのカスタマイズ、下記参照)。

  • src/actuation — チャットへの書き戻し(FirebaseActuator)またはログ出力のみ(DryRunActuator)。

  • src/agent — チャットコマンド(!ping!help!ban)と役職ベースの権限。

  • src/storage — SQLite への永続化(MessageRepository)。

  • src/mcp — ツール get_recent_messagessearch_messagesget_recent_alerts を備えたMCPサーバー。

  • src/config — 環境変数(DB_PATHPOLL_INTERVAL_MSDRY_RUN)。

Related MCP server: mcp-server-agent-comm

グループごとのカスタマイズ(bot_settings

各グループのオーナーは Anime Connect アプリ自体(ボット設定画面)でボットを編集し、それが Realtime Database の groups/{id}/bot_settings に書き込まれます。

  • アイデンティティ: nameavatar_color — そのグループのボットユーザーはこれらの値で作成/更新される(FirebaseActuatorbot_group_id フィールドがユーザーをグループに結び付ける)。

  • 実際の有効化: activefalse の間、ボットはそのグループで実行する予定のアクションをログに記録するだけ。.envDRY_RUN=false でも同様(このフラグはプロセス全体のサーキットブレーカーとして引き続き機能)。

  • コマンド: commands.ping/help/ban.enabled で各コマンドをオン/オフ。commands.ping.message!ping のカスタム応答。

  • モデレーション: keyword_alertsbadwords はカンマ区切り文字列で、そのグループでは .env のグローバルな KEYWORD_ALERTS / BADWORDS を置き換える。

グループに bot_settings が保存されていない場合は src/domain/botSettings.ts のデフォルト(DEFAULT_BOT_SETTINGS)を使用し、安全のため active: false になる。

実行

npm install
npm run dev     # modo desenvolvimento (tsx watch)
npm run build && npm start   # build + produção

次のステップ

MockChatSource を、Anime Connect アプリと通信する実際の実装に置き換える(アプリのチャットがどう公開されるかに応じて、REST API、webhook、データベースの直接読み取りなど)。

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only

  • Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.

  • Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.

View all MCP Connectors

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/VanessaLops/anime-connect-mcp-bot'

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