Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-junemind-june-mcp": {
"command": "uvx",
"args": [
"june-mcp"
],
"env": {
"JUNE_BASE_URL": "<VALUE>",
"JUNE_CANVAS": "<VALUE>",
"JUNE_API_KEY": "<YOUR_VALUE>",
"JUNE_LLM_KEY": "<YOUR_VALUE>",
"JUNE_CANVAS_CREATE": "<VALUE>",
"JUNE_READONLY": "<VALUE>",
"JUNE_FILES_ROOT": "<VALUE>",
"JUNE_DOCS_CANVAS": "<VALUE>",
"JUNE_DOCS_REFRESH": "<VALUE>",
"JUNE_REFRESH_CALLS": "<VALUE>",
"JUNE_REFRESH_MINUTES": "<VALUE>",
"JUNE_DIGEST_CHARS": "<VALUE>",
"JUNE_EXPORT_ROOT": "<VALUE>",
"JUNE_LOG_LEVEL": "<VALUE>",
"JUNE_TIMEOUT_READ": "<VALUE>",
"JUNE_TIMEOUT_ANSWER": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-junemind-june-mcp": {
"command": "uvx",
"args": [
"june-mcp"
],
"env": {
"JUNE_BASE_URL": "<VALUE>",
"JUNE_CANVAS": "<VALUE>",
"JUNE_API_KEY": "<YOUR_VALUE>",
"JUNE_LLM_KEY": "<YOUR_VALUE>",
"JUNE_CANVAS_CREATE": "<VALUE>",
"JUNE_READONLY": "<VALUE>",
"JUNE_FILES_ROOT": "<VALUE>",
"JUNE_DOCS_CANVAS": "<VALUE>",
"JUNE_DOCS_REFRESH": "<VALUE>",
"JUNE_REFRESH_CALLS": "<VALUE>",
"JUNE_REFRESH_MINUTES": "<VALUE>",
"JUNE_DIGEST_CHARS": "<VALUE>",
"JUNE_EXPORT_ROOT": "<VALUE>",
"JUNE_LOG_LEVEL": "<VALUE>",
"JUNE_TIMEOUT_READ": "<VALUE>",
"JUNE_TIMEOUT_ANSWER": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-junemind-june-mcp": {
"command": "uvx",
"args": [
"june-mcp"
],
"env": {
"JUNE_BASE_URL": "<VALUE>",
"JUNE_CANVAS": "<VALUE>",
"JUNE_API_KEY": "<YOUR_VALUE>",
"JUNE_LLM_KEY": "<YOUR_VALUE>",
"JUNE_CANVAS_CREATE": "<VALUE>",
"JUNE_READONLY": "<VALUE>",
"JUNE_FILES_ROOT": "<VALUE>",
"JUNE_DOCS_CANVAS": "<VALUE>",
"JUNE_DOCS_REFRESH": "<VALUE>",
"JUNE_REFRESH_CALLS": "<VALUE>",
"JUNE_REFRESH_MINUTES": "<VALUE>",
"JUNE_DIGEST_CHARS": "<VALUE>",
"JUNE_EXPORT_ROOT": "<VALUE>",
"JUNE_LOG_LEVEL": "<VALUE>",
"JUNE_TIMEOUT_READ": "<VALUE>",
"JUNE_TIMEOUT_ANSWER": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-junemind-june-mcp": {
"command": "uvx",
"args": [
"june-mcp"
],
"env": {
"JUNE_BASE_URL": "<VALUE>",
"JUNE_CANVAS": "<VALUE>",
"JUNE_API_KEY": "<YOUR_VALUE>",
"JUNE_LLM_KEY": "<YOUR_VALUE>",
"JUNE_CANVAS_CREATE": "<VALUE>",
"JUNE_READONLY": "<VALUE>",
"JUNE_FILES_ROOT": "<VALUE>",
"JUNE_DOCS_CANVAS": "<VALUE>",
"JUNE_DOCS_REFRESH": "<VALUE>",
"JUNE_REFRESH_CALLS": "<VALUE>",
"JUNE_REFRESH_MINUTES": "<VALUE>",
"JUNE_DIGEST_CHARS": "<VALUE>",
"JUNE_EXPORT_ROOT": "<VALUE>",
"JUNE_LOG_LEVEL": "<VALUE>",
"JUNE_TIMEOUT_READ": "<VALUE>",
"JUNE_TIMEOUT_ANSWER": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-junemind-june-mcp": {
"command": "uvx",
"args": [
"june-mcp"
],
"env": {
"JUNE_BASE_URL": "<VALUE>",
"JUNE_CANVAS": "<VALUE>",
"JUNE_API_KEY": "<YOUR_VALUE>",
"JUNE_LLM_KEY": "<YOUR_VALUE>",
"JUNE_CANVAS_CREATE": "<VALUE>",
"JUNE_READONLY": "<VALUE>",
"JUNE_FILES_ROOT": "<VALUE>",
"JUNE_DOCS_CANVAS": "<VALUE>",
"JUNE_DOCS_REFRESH": "<VALUE>",
"JUNE_REFRESH_CALLS": "<VALUE>",
"JUNE_REFRESH_MINUTES": "<VALUE>",
"JUNE_DIGEST_CHARS": "<VALUE>",
"JUNE_EXPORT_ROOT": "<VALUE>",
"JUNE_LOG_LEVEL": "<VALUE>",
"JUNE_TIMEOUT_READ": "<VALUE>",
"JUNE_TIMEOUT_ANSWER": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-junemind-june-mcp": {
"command": "uvx",
"args": [
"june-mcp"
],
"env": {
"JUNE_BASE_URL": "<VALUE>",
"JUNE_CANVAS": "<VALUE>",
"JUNE_API_KEY": "<YOUR_VALUE>",
"JUNE_LLM_KEY": "<YOUR_VALUE>",
"JUNE_CANVAS_CREATE": "<VALUE>",
"JUNE_READONLY": "<VALUE>",
"JUNE_FILES_ROOT": "<VALUE>",
"JUNE_DOCS_CANVAS": "<VALUE>",
"JUNE_DOCS_REFRESH": "<VALUE>",
"JUNE_REFRESH_CALLS": "<VALUE>",
"JUNE_REFRESH_MINUTES": "<VALUE>",
"JUNE_DIGEST_CHARS": "<VALUE>",
"JUNE_EXPORT_ROOT": "<VALUE>",
"JUNE_LOG_LEVEL": "<VALUE>",
"JUNE_TIMEOUT_READ": "<VALUE>",
"JUNE_TIMEOUT_ANSWER": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| JUNE_BASE_URL | Yes | Your June endpoint, e.g. http://localhost:8000 |
| JUNE_CANVAS | Yes | The canvas (workspace) UUID to bind this connection to — must already exist |
| JUNE_API_KEY secret | Yes | Your June API key (JUNE_ALLOW_ANON=1 explicitly opts out for keyless local setups) |
| JUNE_LLM_KEY secret | No | Bring-your-own LLM key for cited answers — forwarded per-request as a header, never logged, never stored on the service |
| JUNE_CANVAS_CREATE | No | Set to 1 to create the named canvas on first run if it doesn't exist yet (refused in read-only mode) |
| JUNE_READONLY | No | 1 hides + refuses all write tools (memory becomes read-only) |
| JUNE_FILES_ROOT | No | Opt-in directory agents may upload files from via june_ingest_file — unset ⇒ that tool doesn't exist |
| JUNE_DOCS_CANVAS | No | Canvas holding the agent's standing docs/skills/learnings (default 'agent_docs') |
| JUNE_DOCS_REFRESH | No | Set to 0 to disable the periodic standing-docs digest re-injected on tool results (default on) |
| JUNE_REFRESH_CALLS | No | Tool calls between digest injections (default 12) — lower it for small-context agents |
| JUNE_REFRESH_MINUTES | No | Wall-clock fallback between digest injections (default 10) |
| JUNE_DIGEST_CHARS | No | Standing-docs digest size cap in characters (default 2000) |
| JUNE_EXPORT_ROOT | No | Opt-in directory for repo sync — enables june_docs_export / june_page_export / june_page_import (fenced writes, commit-only git); unset means those tools don't exist |
| JUNE_LOG_LEVEL | No | Logging is stderr-only by design — stdout is the MCP wire |
| JUNE_TIMEOUT_READ | No | Per-verb timeout for reads (default 15 s) |
| JUNE_TIMEOUT_ANSWER | No | Per-verb timeout for answers (default 120 s) |