Allows AI agents to read from and write to an Obsidian vault, enabling capabilities such as listing files, reading document content, and creating or updating notes with real-time synchronization via the Team Relay API.
EVC Team Relay — MCP Server
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 API.
Works with Claude Code, Codex CLI, OpenCode, and any MCP-compatible client.
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:
2. Configure your AI tool
Add the MCP server to your tool's config with your Relay credentials.
Add to .mcp.json in your project root or ~/.claude/.mcp.json:
Add to your codex.json:
Add to opencode.json:
If you installed from source instead of PyPI, replace "command": "uvx" / "args": ["evc-team-relay-mcp"] with:
Ready-to-copy config templates are also in config/.
3. Use it
Your AI agent now has these tools:
Tool | Description |
| Authenticate with credentials (auto-managed) |
| List accessible shares (filter by kind, ownership) |
| List files in a folder share |
| Read a file by path from a folder share |
| Read document by doc_id (low-level) |
| Create or update a file by path |
| Write to a document by doc_id |
| Delete a file from a folder share |
Typical workflow: list_shares -> list_files -> read_file / upsert_file
Authentication is automatic — the server logs in and refreshes tokens internally.
Remote Deployment (HTTP Transport)
For shared or server-side deployments, run as an HTTP server:
Then configure your MCP client to connect via HTTP:
How It Works
The MCP server wraps Team Relay's REST API into standard MCP tools. Team Relay stores documents as Yjs CRDTs and syncs them to Obsidian clients in real-time. Changes made by the agent appear in Obsidian instantly — and vice versa.
Prerequisites
Python 3.10+ with uv (recommended) or pip
A running EVC Team Relay instance (self-hosted or hosted)
A user account on the Relay control plane
Part of the Entire VC Toolbox
Product | What it does | Link |
Team Relay | Self-hosted collaboration server | |
Team Relay Plugin | Obsidian plugin for Team Relay | |
Relay MCP | MCP server for AI agents | this repo |
OpenClaw Skill | OpenClaw agent skill (bash) | |
Local Sync | Vault <-> AI dev tools sync | |
Spark MCP | MCP server for AI workflow catalog |
Community
License
MIT