NINJAMCP
Provides CryptoNinja character settings and worldview to AI via MCP, enabling fan fiction creation, story writing, and lore queries.
README
NINJAMCP
CryptoNinja のキャラクター設定・世界観を AI に提供する MCP(Model Context Protocol)サーバー です。
Claude Desktop / Claude Code などの MCP クライアントに接続すると、AI が CryptoNinja 全42キャラの公式設定や世界観を正確に参照しながら、二次創作の相談・ストーリー作成・設定確認などを手伝えるようになります。
提供ツール
| ツール | 説明 |
|---|---|
list_characters |
全キャラクター一覧(クラン絞り込み対応:伊賀・甲賀・風魔・雑賀・天界・根の国) |
get_character |
名前(日本語/英語)または ID(#012 等)でキャラの完全な設定を取得 |
get_character_image |
キャラの公式イラスト画像を取得(2D / 3D 切り替え可) |
get_worldview |
世界観(シーズン時系列・クラン相関・未確定設定メモなど)を取得 |
search_lore |
キーワードで全設定テキストを横断全文検索 |
セットアップ
npm install
npm run build
MCP クライアントへの登録
Claude Code
claude mcp add NINJAMCP -- node /path/to/MCP/dist/index.js
Claude Desktop(claude_desktop_config.json)
設定ファイルの場所:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"NINJAMCP": {
"command": "node",
"args": ["/path/to/MCP/dist/index.js"]
}
}
}
追記後、Claude Desktop を再起動すると 🔌 アイコンにツールが表示されます。
OpenAI Codex CLI(~/.codex/config.toml)
[mcp_servers.ninjamcp]
command = "node"
args = ["/path/to/MCP/dist/index.js"]
または CLI から:
codex mcp add ninjamcp -- node /path/to/MCP/dist/index.js
その他の MCP クライアント(Cursor / Windsurf など)
stdio トランスポート対応のクライアントなら同じ形式で登録できます。コマンドは共通で node /path/to/MCP/dist/index.js です。
/path/to/MCPは、このリポジトリを clone した実際のパスに置き換えてください。事前にnpm install && npm run buildが必要です。
リモートサーバー版(Cloudflare Workers)
worker/ ディレクトリに、同じ5ツールを HTTP で公開するリモート MCP サーバー(Streamable HTTP・依存ライブラリなし)が入っています。デプロイすると claude.ai の Web / スマホアプリや、URL 指定に対応した MCP クライアントから接続できます。
デプロイ
cd worker
npm install
npx wrangler login # 初回のみ(Cloudflareアカウントが必要・無料枠でOK)
npx wrangler deploy
デプロイ後の MCP エンドポイントは https://ninjamcp.<your-subdomain>.workers.dev/mcp です。
リモート版への接続
claude.ai(Web / スマホ): 設定 → コネクタ → 「カスタムコネクタを追加」で上記 URL を登録。
Claude Code:
claude mcp add --transport http NINJAMCP https://ninjamcp.<your-subdomain>.workers.dev/mcp
Codex CLI(~/.codex/config.toml):
[mcp_servers.ninjamcp]
url = "https://ninjamcp.<your-subdomain>.workers.dev/mcp"
開発
npm run dev # tsx で src/index.ts を直接実行
データは data/characters.json(キャラ設定)と data/worldview.json(世界観)にあり、編集すれば再ビルドなしで反映されます。
データ出典
CryptoNinja は Ninja DAO / イケハヤ氏によるNFTプロジェクトです。二次創作・商用利用の範囲は公式ガイドラインを確認してください。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.