Skip to content
Docs/Integrations/MCP server

MCP server

The uncensored LLM as a tool inside Claude Code, Claude Desktop, Cursor and any other MCP client. One remote server, your API key in a header, the same balance as the API.

Settings

URL
https://uncensoredllm.xyz/mcp
Transport
Streamable HTTP
Header
Authorization: Bearer vk-...
API key
your vk-... key
Tools
ask, models

MCP, the Model Context Protocol, is how coding agents and chat apps add tools. This server gives them two. The key is the one you use for the API: make it on the keys page. There is no separate sign-in.

Tools

asktool
Sends one prompt to the model and returns its answer as text. Each call stands alone: nothing is remembered between calls.
promptstring
Required. The question or instruction.
systemstring
Optional. A system prompt for this one call.
max_tokensinteger
Optional. The most tokens the reply may use, the model's thinking included. Default 1024, at most 2000. A small value can leave no room for the answer.
modelstool
No arguments. Returns what GET /v1/models returns: the id, context window, output limit and prices. See models.

Claude Code

  1. Run the command below in a terminal, with your key in place of vk-....
  2. Run claude mcp list. The server should show as connected.
  3. Start claude and ask it to use the ask tool.
Shell
claude mcp add --transport http uncensoredllm https://uncensoredllm.xyz/mcp --header "Authorization: Bearer vk-..."

By default the server is added for you in the current project. Add --scope user to have it in every project. To share it with a team, put it in the project's .mcp.json and keep the key in an environment variable: Claude Code expands ${VAR} in url and headers. An entry with a url needs the type line.

payload.jsonJSON
{  "mcpServers": {    "uncensoredllm": {      "type": "http",      "url": "https://uncensoredllm.xyz/mcp",      "headers": {        "Authorization": "Bearer ${UNCENSOREDLLM_API_KEY}"      }    }  }}

Claude Desktop

Code tab

The desktop app's Code tab reads the same files as Claude Code: a server in ~/.claude.json or in a project's .mcp.json works in both. Add the server as above, with --scope user or the .mcp.json entry, and it is there in the app.

Chat

In chat, a remote server is a custom connector, and this one needs the key sent as a request header. Claude's docs say request headers are in beta and open to a limited set of organizations. If your Add custom connector dialog has no Request headers section, the connector cannot send the key and will not connect: use the Code tab or another client.

  1. Open the connectors directory, select Add, then Add custom connector.
  2. Enter a name and the URL above, then Continue.
  3. For Authentication, choose No sign-in.
  4. Under Request headers (some layouts keep it under Advanced), choose authorization and enter Bearer vk-... as the value, with your key. Claude sends the value exactly as entered, so the word Bearer and the space are part of it.
  5. Select Add.

On a Team or Enterprise plan an Owner adds the connector for the organization, in the organization's connector settings.

Cursor

  1. Create .cursor/mcp.json in a project, or ~/.cursor/mcp.json for every project.
  2. Add the entry below. Cursor fills ${env:NAME} from your environment, so set UNCENSOREDLLM_API_KEY before you start Cursor.
  3. Open Customize and check that the server is listed and switched on.
payload.jsonJSON
{  "mcpServers": {    "uncensoredllm": {      "url": "https://uncensoredllm.xyz/mcp",      "headers": {        "Authorization": "Bearer ${env:UNCENSOREDLLM_API_KEY}"      }    }  }}

Cursor uses the tools it lists under Available Tools when they fit, and asks for approval before it runs one. Its MCP log is in the Output panel, under MCP Logs.

Other clients

Any MCP client that connects to a remote server over Streamable HTTP and lets you set a request header works: give it the URL and the header from the table. A client that can only sign in with OAuth cannot send the key, so it cannot connect. The server answers MCP 2026-07-28 requests and the older initialize handshake on the same URL.

Check that it works

List the tools without any client. The reply names ask and models.

terminalcURL
curl https://uncensoredllm.xyz/mcp \  -H "Authorization: Bearer $UNCENSOREDLLM_API_KEY" \  -H "Content-Type: application/json" \  -H "Accept: application/json, text/event-stream" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

What a call costs

  • ask is an API call on your key: it is billed per token at the model's price, counts toward your rate limits, and shows in the dashboard's usage log with the endpoint /mcp. See billing.
  • models, connecting and listing the tools are free.
  • As on the API, the prompt and the answer are not stored. See privacy.

When something does not work

  • 401 The key was not sent or is wrong. The header is Authorization: Bearer vk-.... See errors.
  • Failed to connect in Claude Code Claude Code's docs say claude mcp get uncensoredllm shows the reason on an Issue line. A 401 there is the key.
  • Out of credits A tool result with this text, or one that names a spend limit, means the account or the key has nothing left to spend. The tool passes on the API's own 402 message.
  • Rate limit A tool result that starts this way means the account sent more requests in a minute than its tier allows. It is the API's own 429 message. Wait and call again.
  • No capacity A tool result with this text means the model is busy or offline (503). The status page shows which.
  • No Request headers section Claude's connector dialog shows it only to organizations in that beta. Use Claude Code, the desktop app's Code tab, or Cursor.