Try tten for free
Set up your server in minutesTry for free
Try tten for free
Try for free

When you tell your AI agent “set up a test server,” it needs a connection to your infrastructure through an MCP server to carry out the operation. The apps all use the same connection address. The only thing that changes is how you use that address: a command in Claude Code and Codex, a custom connector screen in Claude, a JSON file in Cursor, developer mode in ChatGPT.

In this post, we will connect five apps to tten MCP Server. By the end, you will learn the commands that verify the connection and the ways to restrict permissions.

How does the Claude MCP connection work?

MCP (Model Context Protocol) is an open standard that lets agents call third-party tools. You can find the details in the What is MCP? post. The only distinction you need to know: an MCP server either runs locally (stdio) on your computer or sits at a remote address on the internet.

tten MCP Server is a remote server. Its address is the same in all apps:

Authentication is done through OAuth. The first time an app connects to tten MCP Server, the tten authorization page opens in your browser. You enter your API key on this page. The key is not saved in the app’s settings file. Your email address is not requested.

That is all there is to it. First, create your API key.

Before you start: create an API key

The connection requires a tten account and an active plan or a free trial. When the trial starts, a 1 TRY verification charge is made on your card and automatically refunded.

  1. In Core Panel, open the Developer → API Keys page.

  2. Click the New API Key button.

  3. Give the key a name (example: claude-okuma).

  4. Select the permissions. There are more than 60 permission options. Read permissions alone are enough for a first trial.

  5. Select the validity period: 1, 7, 30, 90 or 365 days, a custom date, or no expiry (Never). Prefer a short period for short-lived tasks and narrow permissions for a key with no expiry.

  6. Click the Create Key button and copy the key. The panel shows the key only once.

Create a separate key for each app. You can create up to 10 keys per user. When you revoke one key, the other apps keep working.

The key is ready. Now choose your app.

Adding an MCP server to Claude Code: claude mcp add

You add a remote MCP server to Claude Code with a single command:

claude mcp add --transport
claude mcp add --transport
claude mcp add --transport

Then type /mcp in the Claude Code session, select tten from the list and start the authorization. The tten authorization page opens in your browser. Enter your API key on this page. You can also do the same thing from the terminal with the claude mcp login tten command.

By default, the command adds the server only to the project you are in. To use it in all your projects, add --scope user. --scope project writes the definition to the .mcp.json file. This file is shared with your team through Git.

You list the added servers with the claude mcp list command and remove them with the claude mcp remove tten command.

You can also add the server by providing a Bearer header with the --header parameter. In this case, the key is stored in the configuration file. When used together with --scope project, it ends up in Git through .mcp.json. With the OAuth method, the app stores only an OAuth token, not the key. When you revoke the key, this token becomes invalid too. If you need to connect with a header, do not write the key to the .mcp.json file as plain text. Have it read from an environment variable in the form "Authorization": "Bearer ${TTEN_API_KEY}". Claude Code substitutes the variable’s value in this file by itself.

Adding a custom connector in Claude

In Claude’s web and desktop apps, you add the remote MCP server as a custom connector. The claude_desktop_config.json file in Claude Desktop is for local servers. It is not needed for the tten connection.

Free, Pro and Max plans:

  1. Open the Customize → Connectors page.

  2. Click the + button and select the Add custom connector option.

  3. Enter https://mcp.tten.net/mcp as the server address. Leave the OAuth Client ID and Client Secret fields under Advanced settings empty.

  4. Click the Add button. When the tten authorization page opens in your browser, enter your API key.

The Free plan is limited to a single custom connector.

Team and Enterprise plans: The organization’s Owner clicks the Add button on the Organization settings → Connectors page and adds the address with the Custom → Web option. Members select the tten connector on the Customize → Connectors page and connect their own API keys with Connect.

The menu steps may change with app updates. You can find the current steps in the MCP documentation.

Cursor MCP setup: mcp.json

In Cursor, a remote server is added through the mcp.json file, not through the interface. Use ~/.cursor/mcp.json for all your projects, or the .cursor/mcp.json file in the project root for a single project.

{
  "mcpServers": {
    "tten": {
      "url": "https://mcp.tten.net/mcp"

{
  "mcpServers": {
    "tten": {
      "url": "https://mcp.tten.net/mcp"

{
  "mcpServers": {
    "tten": {
      "url": "https://mcp.tten.net/mcp"

After you save the file, the tten authorization page opens in your browser. Enter your API key on this page. You enable or disable the server from the Customize page in the sidebar. If the page does not open or the connection cannot be established, the error details appear in the MCP Logs entry in the Output panel.

Do not write the key to the file as plain text. If you need a method other than OAuth, keep the key in an environment variable. Add it to the headers field as "Authorization": "Bearer ${env:TTEN_API_KEY}". The .cursor/mcp.json file in the project folder ends up in Git. For this reason, keep a definition that contains a key in the global file.

By default, Cursor asks for your approval before running MCP tools. Leave this setting on.

Connecting MCP in ChatGPT with developer mode

In ChatGPT, a remote MCP server is added as an app through developer mode. Full MCP support is currently offered only on Business and Enterprise/Edu plans, and only on the web. Write operations such as setting up a server or opening a port depend on this support. Pro accounts use MCP in developer mode only for read operations.

  1. Turn on developer mode. On the Business plan, only admins can use developer mode, and they turn it on under Settings → Apps → Advanced settings. On the Enterprise/Edu plan, an admin first grants permission under Permissions & Roles → Connected Data. You then turn it on from the same Settings → Apps → Advanced settings path.

  2. On the Settings → Apps → Create page, enter https://mcp.tten.net/mcp as the address. Select OAuth as the authentication method.

  3. Click the Scan Tools button. When the tten authorization page opens in your browser, enter your API key. When the scan finishes, create the app with Create.

  4. Your app appears under Settings → Apps → Enabled Apps with the Dev label.

Before write operations, ChatGPT asks for your approval based on the app’s permissions and the impact of the operation. If you wish, you can keep the approval you give for a tool valid for that whole chat. It is asked again in a new chat.

Adding an MCP server to Codex: codex mcp add

Codex CLI, Codex in the ChatGPT desktop app and the IDE extension share the same configuration: ~/.codex/config.toml. A server you add once appears in all three.

codex mcp add tten --url

codex mcp add tten --url

codex mcp add tten --url

The second command opens the tten authorization page in your browser. Enter your API key on this page. Codex stores the OAuth record in the config.toml file and reuses it in later sign-ins. You list the added servers with the codex mcp list command.

You can also write the same definition into the file by hand:

[mcp_servers.tten]
url = "https://mcp.tten.net/mcp"
[mcp_servers.tten]
url = "https://mcp.tten.net/mcp"
[mcp_servers.tten]
url = "https://mcp.tten.net/mcp"

In the desktop app, follow the Settings → MCP servers → Add server path. Give it a name, select Streamable HTTP, enter the address, save, and restart with Restart. Servers that require OAuth are marked in the list, and you start the authorization with Authenticate.

Codex asks for your approval for tool calls by default. The default_tools_approval_mode = "writes" setting asks for approval only for tools other than read tools. Do not turn this setting off. If you need a method other than OAuth, do not write the key to the file as plain text: have it read from an environment variable with bearer_token_env_var = "TTEN_API_KEY".

Verify the connection: first commands

Test the connection with a read-only command: “List my servers.”

If your agent returns your server list, the connection is established. If you do not have any servers yet, an empty list also shows that the connection is established. The next steps depend on the permissions you gave your key:

  • “Show the CPU and RAM usage of my servers.”

  • “Set up a server named test-01 with Ubuntu, 2 CPUs and 4 GB RAM.”

  • “Open ports 80 and 443 on the test-01 server for external access.”

Usage information is visible with read permission. Setting up a server and opening a port require write permission.

The connection is established. The last step is to deliberately limit your agent’s permissions.

Security: permissions, approval, data flow and monitoring

Permissions. Your agent cannot run an operation that is not defined on your key. tten MCP Server rejects an unauthorized call. Start with narrow permissions and widen them as needed.

Approval. Critical operations such as deleting a server do not run on the first call. tten MCP Server first returns a preview and asks for a single-use approval code that is valid for 60 seconds. This safeguard is independent of the app. It stays in place when you switch from Claude to ChatGPT. The approval code goes back to the agent, not to you. The server cannot verify that a human has seen the preview. For this reason, keep your app’s tool approval turned on as well.

Data flow. In most apps, the commands you write, the operations the agent calls and the responses returned from those operations are processed at the model provider abroad. The responses include your server names, IP addresses, firewall rules and invoice amounts. When you have your agent set up a server, the root password generated also comes back along the same path. Protect this password like your other passwords and change it at first login. The data on your servers’ disks and your databases do not leave the data center in Türkiye. MCP does not look inside this data. It only runs infrastructure operations.

Monitoring. Every operation is logged in Core Panel: you can see which key changed what and when. The rate limit is 120 read and 60 write operations per minute. The limit prevents a faulty loop from straining your infrastructure. When you revoke a key from Core Panel, access ends immediately.

For the details of the security topic, see: Is it safe to give AI server permissions?

Frequently asked questions

Which plan do I need for Claude MCP?

You add the remote MCP server as a custom connector on Claude’s Free, Pro, Max, Team and Enterprise plans. The Free plan is limited to a single custom connector. On Team and Enterprise plans, the organization’s Owner adds the connector. Members connect with their own keys. Claude Code works on Pro, Max, Team and Enterprise plans or with API usage. You add the server with the claude mcp add command.

Do I need to write code to connect MCP?

In Claude and ChatGPT, you set up the connection from the interface. In Claude Code and Codex, a single command is enough. In Cursor, you add a seven-line definition to the mcp.json file.

What is the difference between a custom connector and a local MCP server?

A local MCP server runs as a process on your computer. The app communicates with this server directly. A custom connector, on the other hand, connects over HTTP to a remote MCP server on the internet. tten MCP Server is a remote server. For this reason, it is added in Claude as a custom connector.

Can AI delete my server?

If you do not grant delete permission to your API key, the agent cannot do this. Even if you do, deletion does not run on the first call: tten MCP Server asks for a single-use approval code that is valid for 60 seconds. The approval code goes back to the agent, not to you. The server cannot verify that a human approved it, so keep your app’s tool approval turned on as well.

Can I use the same key in more than one app?

Yes, but we recommend creating a separate key for each app. You can create up to 10 keys per user. When you want to shut off an app’s access, you revoke only that key. The others keep working.

How do I turn off the connection?

Revoke the key on the Developer → API Keys page in Core Panel. Access ends immediately. Also remove the server on the app side: with claude mcp remove tten in Claude Code, from the Connectors list in Claude, from the mcp.json file in Cursor and from the config.toml file in Codex. In ChatGPT, revoking the key cuts access.

Try the setup on your own account

Setup takes a few minutes: an API key, a single address in your app and one approval in your browser. Give your first command with read permission and widen the permissions as needed.

Get started now

Related content

Sources

  1. Anthropic. Get started with custom connectors using remote MCP. https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp (last updated 2026-08-11, accessed 2026-09-25)

  2. Anthropic. Connect Claude Code to tools via MCP. https://code.claude.com/docs/en/mcp (accessed 2026-09-28)

  3. Cursor. Model Context Protocol (MCP). https://cursor.com/docs/context/mcp (accessed 2026-09-25)

  4. OpenAI. Developer mode and MCP apps in ChatGPT. https://help.openai.com/en/articles/12584461-developer-mode-and-mcp-apps-in-chatgpt (accessed 2026-09-28)

  5. OpenAI. Model Context Protocol (MCP) in Codex. https://learn.chatgpt.com/docs/extend/mcp (accessed 2026-09-29)

  6. tten. MCP documentation. https://tten.net/dokumantasyon/mcp-dokumantasyonu

Written by

Emre

Göktepe

Tags

On this page

Set up your Cloud Server in minutes

Try tten for free.

You are in full control

Build your infrastructure today

Get started in minutes and take your project live. No commitment.