> ## Documentation Index
> Fetch the complete documentation index at: https://evolink.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP authorization, approval, and troubleshooting

> Cost boundaries, account access, retention, and step-by-step troubleshooting

## MCP costs and approval

This page describes released MCP 1.12.1. Call `estimate_cost`, then show the model, final inputs, output count, and estimated cost. Call the generation tool only after explicit approval of this task. When the user explicitly says not to estimate or confirm, for this task, a batch or the rest of the conversation, the assistant submits with `skip_estimate: true` instead; see [generating without an estimate](https://evolink.ai/docs/en/mcp/tools.md#skip-estimate).

See [models, costs, and quotas](https://evolink.ai/docs/en/cli-mcp/models-and-billing.md#pricing) for estimate states, public-pricing limitations, approval, and budgets. Released max\_cost\_usd only compares pre-submission estimates; it does not cap final charges.

estimate\_cost does not accept max\_cost\_usd; generation tools accept it.

Native MCP has neither a CLI local `quote_id` and `--confirm` command nor a session-level server approval button. The agent must retain the model, inputs, estimate, and approval for this task; a changed input, a higher price or an expired approval requires renewed approval. An approval (`pricing_quote`) holds for 24 hours from the estimate, at the approved price or lower: the generation tool estimates again and submits when the price is unchanged or lower, also under later pricing rules. A higher price returns `price_changed`, a changed input `quote_input_changed`, and an approval past its `expires_at` `quote_expired`. Host tool permission, account authorization, and purchase approval do not replace one another.

Model, balance, and task queries do not submit generation. Generation is billed; file-service limits apply separately. A failed task is not charged, and the credits reserved at submission are returned automatically. Timeout or closing chat does not establish that no charge occurred or that a refund completed. Usage queries are not complete settlement receipts.

See [shared access rules](https://evolink.ai/docs/en/cli-mcp/models-and-billing.md#authorization); this page retains sign-in and sign-out actions for this route.

## Authorization, permissions, and quotas

Remote MCP uses Passport browser OAuth. The host stores connection credentials, and the service uses the existing OAuth-linked Key. Remote MCP and CLI can share account access, Key quotas, and permissions. Pausing a shared Key affects all its consumers; host session sign-out is a separate operation.

Local stdio uses the personal API Key supplied to its MCP process and follows that Key's permissions and quotas. Do not paste Keys into chat or use CLI sign-in as proof of native MCP authorization.

Disconnect or sign out through the host's MCP or connector settings. Revoke account authorization through account authorization management when needed. Closing a window does not necessarily revoke access. Resolve insufficient balance, daily/total quotas, or model permissions through account settings.

## Storage and expiry

Default quote, reference, upload-authorization, and original URL lifetimes are maintained in [tasks, references, and results](https://evolink.ai/docs/en/cli-mcp/tasks-and-files.md#retention). Actual returned values apply; receipt support depends on file-service deployment.

## MCP troubleshooting: identify your connection

Remote MCP uses `https://mcp.evolink.ai/mcp`, Streamable HTTP, and host OAuth sign-in. Local stdio uses the host-configured `@evolinkai/mcp` process and a platform Key. Check credentials and tool discovery for the actual connection.

| Symptom | Troubleshooting section |
| - | - |
| Browser authorization fails or repeats | [Sign-in](#login) |
| Skill present but actual tools missing | [Skills and permissions](#skills-discovery) |
| MCP missing, text-only replies, or denied tools | [Connection and tool discovery](#mcp-connection) |
| Model missing, invalid inputs, or incomplete pricing | [Models and pricing](#models-and-pricing) |
| Generation timed out or outcome unknown | [Tasks and recovery](#tasks-and-recovery) |
| Attachment unreadable or upload failed | [Uploads](#uploads) |
| Original file 403, gray preview, or link-only result | [Downloads](#download) |
| Problem persists | [Support information](#support) |

Check that this host connection is enabled and authorized and that tools are visible, then actually call `check_balance`. Remote MCP exposes 16 tools; local stdio exposes 14. CLI success does not prove native MCP access, and MCP troubleshooting does not require CLI installation.

### Browser sign-in and authorization

**1. Start authorization from the host**

Use sign-in or authorization in this MCP or connector entry. Find the host command or menu in its dedicated guide. Signing into a separate CLI does not authorize this connection.

**2. Complete account approval in the browser**

Sign into the correct EvoLink account, check scopes, and approve. Keep the host authorization flow waiting. Do not share full authorization URLs or callback parameters. Restart a failed flow from the original host.

**3. Return to the host and verify**

Refresh the connection's tools, check for `check_balance` and `search_models`, and actually query balance. Reauthorize after 401. For 403, also check account permissions, Key status, and host tool permissions.

Local stdio does not use this browser flow. Check the platform Key received by the process, startup environment, and stderr. Do not mix remote OAuth with personal Keys. See [other clients](https://evolink.ai/docs/en/mcp/other-clients.md).

### Skill installed but tools unavailable

1. Read the `evolink-mcp` tool instructions. Native MCP cannot execute terminal commands from the CLI skill.
2. Check actual server configuration and tools in the host. Reading a skill does not register a server, and plugin installation does not automatically complete OAuth.
3. Reload the session or plugin and check tool permissions. Instructions without a recorded tool call do not prove access.
4. If tools are listed but calls fail, inspect the tool error and original connection. Do not use paid generation as a connection test.

### MCP connection and access: missing tools, connection failure, 401/403

1. Check the connection type. Remote uses `https://mcp.evolink.ai/mcp`, Streamable HTTP, and OAuth; local stdio uses a launch command and personal Key. A documentation page, `llms.txt`, or REST endpoint is not an MCP server.
2. Enable EvoLink, complete this host’s browser authorization, then refresh or open a new session. Back up existing configuration and merge only EvoLink. Check JSON quotes/commas, YAML spaces, and configuration scope without overwriting other services.
3. Call `check_balance` and `search_models`. If tools list but calls fail, inspect authorization. If balance works but generation tools are absent, check tool toggles and workspace policies.

| Symptom | Action |
| - | - |
| Duplicate server name | Inspect the existing entry and choose one source; avoid manual/plugin duplicates |
| 401 / expired authorization | Reauthorize through the affected host, preserving task IDs |
| 403 / denied tool | Distinguish host policy, account/Key limits, and network rejection; record the failed stage rather than assuming a UA change fixes all 403s |
| Local process cannot start | Check Node 20+, npx path, host environment, and launch errors; reload and verify |
| Invalid/unauthorized local Key | Inspect its status and scope in the dashboard and update host secret settings, not chat |
| Configuration change has no effect | Refresh the process that owns the connection; a remote Gateway does not refresh with your laptop terminal |

Setup pages: [ChatGPT](https://evolink.ai/docs/en/mcp/chatgpt.md), [Claude](https://evolink.ai/docs/en/mcp/claude.md), [Claude Code](https://evolink.ai/docs/en/mcp/claude-code.md), [Codex](https://evolink.ai/docs/en/mcp/codex.md), [Cursor](https://evolink.ai/docs/en/mcp/cursor.md), [OpenClaw](https://evolink.ai/docs/en/mcp/openclaw.md), [Hermes](https://evolink.ai/docs/en/mcp/hermes-agent.md), [other clients](https://evolink.ai/docs/en/mcp/other-clients.md).

### Models and pricing: empty search, invalid parameters, incomplete estimate

1. Search live models and use the returned canonical ID. A family, display name, or alias may not be a valid submission ID. Broaden search wording without discarding required reference capabilities.
2. Inspect MCP `get_model` for this model. Check required fields, spelling, enums, numeric limits, and mutually exclusive references. Do not copy another model’s `duration`, `size`, or `quality` fields.
3. Re-estimate and inspect `input_valid`, `problems`, `estimate.status`, `basis`, and `warnings`. A changed input or identity, a higher price, or an expired approval requires a new estimate and approval.

For `needs_input`, supply the input or the billing usage that `missing_usage` and `usage_help` name, through `media_seconds` or `pricing_parameters`; `no_price` is unusable and `partial` is not a total. Unknown duration or reference multipliers cannot be filled with a starting price. Preserve the budget; do not silently remove caps, switch Keys, or reduce specifications to bypass a rejection.

If every model from `search_models`, `get_model`, or `recommend_models` has no price and `pricing_warning` reads `Public pricing rules are unavailable or invalid`, the server is 1.8.1 or older: those versions drop all prices when a tiered rule has no `multiplier`. Remote MCP runs a newer version, so call the tool again. Local stdio configured with `npx -y @evolinkai/mcp@latest` picks up the new version when the client restarts. From 1.8.2, a model whose rules cannot be read is left out and named in `pricing_warning`; other models keep their prices.

If `estimate_cost` or `get_pricing_rules` returns `rate_limited` (`pricing_calls_per_minute`) with a number of seconds, wait that long and call again. The hosted service lets each signed-in account read the pricing rules 30 times per minute for each of these two tools; answers from rules read moments earlier are not counted. Estimate several inputs of one model in one call with `inputs` instead of one call per input. When the platform itself limits pricing reads, an estimate uses rules read in the last 10 minutes and says when they were read. Local stdio is not limited this way.

Published public-default estimates are not account-specific authoritative Quotes, and `max_cost_usd` is not a final settlement cap. See [costs](https://evolink.ai/docs/en/mcp/billing.md) and [command/tool reference](https://evolink.ai/docs/en/mcp/tools.md).

### Timeout, running tasks, or unknown outcomes

**1. Retain and query the original task**

Call `get_task` for an existing `task_id`; set `wait_seconds` to 0–45 for a bounded wait. Use `list_tasks` for multiple IDs. Timeout ends that wait only, not generation. If a read returns `status_check: unverified` (`task_response_invalid`, `task_identity_mismatch`, `task_status_unknown` or `task_query_timeout`, or a `last_known_status` when a later read in the wait failed), query the same task again; this is not a failure. A generate result with `submission_state: accepted` already has a `task_id`.

**2. Recover an unknown submission with its original identifier**

Preserve `client_request_id`, inputs, identity, and error when no task ID returns. Recover through the same tool and identifier; do not change accounts or identifiers and generate again. EvoLink keeps a request identifier for 24 hours: within that time the same identifier and inputs return the original task without a new charge, and a batch submits only the items its result lists to finish. If the approval has expired by then, estimate the same inputs again and pass the new `pricing_quote` with the same identifier. After 24 hours the identifier no longer prevents a second task: check `list_tasks` first, then submit only what did not go through, with a new estimate and a new identifier. `list_tasks` accepts only its documented parameters, not invented filters.

**3. Establish failure and account outcomes separately**

Record actual errors and times, and query the original task and account usage. A failed task is not charged, and the credits reserved at submission are returned automatically; an unknown submission is not a failure and does not prove no charge. There is no usable public queue-cancellation tool. Disconnecting MCP or closing a page does not cancel the task.

A changed input, a higher price or an expired approval requires a new estimate and approval for unsubmitted tasks. Recover submitted or unknown requests first. See [task tools](https://evolink.ai/docs/en/mcp/tools.md#task-progress-and-results) for parameters and examples.

### Unreadable attachments, failed uploads, or unknown outcomes

1. Confirm that the host can read the supplied file. Remote MCP cannot directly read a desktop path, and chat attachments do not automatically become model URLs.
2. Use `upload_file.file_url` for accessible URLs. Remote base64 is limited to 1 MiB. For larger files, call `prepare_upload`, upload from an environment with file access, then call `get_upload`. Single-use uploads allow up to 95 MiB; authorization lasts about 15 minutes and status about one hour.
3. Local stdio can use `upload_file.file_path` on the MCP process machine. Check path, permissions, format, file-service limits, and model limits; a desktop path is not automatically readable on a cloud host.
4. Preserve and query the original `upload_id`. Unknown does not mean nothing uploaded, and receipt compatibility depends on file-service deployment. Request a replacement after confirmed failure or expiry. References usually last 72 hours; re-upload expired inputs.

See [upload tools](https://evolink.ai/docs/en/mcp/tools.md) for parameters and the [reference workflow](https://evolink.ai/docs/en/mcp/overview.md#files) for full steps. Use an accessible URL when the host lacks file capabilities. Do not troubleshoot upload failures by regenerating.

### Downloads and previews

Query the original task, confirm completion, and use its original URL. Open originals in a browser or save from a file-capable environment; see [MCP delivery](https://evolink.ai/docs/en/mcp/overview.md#delivery).

HTTP/format checks, the Python product User-Agent example, expired links, and gray previews are maintained in [download troubleshooting](https://evolink.ai/docs/en/cli-mcp/tasks-and-files.md#download). Recover unknown tasks instead of regenerating or editing previews.

### Information for support

Follow the [support checklist](https://evolink.ai/docs/en/cli-mcp/tasks-and-files.md#support) with versions, failed stage, IDs, and redacted errors. Preserve diagnostics from this route; do not share Keys, tokens, private URLs, or environment dumps.

### Looking for CLI installation troubleshooting

CLI commands, secure storage, SSH callbacks, and skill discovery now live in [CLI troubleshooting](https://evolink.ai/docs/en/cli/billing.md#cli-install) and the [CLI setup guide](https://evolink.ai/docs/en/cli/setup.md). This entry preserves old-link compatibility. Use this page and your client guide for native MCP setup.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.