Verify And Troubleshoot GroundX Agent Harness
Verify your setup after installing GroundX Agent Harness or connecting hosted MCP tools. Never paste an API key into chat.
Verify The Plugin
If you connected hosted MCP tools without installing the skills, go to Verify Hosted MCP.
Run these checks without pasting secrets into chat. They’re the same prompts from Install GroundX Agent Harness:
If you have a local checkout of the repository, you can also run the local helper:
If the plugin or its skills are missing, reload or start a new session:
- Claude Desktop / Claude Code CLI / VS Code + Claude / Claude Code Desktop:
run
/reload-plugins, or start a new session. - Codex CLI / Codex Desktop: start a new Codex session after installing.
If the skills list is still empty after a reload/restart, revisit the install steps for your client in Install GroundX Agent Harness before continuing.
Verify Hosted MCP
If GroundX MCP tools are visible, confirm the connected account first:
This calls groundx_account_context (see Connect Hosted MCP
Tools). It takes no input and returns the
account type, mode, permissions (scopes), base URL, and enabled tool groups without secrets.
A regular user key shows ingest, search, bucket/group, and health tools allowed by its scopes. If it shows partner- or admin-only tools, report the bug with the account context and visible tool list (see Evidence To Collect).
GroundX Tools Appear Twice
Symptoms: every GroundX tool is listed twice, or the client asks for approval twice for one call.
Two copies of the server are attached. List them with claude mcp list or
codex mcp list, then remove the entry that is not the plugin’s.
401 Or Reauthentication Required
Symptoms: the MCP client fails to connect, or a tool call returns a 401 / “unauthorized” error.
Check the key directly through REST:
A 200 response means the key is accepted. A 401 means the key needs attention
(revoked, wrong environment, or never valid). Fix that before debugging MCP further.
Never paste the real key into this command in chat; run it yourself in a terminal with
the key already in your environment.
Missing Tools
If a tool is missing, check these in order:
-
Scope mismatch. Which tools are visible follows your key’s permissions, documented in Connect Hosted MCP Tools: Scope And Visibility: a path containing
/ingestrequiresgroundx:ingest; any other write verb (POST, PUT, PATCH, DELETE) requiresgroundx:write; everything else requiresgroundx:read. If the connecting key’s granted scopes don’t include the scope a tool needs, that tool won’t appear. -
Read-only visibility. A key with only
groundx:readshowsbucket_list,group_list, andhealth_getfrom the 12 default tools, plus the 4 always-present tools (groundx_account_context,list_operations,describe_operation,call_operation). Both search tools (search_content,search_documents) use POST and requiregroundx:write. Ingest tools requiregroundx:ingest. Add the required scopes in the GroundX dashboard, then reconnect. -
Old tool name migration. If you’re calling a tool by a name that used to work directly (for example a bare
bucket_delete,document_delete, or a workflow/API-key management tool), use discovery to check the supported operation. GroundX MCP lists 12 default tools plus 4 always-present tools for ordinary customer sessions. Advanced and destructive operations use the discovery path:Some servers also support older direct names as aliases, but these do not appear in the default list. Use discovery to check availability and the current schema (see Connect Hosted MCP Tools: Advanced Operations). Use
list_operationsto confirm the exactoperationId. Advanced operations use the PascalCaseoperationIdform (for exampleBucket_delete,Document_delete1), never the normalized lowercase form used by the 12 default tools. Scope enforcement still applies:call_operationrejects write or ingest operations in a read-only session.
SDK/REST Fallback
Use the Direct SDK/API Quickstart when:
- Your client doesn’t support remote MCP/connectors. Not every client has an MCP or connector surface. See the client support table in Install GroundX Agent Harness.
- MCP is unavailable or not connected. If prod MCP tools aren’t visible and you don’t specifically need MCP client setup, continue with SDK/REST rather than troubleshooting the connector first.
- You need an operation MCP doesn’t expose. Creating a new API key, for example, is
hidden from
list_operationsand rejected bycall_operationfor every scope. It’s only available through the dashboard, SDK, or REST.
Evidence To Collect
Include these details in a bug report:
- Client name: for example Claude Desktop, Claude Code CLI, VS Code + Claude, Claude Code Desktop, Codex CLI, or Codex Desktop.
- MCP URL:
https://api.groundx.ai/mcpor the equivalenthttps://api.groundx.ai/api/v1/mcp(or the on-prem deployment’s equivalent hostname). - Auth mode: OAuth (interactive browser flow) or
X-API-Keytransport (headless/CI). - Visible tools: the tool list from the client, cross-checked against
groundx_account_contextandlist_operationsoutput. - Scope/account context, without secrets: the resolved account type, mode,
granted scopes, base URL, and enabled tool groups from
groundx_account_context. - Error text: the exact error message or HTTP status returned.
Never include an API key or token in a bug report. Redact any secrets from error messages before sharing.
Protected Files or Expired Citations
To read a protected stable URL, a trusted server must send the owning account’s X-API-Key to the file host. MCP OAuth does not authorize that read; keep API keys out of browser code. Refresh expired links through authorized search, Documents_fileLink, or the X-Ray ?view=links URL. Do not retry anonymously or upload protected files to public staging. For 409, read the current settings and revision before deciding on an update. For 503, check that file protection is ready and wait for any Retry-After delay. See File Access and Sharing.

