Connect Your Agent
Configure MCP stdio so your agent can use Seashail tools.
Seashail exposes an MCP server over stdio. Any MCP-capable agent can connect and trade.
seashail mcpSeashail is stdio-only (self-hosted). If your agent UI asks for a “server URL” (SSE/HTTP), configure a local command instead. See: Any MCP Client (Stdio).
Override network mode for a session:
seashail mcp --network testnetOne-Click Templates
Seashail ships config templates for common clients. List supported targets:
seashail agent listInstall a template (workspace-local or global, depending on the agent):
seashail agent install cursor
seashail agent install vscode
seashail agent install windsurf
seashail agent install claude-desktopSome clients (for example Continue and JetBrains) require manual configuration; see their pages for copy-paste templates.
Testnet templates:
seashail agent install cursor --network testnetChoose Your Agent
OpenClaw
Claude Code
Claude Desktop
Codex
Cursor
VS Code / GitHub Copilot
Windsurf
Cline
Continue
JetBrains
Any MCP Client (Stdio)
Multi-Client Behavior
MCP is stdio-based, so each agent launches its own seashail mcp process.
Seashail avoids split-brain keys and state by using a singleton local daemon:
seashail mcpruns as a thin stdio proxy- It forwards all requests to
seashail daemon, which owns the keystore and passphrase session - If no daemon is running,
seashail mcpautostarts it
Multiple agents can safely share:
- The same wallets and keystore
- The same in-memory passphrase session
- The same policy counters (daily caps, etc.)
Local transport is IPC-only:
- macOS/Linux: Unix socket at
data_dir/seashail-mcp.sock - Windows: named pipe (no TCP listener)
Debug mode:
seashail mcp --standaloneruns a direct stdio server without the daemon, useful for debugging but does not share state across clients.
Other Agents (Generic MCP Stdio)
If your agent isn’t listed above, you can still connect as long as it supports MCP over stdio (launching a local command).
- Install Seashail (recommended): follow Install Seashail so
seashailis on yourPATH. - Configure your agent to run: Command:
seashailand Args:mcp.
Testnet (optional):
- Args:
mcp --network testnet
If your agent uses a JSON config file (often named .mcp.json), these are the two common shapes:
{
"mcpServers": {
"seashail": { "command": "seashail", "args": ["mcp"] }
}
}{
"servers": {
"seashail": { "type": "stdio", "command": "seashail", "args": ["mcp"] }
}
}“No install” option (still stdio):
- Command:
npx - Args:
-y @seashail/mcp --
Verify by asking your agent:
What's my SOL balance?