Which coding agents can connect to Grain?
Claude Code, Codex and Cursor have built-in config paths. Any other CLI agent can connect if it can launch an MCP stdio server.
Grain / Works with / Grain for any CLI coding agent
Works with
Any CLI coding agent that can launch an MCP server over standard input and output can work with Grain. Download the Mac app, sign in, initialize the project, configure the client to start grain mcp, then push, checkpoint and share the agent's files.
# Download the Mac app from rungrain.com, then:
grain login
cd path/to/project
grain init --no-agent-config
# Configure your agent's MCP client to start:
grain mcp
# After the agent writes the artifact:
grain push
grain checkpoint -m "first agent artifact"
grain share --public
# https://<slug>.share.rungrain.com| Concern | Your CLI agent | Grain |
|---|---|---|
| Protocol | Acts as an MCP client and launches a stdio server | Starts that server when you run grain mcp |
| Creation | Reads the folder, writes files and runs its own development loop | Does not generate or edit code for you |
| Workspace actions | Calls the tools it understands and is allowed to use | Offers new, open, push, pull, checkpoint, share, release, checkout, list, exec and upgrade tools |
| Artifact | Produces the page, report, app or job | Publishes the result as a static artifact or full app |
| State | Writes code that uses the chosen storage | Can provide Postgres, login and scheduled jobs |
| Audience | Works in your terminal session | Provides public, password-protected or invite-only sharing |
| Exit | Keeps working against ordinary project files | Lets you fetch artifact files with grain pull |
grain login in the shell before connecting a folder.grain init --no-agent-config when the client is not Claude Code, Codex or Cursor and you want to avoid writing their known config files.grain mcp. The file name and schema belong to the agent, so use that agent's documented configuration format rather than copying one of the three built-in paths.Create a weekly operations report from the supplied CSV files. Build a page with a summary, exception table, definitions and a dated source note. Do not add login, a database or a schedule. Prepare it for a manager who did not see this terminal session.grain push, then grain checkpoint -m "first agent artifact".grain share --public, grain share --password <pw> or invited-person sharing. The public command returns an address shaped like https://<slug>.share.rungrain.com.The agent, model subscription or API key remains yours. Grain does not sell or mark up tokens. Its free tier requires no card and includes the Mac app, CLI, unlimited published artifacts, ten sleeping sandboxes, one always-on workspace and a self-hostable core. Pro is $65 per user per month and adds more always-on workspaces, team seats, shared spaces and CNAME custom domains. Enterprise is available by contact for customer-cloud deployment, SSO, audit and policy controls and direct support. A client working over MCP does not receive a different Grain price.
Claude Code, Codex and Cursor have built-in config paths. Any other CLI agent can connect if it can launch an MCP stdio server.
Configure the client to start grain mcp. The process speaks over standard input and output.
No. Use each client's own MCP configuration format. The built-in setup writes only the Claude Code, Codex and Cursor paths.
Yes. Let the agent write files, then run push, checkpoint and share yourself from the terminal.
Yes. Artifacts remain files, and grain pull fetches them from the workspace.
Download the free Mac app, start the MCP server from your client and publish one bounded artifact.
Free forever. No card. Bring your own agent.