sfml3-ref
Provides direct, offline access to the complete SFML 3.1.0 C++ reference documentation, enabling listing of modules, searching for symbols and member functions, and retrieving detailed Markdown documentation with C++ prototypes for any SFML class, function, or type.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sfml3-refShow me the SFML documentation for sf::Sprite"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SFML 3.1.0 Documentation MCP Server (sfml3-ref)
An official Model Context Protocol (MCP) server providing AI assistants (Claude Desktop, Cursor, Claude Code, Cline, etc.) with direct, offline access to the complete SFML 3.1.0 C++ reference documentation.
π Features
Clean Markdown API Reference: Doxygen HTML documentation parsed and cleaned into formatted GitHub Markdown with syntax-highlighted C++ code blocks.
Full C++20 Signatures: Full method prototypes with specifiers (
[[nodiscard]],constexpr,explicit,delete, default arguments).Categorized by Module: All 155+ symbols categorized across the 5 SFML modules:
System,Window,Graphics,Audio, andNetwork.Fast In-Memory Search: Sub-millisecond lookup across symbol names, member functions, parameters, and descriptions.
Smart Aliases: Direct resolution of common SFML typedefs and helpers (e.g.,
Vector2fβsf::Vector2<T>,IntRectβsf::Rect<T>,secondsβsf::Time).
Related MCP server: Garmin Documentation MCP Server
π οΈ MCP Tools
Tool | Parameters | Description |
| none | Lists the 5 primary SFML 3.1.0 modules with descriptions and symbol counts. |
|
| Returns the table of contents for a module (classes, structs, enums, namespaces, functions). |
|
| Searches symbols and member methods for a given term (e.g. |
|
| Returns complete Markdown documentation and C++ prototypes for a specific symbol (e.g. |
π Getting Started
Prerequisites
Node.js (v18.0.0 or higher recommended)
npm
Installation & Build
# 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 buildNote: The repository already includes the pre-built
index.json(~1 MB), so you don't need to download the raw SFML Doxygen HTML files unless you want to re-run the indexing script.
π₯οΈ Client Configuration
1. Claude Desktop
Add the server to your Claude Desktop configuration file:
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"
]
}
}
}(On Windows, use forward slashes or double backslashes, e.g. C:/Users/<username>/Documents/sfml3-ref/dist/src/index.js)
Alternative: Running directly with tsx (No build step required)
{
"mcpServers": {
"sfml3-ref": {
"command": "npx",
"args": [
"-y",
"tsx",
"/ABSOLUTE/PATH/TO/sfml3-ref/src/index.ts"
]
}
}
}2. Cursor / Cline / Other MCP Clients
Add an STDIO MCP server with:
Command:
nodeArgs:
["/path/to/sfml3-ref/dist/src/index.js"]
π Usage Examples
Once connected in Claude or your MCP client, you can ask prompts such as:
"List all modules available in SFML 3.1."
"Show me all classes and functions in the SFML Graphics module."
"What is the constructor signature for
sf::Spritein SFML 3?""How do I query DNS records with
sf::Dnsin SFML 3.1?""Search for event handling methods in SFML 3."
π Rebuilding the Index (Optional)
If you wish to re-generate index.json from scratch:
Download the SFML 3.1.0 Doxygen HTML documentation from the SFML Website.
Extract the HTML files into a folder named
SFML-3.1.0in the repository root.Run the indexing script:
npm run build:index
π License
Server Code: Licensed under the MIT License.
SFML Documentation & Library: Copyright Β© Laurent Gomila & SFML Team. SFML is licensed under the terms and conditions of the zlib/png license.
This server cannot be deployed
Maintenance
Related MCP Connectors
Tailor Platform for AI assistants: search, list and read the platform documentation.
Search and read Rust documentation for the standard library and any crate on crates.io
Versioned documentation registry and semantic search for AI tools and coding assistants.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation forβ¦
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.79MIT
- 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-
- AlicenseAqualityBmaintenanceProvides full class documentation for the Binding of Isaac modding API, enabling AI assistants to access complete class pages with methods, enums, and tutorials to avoid hallucination.4MIT