sfml3-ref
SFML 3.1.0 Documentation MCP Server (sfml3-ref)
AI アシスタント(Claude Desktop、Cursor、Claude Code、Cline など)に、完全な SFML 3.1.0 C++ リファレンスドキュメントへの直接かつオフラインでのアクセスを提供する、公式の Model Context Protocol (MCP) サーバーです。
🌟 特徴
クリーンな Markdown API リファレンス: Doxygen HTML ドキュメントを解析し、構文ハイライト付きの C++ コードブロックを含む整形された GitHub Markdown に変換します。
完全な C++20 シグネチャ: 指定子(
[[nodiscard]]、constexpr、explicit、delete、デフォルト引数)を含む完全なメソッドプロトタイプ。モジュール別に分類: 155 以上の全シンボルを、SFML の5つのモジュール(
System、Window、Graphics、Audio、Network)にわたって分類。高速なインメモリ検索: シンボル名、メンバー関数、パラメータ、説明にわたるサブミリ秒の検索。
スマートエイリアス: 一般的な SFML の typedef とヘルパーの直接解決(例:
Vector2f➔sf::Vector2<T>、IntRect➔sf::Rect<T>、seconds➔sf::Time)。
Related MCP server: godot-mcp-docs
🛠️ MCP ツール
ツール | パラメータ | 説明 |
| なし | SFML 3.1.0 の5つの主要モジュールを、説明とシンボル数とともに一覧表示します。 |
|
| モジュールの目次(クラス、構造体、列挙型、名前空間、関数)を返します。 |
|
| 指定された用語でシンボルとメンバーメソッドを検索します(例: |
|
| 特定のシンボルに関する完全な Markdown ドキュメントと C++ プロトタイプを返します(例: |
🚀 はじめに
前提条件
Node.js(v18.0.0 以上を推奨)
npm
インストールとビルド
# 1. Clone the repository
git clone https://github.com/Floxius/sfml3-ref.git
cd sfml3-ref
# 2. Install dependencies
npm install
# 3. Build the TypeScript server
npm run build注: リポジトリにはビルド済みの
index.json(約 1 MB)がすでに含まれているため、インデックススクリプトを再実行したい場合を除き、SFML の Doxygen HTML ファイルをダウンロードする必要はありません。
🖥️ クライアント設定
1. Claude Desktop
Claude Desktop の設定ファイルにサーバーを追加します:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"sfml3-ref": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/sfml3-ref/dist/src/index.js"
]
}
}
}(Windows では、フォワードスラッシュまたは二重バックスラッシュを使用します。例: C:/Users/<username>/Documents/sfml3-ref/dist/src/index.js)
代替方法: tsx で直接実行(ビルド手順不要)
{
"mcpServers": {
"sfml3-ref": {
"command": "npx",
"args": [
"-y",
"tsx",
"/ABSOLUTE/PATH/TO/sfml3-ref/src/index.ts"
]
}
}
}2. Cursor / Cline / その他の MCP クライアント
以下の設定で STDIO MCP サーバーを追加します:
コマンド:
node引数:
["/path/to/sfml3-ref/dist/src/index.js"]
📖 使用例
Claude または MCP クライアントに接続すると、次のようなプロンプトを質問できます:
"SFML 3.1 で利用可能なすべてのモジュールを一覧表示してください。"
"SFML Graphics モジュールのすべてのクラスと関数を表示してください。"
"SFML 3 の
sf::Spriteのコンストラクタシグネチャは何ですか?""SFML 3.1 で
sf::Dnsを使って DNS レコードを照会するにはどうすればよいですか?""SFML 3 のイベント処理メソッドを検索してください。"
🔄 インデックスの再構築(任意)
index.json を最初から再生成したい場合は:
SFML ウェブサイト から SFML 3.1.0 Doxygen HTML ドキュメントをダウンロードします。
HTML ファイルをリポジトリのルートにある
SFML-3.1.0という名前のフォルダに展開します。インデックススクリプトを実行します:
npm run build:index
📄 ライセンス
サーバーコード: MIT ライセンス の下でライセンスされています。
SFML ドキュメント & ライブラリ: Copyright © Laurent Gomila & SFML Team。SFML は zlib/png ライセンス の規約に基づいてライセンスされています。
This server cannot be installed
Maintenance
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
- AlicenseAqualityDmaintenanceProvides instant, offline access to comprehensive PrestaShop development documentation including 647+ hooks, module guides, component architecture, APIs, and theme development resources for AI assistants.78MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with access to the complete Godot Engine documentation, enabling developers to get answers about Godot classes, tutorials, and features directly in their chat interface.69MIT
- FlicenseAqualityFmaintenanceProvides offline access to complete Garmin Connect IQ SDK 8.2.3 documentation with enhanced search, device reference, programming guides, and FAQ for AI assistants.810
- FlicenseAqualityDmaintenanceEnables AI assistants to search and retrieve detailed documentation for Tracktion Engine classes and APIs.2
Related MCP Connectors
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Get up-to-date, version-specific documentation and code examples from official sources directly in…
@latest documentation and code examples to 9000+ libraries for LLMs and AI code editors in a singl…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Floxius/sfml3-ref'
If you have feedback or need assistance with the MCP directory API, please join our Discord server