Repository navigation
Closed
Labels
documentationImprovements or additions to documentationgood first issueGood for newcomersseverity: medium
Description
Summary
mcp-server/README.md, published as the "MCP Server" page of the docs site, lists 4 of the 10 tools, documents no parameters or environment variables, omits docs_index.json, and does not say where scaffolded files are written.
Where
mcp-server/README.md:7-12(tools table)mcp-server/README.md:36-42(data files list)mcp-server/server.py:31-200(the 10 registered tools)mcp-server/server.py:28(CFX_NATIVES_PATH),mcp-server/tools/txadmin_client.py:45-47(txAdmin vars)mkdocs.yml:25(MCP Server nav entry)
Details
- The table lists
scaffold_resource_tool,lookup_native_tool,generate_manifest_toolandsearch_events_tool. Missing:detect_framework_tool,search_docs_tool,txadmin_server_control_tool,txadmin_resource_control_tool,txadmin_player_search_tool,txadmin_kick_player_tool. - No parameter reference, although the signatures carry non-obvious enums (game
gta5|rdr3|both, the framework list,search_typeplayerName|playerNotes|playerIds). - No environment section:
CFX_NATIVES_PATHdefaults to./datarelative to the process CWD, andTXADMIN_URL/TXADMIN_USERNAME/TXADMIN_PASSWORDare required by 4 tools. - The data files list omits
docs_index.json. - It does not say that
scaffold_resource_toolwrites into the server process's current directory.
Impact
This is the only reference for the server. It hides six tools and every configuration knob, so users cannot configure txAdmin or understand why lookups fail when launched from another directory.
Steps to reproduce
- Compare the table in
mcp-server/README.mdwithgrep -n "def .*_tool" mcp-server/server.py(10 results).
Suggested fix
- Regenerate the tools table from
server.py, with each tool's parameters and allowed values. - Add an Environment section: the four variables, defaults, and which are required, without example credential values.
- Add
docs_index.jsonto the data files list. - Note where scaffolded files land (and update the note when that behaviour changes).
Acceptance criteria
- All 10 tools are listed with their parameters.
- All environment variables are documented with defaults.
- The data files list matches
mcp-server/data/.
Getting started
- Relevant files:
mcp-server/README.md,mcp-server/server.py,mcp-server/tools/txadmin_client.py - How to run checks: there is no test suite yet; run the MCP server with
cd mcp-server && pip install -r requirements.txt && python server.py, and CI checks live in.github/workflows/validate.yml - Related docs:
CLAUDE.md(MCP Server table),skills/txadmin-integration/SKILL.md
Filed by repo-audit/full-audit at 701824d. Severity: medium. Effort: S. audit-key: documentation|mcp-server/README.md|tools-table
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationgood first issueGood for newcomersseverity: medium
Activity
TMHSDigital commentedon Nov 21, 2026
Fixed in e91fef9.
Rewrote mcp-server/README.md: all 10 tools with parameters and allowed values (from server.py), a configuration table with defaults, where scaffolded files land, how to run the tests, and a data file list matching mcp-server/data/.
Verified: Tool list compared against the @mcp.tool() functions in server.py; data list against the directory.