MTA:SA Documentation MCP Server — Claude Code MCP server
Gives AI coding agents structured access to MTA:SA functions, events, and examples. Useful when API discovery should happen inside the coding workflow.
claude mcp add mtasa-docs-mcp -- npx -y mtasa-docs-mcpWhat MTA:SA Documentation MCP Server does
This MCP server searches MTA:SA documentation by keywords and task descriptions, then returns API details and examples. Its tools cover function and event discovery, single or multiple documentation lookups, category browsing, and workflow recommendations. Semantic matching uses SQLite, with results kept in a local cache.
Keyword expansion can connect terms such as database with related db* APIs. The server also flags deprecated functions and exposes cache statistics and cleanup operations. Node.js uses node:sqlite; Bun can run it through bun:sqlite. Node.js 24+ is required, so an older Node runtime will prevent the server from starting.
For Claude Code, add it with claude mcp add mtasa-docs-mcp -- npx -y mtasa-docs-mcp. Local development uses pnpm 10+ and the project build commands. The server can also be configured for Codex, Cursor, GitHub Copilot, and other listed MCP clients.
What it helps with
- find an MTA:SA function from a task description
- discover events for a gameplay flow
- retrieve API documentation with examples
- spot deprecated MTA:SA functions
- search the wiki without manual browsing
Example prompts for the agent
- Find MTA:SA functions for saving player data to a database.
- Which events should handle player login and loading their settings?
- Show the documentation and an example for an MTA:SA vehicle function.
How to install MTA:SA Documentation MCP Server
Platform CLI
claude mcp add mtasa-docs-mcp -- npx -y mtasa-docs-mcpPlatform CLI
codex mcp add mtasa-documentation-mcp-server -- npx -y mtasa-docs-mcpConfig file
{
"mcpServers": {
"mtasa-documentation-mcp-server": {
"command": "npx",
"args": [
"-y",
"mtasa-docs-mcp"
]
}
}
}Config file
{
"servers": {
"mtasa-documentation-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mtasa-docs-mcp"
]
}
}
}Platform CLI
gemini mcp add mtasa-documentation-mcp-server npx -y mtasa-docs-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about MTA:SA Documentation MCP Server
How do I install MTA:SA Documentation MCP Server in Claude Code?
Run claude mcp add mtasa-docs-mcp -- npx -y mtasa-docs-mcp.
What does MTA:SA Documentation MCP Server do?
It gives an agent structured access to MTA:SA documentation, including function and event search, API details, examples, deprecation warnings, and a local SQLite cache.
What runtime does the MCP server require?
Node.js 24+ is required. Bun 1.3+ is an optional runtime, while pnpm 10+ is used for local development.