GeoNeMo MCP credentials#

Configure the user’s existing HTTP MCP client with an MCP credential and verify the actual connection. This package contains no MCP implementation, authentication client, or secret store. HTTP MCP and GeoNeMo API credentials have distinct audiences.

Read setup for Codex, Cursor, generic clients, and the stdio exception. Read troubleshooting for failed verification and the worked example for sanitized completion evidence.

Workflow#

  1. Establish the requested client and trusted HTTPS MCP URL from the user, host configuration, or authenticated GeoNeMo server discovery (endpoints.mcp). Examples use https://geonemo.example.com/mcp; substitute the deployment’s URL. An obsolete HTTP port is not a public HTTPS origin. For requests to configure both connections, verify API identity and discovery first using geonemo-api-credentials when installed or the host’s existing API client; preserve the independently verified API state. MCP-only setup requires no API credential or sibling skill.

  2. Reuse the selected client’s stored OAuth grant or an explicit host-held MCP personal-token reference. Preserve valid credentials and unrelated configuration. Do not use an API token as an HTTP MCP bearer, or silently switch identities after an explicit credential fails.

  3. If credentials are missing, use the client’s native MCP OAuth flow when interactive consent is available. For headless use, guide the user to Console → Access to issue an MCP personal token and have the host supply it through its secret store or GEONEMO_MCP_TOKEN process reference. Request the minimum scopes for the intended work. The user completes consent or secure token entry; do not invent successful authorization while this is pending.

  4. Apply only the selected server entry using supported client configuration. Keep certificate verification and approved trust for that client. Native OAuth and static bearer configuration are alternative credential sources; select the intended one explicitly. Ensure the actual client process receives any environment reference. If the client requires a new connection or session to load changes, refresh that client before verification.

  5. Verify MCP initialize and tools/list through the actual configured client. Honor its negotiated protocol and session handling. Saved configuration, public OAuth metadata, and API /v1/auth/me alone do not prove MCP authentication. Never start a detector or publish an artifact to test credentials. Tool listing verifies discovery, not authorization for every tool.

  6. Report API and MCP states separately: verified, failed, pending user action, or not requested. Include MCP endpoint, client, credential source reference, initialization/tool-discovery evidence, scopes or identity only when authoritatively returned, and remaining user action. A successful API check does not complete a failed MCP setup.

Boundary#

Use host secret handling and supported clients. Never print tokens, write them into repository files, reports, URLs or command arguments, or ask for token values in chat. Keep finite request timeouts and certificate verification; do not follow authenticated redirects to unapproved origins. Distinguish network/TLS failures from rejected credentials and insufficient scopes. Do not infer an audience mismatch from a generic 401. Stop on a failed check until the cause is corrected; do not cycle through credentials or perform account/service administration.