MTA:SA Documentation MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_functionsA | Primary discovery tool. Search MTA:SA functions and events by name or keyword before coding. Returns canonical function names with side/category so LLMs can reliably chain into docs tools. |
| search_eventsA | Event discovery tool. Search MTA:SA client/server events only (not regular functions), then chain into docs tools with exact event names. |
| find_functions_for_taskA | Task-to-functions matcher. Use this FIRST when user intent is high-level (e.g., 'vehicle dealership', 'login panel'). Returns ranked MTA:SA functions/events optimized for follow-up documentation retrieval. |
| find_events_for_taskA | Task-to-events matcher. Use when you need event names for handlers/triggers (e.g., resource lifecycle, player joins, marker hits). Returns ranked MTA:SA events only. |
| get_function_docsA | Fetch authoritative docs for exactly ONE MTA:SA function/event by canonical name. Preferred over manual web browsing. For multiple names, use get_multiple_function_docs in one call. |
| get_function_examplesA | Get only code examples for one function/event after docs lookup. Use when writing implementation snippets and tests. |
| get_multiple_function_docsA | Batch docs retrieval for implementation phase. Provide exact function/event names (ideally from search/find tools) and get combined authoritative docs in one response. |
| list_functions_by_categoryA | Enumerate canonical function/event names in a category. Useful for discovery when query terms are vague. |
| get_cache_statsB | Get statistics about the MTA:SA documentation cache. |
| recommend_doc_workflowA | Planner tool that tells LLMs exactly which mtasa-docs tools to call next for a given task. Use this to enforce MCP-first workflows and avoid manual wiki scraping. |
| clear_cacheB | Clear the MTA:SA documentation cache for a specific function or all functions. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| resource_structure | Guide for MTA:SA resource file structure and meta.xml manifest |
| mcp_usage_policy | Instructional policy that nudges LLMs to prefer mtasa-docs tools over manual browsing. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/Luminaire1337/mtasa-docs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server