Skip to content

mcp-server/README documents 4 of 10 tools and no configuration #46

Closed

Description

@TMHSDigital

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_tool and search_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_type playerName|playerNotes|playerIds).
  • No environment section: CFX_NATIVES_PATH defaults to ./data relative to the process CWD, and TXADMIN_URL / TXADMIN_USERNAME / TXADMIN_PASSWORD are required by 4 tools.
  • The data files list omits docs_index.json.
  • It does not say that scaffold_resource_tool writes 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

  1. Compare the table in mcp-server/README.md with grep -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.json to 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

Activity

  1. added
    documentation
    good first issue
    on Nov 21, 2026
  2. TMHSDigital commented on Nov 21, 2026

    @TMHSDigital
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationgood first issueseverity: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions