一键导入
setup
Configure Synapse MCP access for Claude Code with project-level .mcp.json and verify the connection.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure Synapse MCP access for Claude Code with project-level .mcp.json and verify the connection.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Work on Synapse pre-experiment research: project context, research questions, literature search, related works, and deep research reports.
Write and update Synapse documents, reports, synthesis, and Markdown figures. Use when embedding charts, plots, images, or report visuals in Synapse documents.
Plan, revise, execute, and report Synapse experiments, including compute access and result submission.
Understand the Synapse Claude Code plugin hooks, session lifecycle, and multi-agent parallel execution. Covers what each hook does, where plugin state lives, and how to run multiple experiments in parallel via Task sub-agents.
Synapse platform overview and router skill. Use it to orient on projects and then hand off to the stage-specific Synapse skills.
Drive the Claude Code-client autonomous research loop — analyze project state, propose the next experiment, dispatch sub-agents to execute it, and iterate.
| name | setup |
| description | Configure Synapse MCP access for Claude Code with project-level .mcp.json and verify the connection. |
| license | AGPL-3.0 |
| metadata | {"author":"Vincentwei1021","version":"0.6.1","category":"research","mcp_server":"synapse"} |
Use this skill when the task is about getting Synapse connected inside Claude Code: API keys, MCP configuration, project-level .mcp.json, or connection debugging.
This skill covers:
SYNAPSE_URL and SYNAPSE_API_KEY.mcp.json so sub-agents inherit accesssynapse_checkin()This skill does not cover day-to-day research or experiment execution. Hand off to:
SYNAPSE_URL and SYNAPSE_API_KEY in one place (see "Where the credentials live" below).synapse_checkin() and confirm expected roles/tools are visible.The plugin already ships its own .mcp.json (at public/synapse-plugin/.mcp.json inside the plugin bundle), so you do not need to copy a .mcp.json into your project. Installing the plugin makes the MCP server available; the only thing you supply is the env values.
The plugin's bundled .mcp.json carries ${SYNAPSE_URL} and ${SYNAPSE_API_KEY} placeholders. Claude Code substitutes them at MCP-server-startup time from your env. You only put the real values in one location:
~/.claude/settings.json's env block. Best for personal use across projects.
{
"env": {
"SYNAPSE_URL": "http://localhost:3000",
"SYNAPSE_API_KEY": "syn_..."
}
}
<project>/.claude/settings.json's env block. Best when several teammates share a project but each needs their own key (use .claude/settings.local.json for personal values; never commit the key).export SYNAPSE_URL=...; export SYNAPSE_API_KEY=... in your shell rc, before launching Claude Code. Ad-hoc only.The plugin's bash hooks (SessionStart, PostToolUse, etc.) also read the same two env variables, so a single env source covers both the MCP server and the hook scripts.
.mcp.json (For Reference)You don't need to edit or copy this file — the plugin ships and loads it automatically:
{
"mcpServers": {
"synapse": {
"type": "http",
"url": "${SYNAPSE_URL}/api/mcp",
"headers": {
"Authorization": "Bearer ${SYNAPSE_API_KEY}"
}
}
}
}
If you have a strong reason to override (e.g. add X-Synapse-Project filter headers for one project), you can add a .mcp.json at your project root that defines a different synapse server entry — Claude Code project-level config takes precedence.
Set the agent's roles on the Agents page based on what you expect Claude Code to do:
pre_research — paper search, literature reading.research — research-question CRUD.experiment — create/start/report/submit experiments, compute tools.report — document and synthesis tools.admin / pi_agent — needed if Claude Code should call synapse_review_experiment to carry the user's verbal approve / reject from the terminal into Synapse. Without one of these, /api/experiments/<uuid>/review returns 403.If the same Claude Code agent should both execute experiments and verbally-approve them, give it both experiment and admin (or pi_agent).
Use:
synapse_checkin()
If the connection is wrong, check:
syn_SYNAPSE_URL is reachableecho $SYNAPSE_URL from the same shell that launches Claude Code)