Skip to main content
ClaudeWave
entire-vc avatar
entire-vc

evc-team-relay-mcp

View on GitHub

MCP server for reading and writing Obsidian vault documents via EVC Team Relay

MCP ServersOfficial Registry3 stars1 forksPythonMITUpdated today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 9/24/2026
Install in Claude Code / Claude Desktop
Method: pip / Python · .
Claude Code CLI
claude mcp add evc-team-relay-mcp -- python -m .
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "evc-team-relay-mcp": {
      "command": "python",
      "args": ["-m", "."],
      "env": {
        "RELAY_CP_URL": "<relay_cp_url>",
        "RELAY_PASSWORD": "<relay_password>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install .
Detected environment variables
RELAY_CP_URLRELAY_PASSWORD
Use cases

MCP Servers overview

# EVC Team Relay - MCP Server

[![PyPI](https://img.shields.io/pypi/v/evc-team-relay-mcp)](https://pypi.org/project/evc-team-relay-mcp/)
[![Docker Hub](https://img.shields.io/docker/v/deadalusevc/evc-team-relay-mcp?label=docker)](https://hub.docker.com/r/deadalusevc/evc-team-relay-mcp)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![MCP](https://img.shields.io/badge/MCP-server-4A90D9)](https://modelcontextprotocol.io)
[![Smithery](https://img.shields.io/badge/Smithery-listed-6f42c1)](https://smithery.ai/servers/entirevc/evc-team-relay-mcp)
[![Install via Spark](https://spark.entire.vc/badges/evc-team-relay-mcp/install.svg)](https://spark.entire.vc/assets/evc-team-relay-mcp?utm_source=github&utm_medium=readme)

**Give your AI agent read/write access to your Obsidian vault.**

> Your agent reads your notes, creates new ones, and stays in sync — all through the [Team Relay](https://github.com/entire-vc/evc-team-relay) API.

Works with **Claude Code**, **Codex CLI**, **OpenCode**, and any [MCP](https://modelcontextprotocol.io)-compatible client.

<a href="https://glama.ai/mcp/servers/@entire-vc/evc-team-relay-mcp">
  <img width="380" height="200" src="https://glama.ai/mcp/servers/@entire-vc/evc-team-relay-mcp/badge" alt="evc-team-relay-mcp MCP server" />
</a>

---

## Quick Start

### 1. Install

**Option A — from PyPI (recommended):**

No installation needed — `uvx` downloads and runs automatically. Skip to step 2.

**Option B — from source:**

```bash
git clone https://github.com/entire-vc/evc-team-relay-mcp.git
cd evc-team-relay-mcp
uv sync   # or: pip install .
```

### 2. Configure your AI tool

Add the MCP server to your tool's config. Choose one authentication method:

**Agent key** (recommended) — create a key in the Obsidian plugin → Team Relay settings → **Agent Keys**. Supports read and write: `list_files`, `read_file`, `tr_search`, and `upsert_file` all work with a single key. [Quickstart →](https://github.com/entire-vc/evc-team-relay/blob/main/docs/agent-keys.md)

**Email + password** — use a dedicated agent account on your Relay instance.

<details>
<summary><b>Claude Code — agent key</b></summary>

Add to `.mcp.json` in your project root or `~/.claude/.mcp.json`:

```json
{
  "mcpServers": {
    "evc-relay": {
      "command": "uvx",
      "args": ["evc-team-relay-mcp"],
      "env": {
        "RELAY_CP_URL": "https://cp.yourdomain.com",
        "RELAY_AGENT_KEY": "tr_agent_your_key_here"
      }
    }
  }
}
```

</details>

<details>
<summary><b>Claude Code — email/password</b></summary>

```json
{
  "mcpServers": {
    "evc-relay": {
      "command": "uvx",
      "args": ["evc-team-relay-mcp"],
      "env": {
        "RELAY_CP_URL": "https://cp.yourdomain.com",
        "RELAY_EMAIL": "agent@yourdomain.com",
        "RELAY_PASSWORD": "your-password"
      }
    }
  }
}
```

</details>

<details>
<summary><b>Codex CLI</b></summary>

Add to your `codex.json`:

```json
{
  "mcp_servers": {
    "evc-relay": {
      "type": "stdio",
      "command": "uvx",
      "args": ["evc-team-relay-mcp"],
      "env": {
        "RELAY_CP_URL": "https://cp.yourdomain.com",
        "RELAY_AGENT_KEY": "tr_agent_your_key_here"
      }
    }
  }
}
```

</details>

<details>
<summary><b>OpenCode</b></summary>

Add to `opencode.json`:

```json
{
  "mcpServers": {
    "evc-relay": {
      "command": "uvx",
      "args": ["evc-team-relay-mcp"],
      "env": {
        "RELAY_CP_URL": "https://cp.yourdomain.com",
        "RELAY_AGENT_KEY": "tr_agent_your_key_here"
      }
    }
  }
}
```

</details>

<details>
<summary><b>From source (all tools)</b></summary>

If you installed from source instead of PyPI, replace `"command": "uvx"` / `"args": ["evc-team-relay-mcp"]` with:

```json
"command": "uv",
"args": ["run", "--directory", "/path/to/evc-team-relay-mcp", "relay_mcp.py"]
```

</details>

**Environment variables:**

| Variable | Required | Description |
|----------|----------|-------------|
| `RELAY_CP_URL` | Yes | Control plane base URL |
| `RELAY_AGENT_KEY` | One of | Agent key from plugin settings — read + write (recommended) |
| `RELAY_EMAIL` | One of | Account email (email/password mode) |
| `RELAY_PASSWORD` | One of | Account password (email/password mode) |

Ready-to-copy config templates are also in `config/`.

### 3. Use it

Your AI agent now has these tools:

| Tool | Description |
|------|-------------|
| `authenticate` | Authenticate with credentials (auto-managed) |
| `list_shares` | List accessible shares (filter by kind, ownership) |
| `list_files` | List files in a folder share |
| **`read_file`** | Read a file by path from a folder share |
| `read_document` | Not implemented — no backend route in any auth mode, always raises |
| **`upsert_file`** | Create or update a file by path — **agent-key mode only**; raises in email/password (JWT) mode |
| `write_document` | Not implemented — no backend route in any auth mode, always raises |
| `delete_file` | Not implemented — no backend route in any auth mode, always raises |

**Typical workflow:** `list_shares` -> `list_files` -> `read_file` / `upsert_file`

Authentication is automatic — the server logs in and refreshes tokens internally.

### Tool availability matrix

Not every tool works in every auth mode, and one group doesn't work in
*either* mode — these are two unrelated facts, so don't conflate them:

| Group | Tools | Status |
|-------|-------|--------|
| **Agent key**, folder shares | `list_files`, `read_file`, `upsert_file` | Working — **the only write path** in this MCP server |
| **JWT** (email/password) | `list_files`, `tr_search`, `read_file` | Working, **read-only** by design |
| **No backend route in either mode** | `read_document`, `write_document`, `delete_file` | Always raise `ValueError` — not an auth restriction |

- **Write access is agent-key-only, by sanctioned policy** (see
  [TR-05 (#0cdd5328)](https://mesh.entire.host/t/0cdd5328-e65c-4670-81ca-3da203979eaa)):
  `upsert_file` is the only write tool with a working backend route, and it
  only writes when an agent key (`RELAY_AGENT_KEY` / `RELAY_AGENT_KEYS`) is
  configured. JWT mode calling `upsert_file` raises a clear `ValueError`
  naming agent-key mode as the fix, instead of a confusing 404.
- **`read_document`, `write_document`, and `delete_file` are a separate,
  independent gap** — the control plane has no backend route for them at
  all, in agent-key mode either. Switching to an agent key will **not**
  make them work: doc-share live content is CRDT/WebSocket-only (no REST
  bridge), and per-file delete has no `DELETE` route server-side yet. If
  routes for these are ever added, they'd still follow the agent-key-only
  write policy above — JWT would stay read-only.

---

## Remote Deployment (HTTP Transport)

For shared or server-side deployments, run as an HTTP server:

```bash
# Direct
uv run relay_mcp.py --transport http --port 8888

# Docker (pulls from Docker Hub automatically)
RELAY_CP_URL=https://cp.yourdomain.com \
RELAY_EMAIL=agent@yourdomain.com \
RELAY_PASSWORD=your-password \
docker compose up -d

# Or pull explicitly
docker pull deadalusevc/evc-team-relay-mcp:latest
```

**By default the server binds to `127.0.0.1` (localhost-only)** — the endpoint is not
reachable over the network even if the host has a public IP. This matches the common
case of a single MCP client on the same machine as the server.

Then configure your MCP client to connect via HTTP:

```json
{
  "mcpServers": {
    "evc-relay": {
      "type": "streamable-http",
      "url": "http://127.0.0.1:8888/mcp"
    }
  }
}
```

### Remote access via SSH tunnel (recommended)

If your MCP client runs on a different machine than the server, tunnel to the
localhost-bound port instead of exposing it publicly:

```bash
# From the client machine, forward local 8888 to the server's localhost:8888
ssh -N -L 8888:127.0.0.1:8888 user@your-server
```

Then point the client config at `http://127.0.0.1:8888/mcp` as above — traffic
goes through the SSH tunnel, and the server's bind address never needs to change.

### Public / reverse-proxy binding (opt-in)

If you genuinely need the server to accept connections from other hosts directly
(e.g. it sits behind a reverse proxy that terminates TLS and handles auth), pass
`--host` explicitly:

```bash
uv run relay_mcp.py --transport http --port 8888 --host 0.0.0.0
```

Only do this behind a reverse proxy or firewall — the MCP HTTP endpoint itself
has no built-in authentication, so binding it to `0.0.0.0` on an open network
exposes every relay tool call to anyone who can reach the port.

---

## Security

The MCP server provides significant security advantages over shell-based integrations:

- **No shell execution** — all operations are Python function calls via JSON-RPC, eliminating command injection risks
- **No CLI arguments** — credentials and tokens are never passed as process arguments (invisible in `ps` output)
- **Automatic token management** — the server handles login, JWT refresh, and token lifecycle internally; the agent never touches raw tokens
- **Typed inputs** — all parameters are validated against JSON Schema before execution
- **Single persistent process** — no per-call shell spawning, no environment leakage between invocations

> **Note:** If you're using the [OpenClaw skill](https://github.com/entire-vc/evc-team-relay-openclaw-skill) (bash scripts), consider migrating to this MCP server for a more secure and maintainable integration.

---

## How It Works

```
┌─────────────┐      MCP        ┌──────────────┐     REST API     ┌──────────────┐     Yjs CRDT      ┌──────────────┐
│  AI Agent   │ ◄────────────► │  MCP Server  │ ◄─────────────► │  Team Relay  │ ◄──────────────► │   Obsidian   │
│ (any tool)  │  stdio / HTTP  │ (this repo)  │    read/write   │   Server     │    real-time     │    Client    │
└─────────────┘                └──────────────┘                 └──────────────┘      sync         └─
mcpmcp-servermodel-context-protocolobsidianobsidian-plugin

What people ask about evc-team-relay-mcp

What is entire-vc/evc-team-relay-mcp?

+

entire-vc/evc-team-relay-mcp is mcp servers for the Claude AI ecosystem. MCP server for reading and writing Obsidian vault documents via EVC Team Relay It has 3 GitHub stars and its last recorded update is dated 2026-09-23.

How do I install evc-team-relay-mcp?

+

You can install evc-team-relay-mcp by cloning the repository (https://github.com/entire-vc/evc-team-relay-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is entire-vc/evc-team-relay-mcp safe to use?

+

Our security agent has analyzed entire-vc/evc-team-relay-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains entire-vc/evc-team-relay-mcp?

+

entire-vc/evc-team-relay-mcp is maintained by entire-vc. The last recorded GitHub activity is dated 2026-09-23, with 0 open issues.

Are there alternatives to evc-team-relay-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy evc-team-relay-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: entire-vc/evc-team-relay-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/entire-vc-evc-team-relay-mcp)](https://claudewave.com/repo/entire-vc-evc-team-relay-mcp)
<a href="https://claudewave.com/repo/entire-vc-evc-team-relay-mcp"><img src="https://claudewave.com/api/badge/entire-vc-evc-team-relay-mcp" alt="Featured on ClaudeWave: entire-vc/evc-team-relay-mcp" width="320" height="64" /></a>

More MCP Servers

evc-team-relay-mcp alternatives