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
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
GET /v1/models returns: the id, context window, output limit and prices. See models.Claude Code
- Run the command below in a terminal, with your key in place of
vk-.... - Run
claude mcp list. The server should show as connected. - Start
claudeand ask it to use theasktool.
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.
{ "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.
- Open the connectors directory, select
Add, thenAdd custom connector. - Enter a name and the URL above, then
Continue. - For
Authentication, chooseNo sign-in. - Under
Request headers(some layouts keep it underAdvanced), chooseauthorizationand enterBearer vk-...as the value, with your key. Claude sends the value exactly as entered, so the wordBearerand the space are part of it. - Select
Add.
On a Team or Enterprise plan an Owner adds the connector for the organization, in the organization's connector settings.
Cursor
- Create
.cursor/mcp.jsonin a project, or~/.cursor/mcp.jsonfor every project. - Add the entry below. Cursor fills
${env:NAME}from your environment, so setUNCENSOREDLLM_API_KEYbefore you start Cursor. - Open
Customizeand check that the server is listed and switched on.
{ "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.
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
askis 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
401The key was not sent or is wrong. The header isAuthorization: Bearer vk-.... See errors.Failed to connect in Claude CodeClaude Code's docs sayclaude mcp get uncensoredllmshows the reason on anIssueline. A 401 there is the key.Out of creditsA 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 own402message.Rate limitA tool result that starts this way means the account sent more requests in a minute than its tier allows. It is the API's own429message. Wait and call again.No capacityA tool result with this text means the model is busy or offline (503). The status page shows which.No Request headers sectionClaude's connector dialog shows it only to organizations in that beta. Use Claude Code, the desktop app's Code tab, or Cursor.