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

# Relyt MCP

> Connect AI assistants to RelytONE using the Model Context Protocol

## Overview

The [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) is an open standard that enables Large Language Models (LLMs) to interact with external systems. RelytONE provides a **local MCP server** that runs on your machine, allowing AI assistants like Cursor and Claude to manage your RelytONE resources through natural language.

<Warning>
  **Use with Caution**: This MCP server grants LLMs direct access to manipulate your RelytONE resources, including creating, modifying, and deleting projects and databases. **We strongly recommend NOT using it in production environments.** Only use it in development or testing scenarios where accidental changes won't impact critical systems.
</Warning>

## Prerequisites

Before setting up the MCP server, ensure you have:

1. **Node.js** version 18.0.0 or higher installed. Check your version with:
   ```bash theme={null}
   node --version
   ```

2. **RelytONE API Token**: Generate an API key from the [RelytONE console](https://console.relyt.one) under **Settings → API Keys**. You'll need this token for authentication.

## Setup

The MCP server runs locally on your machine using npx.

<Tabs>
  <Tab title="Cursor">
    <Card title="Installation Options" icon="download">
      **Option 1: One-Click Install**

      [![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/zh-Hant/install-mcp?name=relytone\&config=eyJlbnYiOnsiUkVMWVRPTkVfQkVBUkVSX1RPS0VOIjoieW91ci1hcGktdG9rZW4taGVyZSJ9LCJjb21tYW5kIjoibnB4IC0teWVzIEByZWx5dC9tY3Atc2VydmVyLXJlbHl0b25lIn0%3D)

      **Option 2: Manual Configuration**

      Navigate to **Preferences → Cursor Settings → MCP → New MCP Server** and add:

      ```json theme={null}
      {
        "mcpServers": {
          "relytone": {
            "command": "npx",
            "args": ["--yes", "@relyt/mcp-server-relytone"],
            "env": {
              "RELYTONE_BEARER_TOKEN": "your-api-token-here"
            }
          }
        }
      }
      ```
    </Card>

    <Card title="Verify Connection" icon="check">
      Once configured successfully, you should see the RelytONE MCP server listed as connected:

      <img src="https://mintcdn.com/relytone/L6U1cJH72uSbRY3N/images/cursor-mcp-connection.png?fit=max&auto=format&n=L6U1cJH72uSbRY3N&q=85&s=23d388614dcf14c1d8016e8f06185b84" alt="RelytONE MCP Server Connection Status in Cursor" title="Cursor MCP Server Connection Status" style={{ width:"60%" }} width="994" height="724" data-path="images/cursor-mcp-connection.png" />
    </Card>
  </Tab>

  <Tab title="Claude Code">
    <Card title="Installation" icon="terminal">
      Run the following command in your terminal:

      ```bash theme={null}
      claude mcp add npx @relyt/mcp-server-relytone \
            --env RELYTONE_BEARER_TOKEN=your-api-token-here
      ```

      <Info>Replace `your-api-token-here` with your actual API token from the [RelytONE console](https://console.relyt.one).</Info>
    </Card>

    <Card title="Start Using" icon="rocket">
      Start a new Claude Code session and begin using RelytONE MCP with natural language commands!
    </Card>
  </Tab>
</Tabs>

## Available Tools

All [RelytONE APIs](/api/api-introduction) are exposed as MCP tools. The tool names follow the format `<method>-<path>`, such as:

* `get-organizations` - List organizations
* `get-projects` - List projects
* `post-projects` - Create a project
* `get-projects-slug-databases` - List databases in a project
* `post-projects-slug-databases` - Create a database

You don't need to know the exact tool names—simply describe what you want in natural language, and the AI will use the appropriate tools.

## Usage Examples

Simply describe what you want in natural language. Here are some examples:

**List projects in an organization:**

```
Please list all projects in the "my-org" organization
```

**Create a new project:**

```
Create a project under "my-org" with name "analytics-dev" 
and description "Development environment for analytics"
```

**Create a database:**

```
Create a database named "customers" in the "analytics-dev" project
```

**Get project details:**

```
Show me the details and compute resources for project "analytics-dev"
```
