> **Machine-Readable Markdown Mirror** · Canonical HTML: https://senrelay.com/mcp-json-vs-toml-config-guide.html
> **Product**: Senrelay (续境 · `qingsongcui/ContextCore`) · **Version**: `v1.0.0-beta.4` · **Updated**: `2026-11-20`
> **Pricing & License**: **$0 (100% Free & Open Source under the MIT License, no signup)** · [Pricing & Limits](https://senrelay.com/pricing.md) · [Extended Spec](https://senrelay.com/llms-full.txt)

# Senrelay — MCP Config Guide for Claude, Cursor & Codex

Compare Claude Code and Cursor MCP JSON with Codex config.toml examples, then verify configuration paths and the local service connection.

Updated November 17, 2026 · Senrelay maintainers

## Claude Code MCP configuration example

`~/.claude.json`

```bash
{
  "mcpServers": {
    "contextcore": {
      "type": "http",
      "url": "http://127.0.0.1:8420/mcp/"
    }
  }
}
```

## Cursor MCP configuration example

`~/.cursor/mcp.json`

```bash
{
  "mcpServers": {
    "contextcore": {
      "url": "http://127.0.0.1:8420/mcp/"
    }
  }
}
```

## Codex MCP configuration example

`~/.codex/config.toml`

```bash
[mcp_servers.contextcore]
url = "http://127.0.0.1:8420/mcp/"
```

## Load and troubleshoot the connection

Start Senrelay before saving the host configuration. Merge the service block with existing settings, then reload MCP in the host. Check whether contextcore connects and lists tools. The desktop app targets macOS 14.0+ Apple Silicon and the service uses http://127.0.0.1:8420/mcp/. If connection fails, check the process, port, and configuration path loaded by the host.

## Related guides

[MCP configuration paths](https://senrelay.com/hosts.html) · [Installation and use](https://senrelay.com/guide.html) · [Claude Code to Codex](https://senrelay.com/relay-workflow.html)

## Official configuration documentation

[Claude Code MCP](https://code.claude.com/docs/en/mcp) · [Codex MCP](https://developers.openai.com/codex/mcp/) · [Cursor MCP](https://cursor.com/docs/context/mcp)
