Connect Claude to your backend with MCP
Connect Claude to your Anythink project with the hosted connector at mcp.anythink.cloud, or run the anythink-mcp server locally for Claude Code, Claude Desktop, Cursor and other MCP clients.
Last updated
Connect Claude to Anythink and it can create entities and fields, read and write records, build and debug workflows, and manage integrations in your project, using the same commands you would run with the CLI. There are two ways to connect:
- The hosted connector at
https://mcp.anythink.cloud/mcp. Nothing to install: add the URL, sign in with your Anythink account and choose a project. - The local server,
anythink-mcp, which your MCP client starts on your machine over stdio. Use it for clients that don't support remote connectors, or to sign in and switch projects from the chat.
For how this relates to the AI panel in the Anythink dashboard, see How AI chat and MCP work.
Connect the hosted connector
You need an Anythink account and a project to connect to.
Claude (web, desktop and mobile)
- In Claude, open Settings, then Connectors, and select Add custom connector.
- Name it
Anythinkand enter the URLhttps://mcp.anythink.cloud/mcp. - Select Connect, sign in with your Anythink account, and choose the project Claude can use, or all of your projects.
- In a chat, turn on the Anythink connector from the tools menu.
On a Team or Enterprise plan, an owner adds the connector for the organisation first, then each member connects their own Anythink account.
Claude Code
claude mcp add --transport http anythink https://mcp.anythink.cloud/mcp
Then run /mcp in Claude Code and choose Authenticate. Your browser opens so you can sign in and choose a project.
Other MCP clients
The connector signs clients in with OAuth using a client ID metadata document (CIMD), which is how Claude and Claude Code identify themselves. Other clients that support CIMD can use the same URL. Support for dynamic client registration (DCR), which clients such as Cursor and VS Code use, is planned; until then, connect them with the local server below.
One project or all of them
When you sign in, you grant access to one project or to all of your projects.
| You grant | How tools work |
|---|---|
| One project | Every tool works on that project. |
| All projects | projects_list shows the projects the connection can reach, and every other tool takes a project id. |
Tools run as you, so your role in each project decides what a call can do. To stop Claude reaching your projects, disconnect or remove the connector in Claude's settings.
What the hosted connector can do
The hosted connector has a tool for every project command: entities, fields, records, workflows and their steps and jobs, roles, users, secrets, files, integrations, menus, search, payments, API keys and the API docs. Each tool is labelled read-only, write or destructive, so Claude can check with you before changing or deleting anything. For the full list, see MCP server tools reference.
It leaves out tools that only make sense on your own machine: signing in or out, switching saved profiles, opening a browser, reading or writing local files, raw fetch requests and creating API keys. Use the local server or the CLI for those.
Run the server locally
The local server shares its saved profiles with the anythink CLI, so you sign in once for both.
Before you start
- An Anythink account and a project to connect to.
- The
anythinkCLI on yourPATH. The server'sclitool runs your installedanythinkbinary, so without it everyclicall fails with a "CLI not found" error. Homebrew installs both together. See Getting Started with the CLI.
Install the server
Pick one. They all give you the same server.
| Method | Command | Installs the CLI too? |
|---|---|---|
| Homebrew (macOS and Linux) | brew install anythink-cloud/tap/anythink |
Yes, you get anythink and anythink-mcp |
| npm, run on demand | npx -y @anythink-cloud/mcp |
No, install the CLI separately. Needs Node.js, not .NET |
| .NET global tool | dotnet tool install -g anythink-mcp |
No, install the CLI with Homebrew or the release binary as well. Needs the .NET 8 SDK |
You can also download an anythink-mcp-<platform> binary from the anythink-cli releases page.
Register it with your client
Every client launches the same command. The examples use npx. If you installed with Homebrew or the .NET tool, use "command": "anythink-mcp" and drop the args.
Claude Code
claude mcp add anythink -- npx -y @anythink-cloud/mcp
With a native install:
claude mcp add anythink anythink-mcp
Or add it to your project's .mcp.json:
{
"mcpServers": {
"anythink": {
"command": "npx",
"args": ["-y", "@anythink-cloud/mcp"]
}
}
}
Claude Desktop
Open Settings, then Developer, then Edit Config. This opens claude_desktop_config.json. Add the server under mcpServers, then restart Claude Desktop.
{
"mcpServers": {
"anythink": {
"command": "npx",
"args": ["-y", "@anythink-cloud/mcp"]
}
}
}
Claude Desktop starts the server without your shell's setup. If it can't find npx, install with Homebrew and use "command": "anythink-mcp" instead.
Cursor
Add the same mcpServers entry to ~/.cursor/mcp.json. Cursor, VS Code (.vscode/mcp.json), Cline and Windsurf all use this shape. Continue and Zed use their own formats, which the anythink-cli README shows.
{
"mcpServers": {
"anythink": {
"command": "npx",
"args": ["-y", "@anythink-cloud/mcp"]
}
}
}
Pin a profile
The server uses the CLI's active profile by default. To pin one saved profile, add --profile to the arguments:
{
"mcpServers": {
"anythink": {
"command": "npx",
"args": ["-y", "@anythink-cloud/mcp", "--profile", "my-project"]
}
}
}
Sign in and pick a project
The server shares its saved profiles with the anythink CLI, so you can sign in either way. Signing in with the CLI keeps your password out of the conversation with the model.
In the Anythink dashboard
Create an API key under My Account, then API Keys, and sign in with it as shown in the next section. See API keys.
With the CLI
anythink login
anythink accounts use <account-id>
anythink projects use <project-name>
anythink login --google signs in with Google instead. projects use accepts a project name, an org id or an id prefix, and makes that project the active profile. The server picks up the new profile on its next tool call.
With an AI assistant (MCP)
Sign me in to Anythink with Google, then connect to my "my-project" project.
Claude calls:
login_google, which opens your browser so you can approve the sign-in. Thelogintool takes an email and password instead, which means typing them into the chat.accounts_list, thenaccounts_usewith your billing account's id.projects_list, thenprojects_usewith the project's name, org id or id prefix.
projects_use saves a profile for that project and makes it active. Unless you pass an apiKey, it generates a project-scoped access token. Every later cli call uses that profile.
Connect with an API key
If you already have a project's org id and an API key, skip the billing account step. Run this in a terminal so the key never passes through the model:
anythink login --org-id <org-id> --api-key <api-key>
The MCP equivalent is the login_direct tool with orgId and apiKey. Both save a profile named after the org id and make it active.
A key is the safest way to limit what an assistant can do. It holds only the permissions you gave it, so a key with read permissions can look at your data and can't change it.
What the assistant can do
Both servers give Claude a tool for every project command, each labelled read-only, write or destructive. The local server adds tools to sign in and manage saved profiles, billing accounts and projects, plus a general-purpose cli tool that runs any anythink command against the active profile. For every tool and its arguments, see MCP server tools reference.
The assistant can make destructive changes, including deleting entities, records and projects. Read what it plans to run before you approve a write. On the local server, connect with a scoped API key when you only need it to read.
Permissions
MCP calls have no permissions of their own. They run as the signed-in user, or with the API key's permissions. A call succeeds only if that identity could make the same request with the CLI or REST API, and anything else returns 403.
To give an assistant access to look but not change anything, connect the local server with an API key that has only :read permissions on what it needs. See API keys and Control access: roles, permissions and field-level security.
Example prompts
List every entity in this project and the fields on each.
Create an entity called "feedback" with a text field "message" and an
integer field "rating", then add three sample records.
Show me the recent jobs for the "Flag large orders" workflow and tell me
why the failed ones failed.
Connect Slack, then add a step to the "New order" workflow that posts the
order total to #sales.
Limits
| Limit | Detail |
|---|---|
| Hosted requests in flight | 8 at a time per project connection, with up to 8 more queued; beyond that the connector returns 429. An all-projects connection has the same limit per user. |
| Hosted output size | Each tool's output is cut off at 200,000 characters. Page through large lists. |
The local cli tool |
Runs the anythink binary on your PATH. Commands may contain letters, numbers, spaces and - . / : = , @ _ " ' { } [ ]. Keep JSON payloads to plain text. |
| Google sign-in | login_google opens a browser on your machine, so it works only on the local server. |