Internal preview. Elefork is not publicly available yet; APIs and hostnames may change.
elefork-mcp serves these tools over stdio (see Agents via MCP for setup). Every tool returns JSON.
| Tool | Arguments | Notes |
|---|---|---|
list_templates |
— | read-only |
list_branches |
project? |
read-only; default project from ELEFORK_PROJECT |
get_branch |
branch |
read-only |
create_branch |
template or checkpoint, name?, count?, ttl_seconds?, project? |
|
fork_branch |
parent, checkpoint?, name?, count?, ttl_seconds? |
|
checkpoint_branch |
branch, name? |
|
list_checkpoints |
branch |
read-only |
reset_branch |
branch, checkpoint, confirm |
destructive; refuses unless confirm=true |
delete_branch |
branch, confirm |
destructive; refuses unless confirm=true |
get_connection |
branch |
wakes the branch |
run_sql |
branch, sql, max_rows? (200), database? |
destructive (arbitrary SQL); runs through the control plane’s SQL API as one transaction. On success returns the last statement’s rows and statements; if a statement fails, the whole script is rolled back and the result has error and rolled_back (no rows). Against a control plane without the SQL API it connects through the gateway with a 10-minute token |
describe_schema |
branch, schema? (public), database? |
read-only |
list_tasks |
project? |
read-only |
start_episode |
task |
a fresh branch of the task’s start state |
seal_episode |
episode, confirm |
destructive: ends the episode; returns state, integrity, score, rule results and findings |
get_episode |
episode |
read-only |