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

# Connect a tool with MCP

> Install 1 News in Cursor, VS Code, Claude Code, Codex, and the other editors on this page. Each section has the step for that tool and the browser approval.

Pick the tool you use. Each install step points it at `https://mcp.1-news.app/mcp`. When the tool opens the browser, approve access with the account you already use. A terminal that only accepts a header uses the same personal token as the API. That token setup is in [Authentication](https://docs.1-news.app/authentication.md#mcp).

> [card] [Claude Code](#claude-code)
>
> Add the server from the command line.

> [card] [Codex](#codex)
>
> Add the server, then sign in.

> [card] [Grok](#grok)
>
> Add the server for every project.

> [card] [Gemini CLI](#gemini-cli)
>
> Add the server, then approve it.

> [card] [GitHub Copilot](#github-copilot)
>
> Add the server from the command line.

> [card] [OpenCode](#opencode)
>
> Add the server, then sign in.

> [card] [Factory](#factory)
>
> Add the server, then restart.

> [card] [fx](#fx)
>
> Add the server to your profile.

> [card] [omp](#omp)
>
> Add the server for one project or all of them.

> [card] [Claude.ai](#claudeai)
>
> Add the remote address yourself.

> [card] [ChatGPT](#chatgpt)
>
> Add the remote address yourself.

> [card] [Goose](#goose)
>
> Start a session with the server address.

> [card] [Cursor](#cursor)
>
> Add 1 News in one click.

> [card] [VS Code](#vs-code)
>
> Add 1 News in one click.

> [card] [Antigravity](#antigravity)
>
> Add the server, then restart.

> [card] [Kiro](#kiro)
>
> Add the server to your settings.

> [card] [Devin Desktop](#devin-desktop)
>
> Add the server, then sign in.

> [card] [Kimi Code](#kimi-code)
>
> Add the server for this project or every project.

> [card] [Warp](#warp)
>
> Add the server to your settings.

> [card] [Terminal](#terminal)
>
> Send the personal token in a header.

## Claude Code

Add the server to the project:

```bash theme={null}
claude mcp add --scope project --transport http 1news "https://mcp.1-news.app/mcp"
```

Or add this configuration to `.mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "type": "http",
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

In a regular terminal, not the editor extension, run `claude /mcp`. Select `1news`, then authenticate. Approve access in the browser with the account you already use.

## Codex

Add the server:

```bash theme={null}
codex mcp add 1news --url "https://mcp.1-news.app/mcp"
```

Or add this configuration to `~/.codex/config.toml`:

```toml theme={null}
[mcp_servers.1news]
url = "https://mcp.1-news.app/mcp"
```

Sign in:

```bash theme={null}
codex mcp login 1news
```

Run `/mcp` inside Codex to confirm. Approve access in the browser with the account you already use.

## Grok

Add the server:

```bash theme={null}
grok mcp add 1news "https://mcp.1-news.app/mcp" --transport http
```

Or add this configuration to `~/.grok/config.toml`:

```toml theme={null}
[mcp_servers.1news]
url = "https://mcp.1-news.app/mcp"
```

The command writes the server to your user config, so it is available in every project. Start Grok and approve access in the browser the first time you use it. Confirm with `/mcps` inside Grok, or `grok mcp doctor 1news` from a terminal.

## Gemini CLI

Add the server:

```bash theme={null}
gemini mcp add -t http 1news "https://mcp.1-news.app/mcp"
```

Or add this configuration to `.gemini/settings.json`:

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "httpUrl": "https://mcp.1-news.app/mcp"
    }
  }
}
```

Start Gemini CLI and run `/mcp auth 1news`. Approve access in the browser with the account you already use.

## GitHub Copilot

Add the server:

```bash theme={null}
copilot mcp add --transport http 1news "https://mcp.1-news.app/mcp"
```

Or add this configuration to `~/.copilot/mcp-config.json`:

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "type": "http",
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

Sign in with `copilot -i /mcp` and follow the instructions. Approve access in the browser with the account you already use.

## OpenCode

Add this configuration to `~/.config/opencode/opencode.json`:

```json theme={null}
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "servers": {
      "1news": {
        "type": "remote",
        "url": "https://mcp.1-news.app/mcp"
      }
    }
  }
}
```

Then sign in. This opens the browser:

```bash theme={null}
opencode mcp auth 1news
```

Approve access with the account you already use.

## Factory

Add the server:

```bash theme={null}
droid mcp add 1news "https://mcp.1-news.app/mcp" --type http
```

Or add this configuration to `~/.factory/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "type": "http",
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

Restart Factory, or type `/mcp` inside droid, and approve access in the browser.

## fx

Add this configuration to `~/.fx/mcp.json`:

```json theme={null}
{
  "mcp": {
    "1news": {
      "type": "http",
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

fx reads servers from this profile. A file inside a repository cannot add one. If a session is already open, apply the change with `/mcp reload`.

Sign in from the fx shell. This opens the browser:

```bash theme={null}
/mcp auth 1news --open
```

Confirm with `/mcp list`.

## omp

Start omp and run `/mcp add`, or add this configuration to `.omp/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "type": "http",
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

That file is for the current project. To use the server in every project, add the same entry to `~/.omp/agent/mcp.json`. If a session is already open, run `/mcp reload`. omp opens the browser the first time it connects. Confirm with `/mcp list`. To approve a different account, run `/mcp reauth 1news`.

## Claude.ai

1 News is not in the Claude.ai connector directory. Add a remote MCP server yourself and use this address:

`https://mcp.1-news.app/mcp`

When Claude.ai opens the browser, approve access with the account you already use.

## ChatGPT

1 News is not in the ChatGPT connector directory. Add a remote MCP server yourself and use this address:

`https://mcp.1-news.app/mcp`

When ChatGPT opens the browser, approve access with the account you already use.

## Goose

Start a session with the server address:

```bash theme={null}
goose session --with-streamable-http-extension "https://mcp.1-news.app/mcp"
```

Or add this configuration to `~/.config/goose/config.yaml`:

```yaml theme={null}
extensions:
  1news:
    available_tools: []
    bundled: null
    description: "Connect 1 News so an assistant can use the newsroom tools you already have."
    enabled: true
    env_keys: []
    envs: {}
    headers: {}
    name: 1 News
    timeout: 300
    type: streamable_http
    uri: "https://mcp.1-news.app/mcp"
```

Approve access in the browser with the account you already use.

## Cursor

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=1news\&config=eyJ1cmwiOiJodHRwczovL21jcC4xLW5ld3MuYXBwL21jcCJ9)

Or add this configuration to `.cursor/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

To use the server in every project, put the same file at `~/.cursor/mcp.json`.

Cursor and the Cursor CLI use that configuration. After the button or the file is in place, you can manage the server from a terminal:

```bash theme={null}
agent mcp enable 1news
agent mcp login 1news
agent mcp list
```

`agent mcp login 1news` opens the browser. Approve access with the account you already use. In Cursor, open Settings, then Cursor Settings, then Tools and MCP, and confirm the server is connected. You may need to restart Cursor before the tools appear.

## VS Code

[Add to VS Code](vscode:mcp/install?%7B%22name%22%3A%221news%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.1-news.app%2Fmcp%22%7D)

Or add this configuration to `.vscode/mcp.json`:

```json theme={null}
{
  "servers": {
    "1news": {
      "type": "http",
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

Approve access in the browser with the account you already use.

## Antigravity

Add this configuration to `~/.gemini/antigravity/mcp_config.json`:

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "serverUrl": "https://mcp.1-news.app/mcp"
    }
  }
}
```

Restart Antigravity. It asks you to approve access in the browser. You can also open the Agent pane menu, then MCP Servers, then Manage MCP Servers, then View raw config. From Manage MCP Servers you can refresh the config and turn the server on or off.

If approval does not start, open Agent Settings, go to Customizations, and choose Authenticate next to 1 News.

## Kiro

Add this configuration to `~/.kiro/settings/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

Approve access in the browser with the account you already use.

## Devin Desktop

These steps are for the Devin Local agent in Devin Desktop or the Devin CLI. Add the server for your user:

```bash theme={null}
devin mcp add -s user 1news "https://mcp.1-news.app/mcp"
```

Or add this configuration to `~/.config/devin/mcp_config.json`. On Windows, that file is `%APPDATA%\devin\mcp_config.json`.

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

If you still need to approve access, run `devin mcp login 1news` and finish in the browser. Check the server with `devin mcp list`. Start a new Devin Local or Devin CLI session so the tools load.

## Kimi Code

Add this configuration to `.kimi-code/mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "transport": "http",
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

Kimi Code reads that file from the current directory. To use the server in every project, put it under `$KIMI_CODE_HOME`, which defaults to `~/.kimi-code`. Restart Kimi Code or start a new session, then run `/mcp` to check the server. Run `/mcp-config` to finish approval in the browser.

## Warp

Add this configuration to `~/.warp/.mcp.json`:

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "url": "https://mcp.1-news.app/mcp"
    }
  }
}
```

Approve access in the browser with the account you already use.

## Terminal

A terminal, or an editor that only accepts a header, sends the personal token. Create that token in the dashboard under Integrations, then API and MCP. It is shown once, starts with `1n_`, and you can revoke it from the same page. The full rules are in [Authentication](https://docs.1-news.app/authentication.md#mcp).

```json theme={null}
{
  "mcpServers": {
    "1news": {
      "url": "https://mcp.1-news.app/mcp",
      "headers": {
        "Authorization": "Bearer 1n_your_token"
      }
    }
  }
}
```

Replace `1n_your_token` with the token the dashboard showed you. A missing token returns `401` and points at `https://mcp.1-news.app/.well-known/oauth-protected-resource`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.