# GearTrain for AI Agents

GearTrain runs a remote MCP server, so a coding agent can create jobs, run them, read the console, and fix what failed, within the permissions you approve.

- MCP endpoint: https://app.geartrain.dev/mcp
- Transport: remote HTTP (Streamable HTTP)
- Sign-in: OAuth in the browser; no API key
- Works with: Claude Code, Cursor, and any MCP client
- Setup guide: https://docs.geartrain.dev/guide/mcp
- Agent skill: https://docs.geartrain.dev/skills/geartrain/SKILL.md

## What the agent can do

- Create and update jobs and schedules.
- Run jobs and read the console.
- Browse and edit files.
- Rename, enable, and disable existing webhook endpoints.

## What stays in your control

- You approve scopes at sign-in.
- Secret values never reach the agent. It sees names, not values.
- Creating secrets and webhook endpoints stays in the web app.
- Password, one-time passcode, and plan changes stay in the web app.
- You can revoke access in Settings > Authorized Apps.
- Agent requests share the account's API rate limit.

## Connect in three steps


1. **Add the MCP server** Add GearTrain as a remote MCP server. `https://app.geartrain.dev/mcp`

2. **Sign in through the browser** Start the connection and sign in to the account the agent should use.

3. **Approve the scopes** Review the permissions and approve only what the agent needs.


Full setup guide: https://docs.geartrain.dev/guide/mcp#connect-your-agent

## Install the GearTrain skill

The optional Agent Skill teaches your agent the job model, script rules, and safety boundaries.

Install the skill: https://docs.geartrain.dev/guide/mcp#install-the-geartrain-skill

## What to ask it


- Create a job that checks these three pages every weekday at 8 and posts price changes to Slack.

- Run the job and explain what failed.

- Show me the files under /data before you change anything.


More prompt patterns: https://docs.geartrain.dev/guide/mcp#prompt-patterns

## Agent questions


**Can an agent read my secret values?** No. It can see that a secret exists and when it changed. Scripts read the value by name with env.get.


**Can an agent create webhook endpoints?** No. Endpoint creation stays in the web app. The agent can rename, enable, and disable existing endpoints if its scopes allow it.


**Does the agent need an API key?** No. It signs in through the browser with OAuth and renews its own token.


**Can I limit what the agent can do?** Yes. You choose scopes at sign-in, can start with read-only access, and can revoke the agent under Settings > Authorized Apps.


**Does the agent run all the time?** No. It acts when you ask it to. Scheduled jobs run without the agent once they are created.




### Related links

- [MCP guide](https://docs.geartrain.dev/guide/mcp)
- [Secrets and environment variables](https://docs.geartrain.dev/guide/secrets-and-env)
- [Writing jobs](https://docs.geartrain.dev/guide/writing-jobs)




## Start

- Start free: https://app.geartrain.dev/signup
- MCP guide: https://docs.geartrain.dev/guide/mcp
