{"id":51320594,"url":"https://github.com/tmhsdigital/cfx-mcp","last_synced_at":"2026-07-01T13:01:23.416Z","repository":{"id":360088474,"uuid":"1248641193","full_name":"TMHSDigital/cfx-mcp","owner":"TMHSDigital","description":"MCP server providing agent-callable tools for CFX/FiveM resource development, server management, and community platform integration.","archived":false,"fork":false,"pushed_at":"2026-05-24T23:50:03.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-25T01:12:14.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tmhsdigital.github.io/cfx-mcp/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TMHSDigital.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-24T22:44:00.000Z","updated_at":"2026-05-24T23:50:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/TMHSDigital/cfx-mcp","commit_stats":null,"previous_names":["tmhsdigital/cfx-mcp"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/TMHSDigital/cfx-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2Fcfx-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2Fcfx-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2Fcfx-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2Fcfx-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TMHSDigital","download_url":"https://codeload.github.com/TMHSDigital/cfx-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMHSDigital%2Fcfx-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35007278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-01T13:01:21.894Z","updated_at":"2026-07-01T13:01:23.391Z","avatar_url":"https://github.com/TMHSDigital.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CFX MCP\n\n**Read-only MCP server for CFX/FiveM development. Three tools, no API key required.**\n\n![License: CC-BY-NC-ND-4.0](https://img.shields.io/badge/license-CC--BY--NC--ND--4.0-green)\n![Version](https://img.shields.io/badge/version-0.1.0-blue)\n\n---\n\n## Tools\n\n### cfx_getNative\n\nLook up a FiveM or RedM native function by exact name, partial name, or hex hash. The full native database (~5 MB) is fetched once from `runtime.fivem.net` and cached in memory for the session.\n\n**Args**\n- `query` (string, required) - native name (`GET_ENTITY_COORDS`), partial name (`ENTITY_COORDS`), or hex hash (`0x3FEF770D40960D5A`). Partial matches return up to 20 results.\n\n**Example**\n```json\n{ \"query\": \"GET_ENTITY_COORDS\" }\n```\n\n---\n\n### cfx_queryServer\n\nInspect a live FiveM server's public HTTP endpoints. Fetches `/info.json` and `/players.json` from the server. Times out after 5 seconds per endpoint.\n\n**Args**\n- `host` (string, required) - server IP or hostname (`127.0.0.1`, `play.example.com`). No URL scheme or port here.\n- `port` (number, optional, default `30120`) - server port.\n\n**Example**\n```json\n{ \"host\": \"play.example.com\", \"port\": 30120 }\n```\n\n---\n\n### cfx_searchReleases\n\nSearch the cfx.re community releases forum via the public Discourse search API.\n\n**Args**\n- `query` (string, required) - search terms (`vehicle spawn menu`, `esx banking`, `vrp framework`).\n- `limit` (number, optional, default `10`, max `20`) - number of results.\n\n**Example**\n```json\n{ \"query\": \"esx framework\", \"limit\": 5 }\n```\n\n---\n\n## Running as an MCP server\n\n```bash\nnpm install -g @tmhsdigital/cfx-mcp\ncfx-mcp\n```\n\nOr run from source:\n\n```bash\nnpm ci\nnpm run build\nnode dist/index.js\n```\n\nAdd to your MCP client config (Claude Desktop, Cursor, etc.):\n\n```json\n{\n  \"mcpServers\": {\n    \"cfx-mcp\": {\n      \"command\": \"cfx-mcp\"\n    }\n  }\n}\n```\n\n## Notes\n\n- All three tools are read-only. No credentials or API keys are required.\n- `cfx_queryServer` validates the `host` parameter to prevent arbitrary URL access. Supply a plain IP or hostname only.\n- The native database is cached per process. Restart the server to force a refresh.\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## License\n\nCC-BY-NC-ND-4.0 -- see [LICENSE](LICENSE) for details.\n\n---\n\n**Built by TMHSDigital**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmhsdigital%2Fcfx-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmhsdigital%2Fcfx-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmhsdigital%2Fcfx-mcp/lists"}