Skip to content

Reference

Start integrating with g1t using the REST API, OpenAPI specification, scoped access tokens, MCP server or official CLI.

Use g1t from an agent, an application or a terminal. Public repository reads need no credentials. Private reads and writes require authorization.

Resource Start here
REST API g1t API reference and the interactive explorer
OpenAPI specification JSON schema for the REST API, including each operation’s required scope
Authentication g1t authentication and scopes
MCP g1t MCP tools at https://mcp.g1t.sh; authentication stays required
CLI Install the official g1t CLI and read the command reference
Compatibility g1t API versioning and deprecation policy
Agent instructions llms.txt and the full agent guide

For a language client, use the REST API directly or generate a client from OpenAPI. g1t does not currently publish a standalone official language SDK.

curl https://api.g1t.sh/repos -H 'X-G1t-Api-Version: 1'

The free plan includes the forge without a card. Create an account in the browser, then create a scoped token yourself in Settings → Access tokens. There is no sales approval step. Agents can also use the device sign-in flow or MCP OAuth so the person approves access in their browser. Never send a password to an agent.

For an isolated core-forge environment, follow Run g1t yourself. It uses local storage and Mailpit for email, and billing is disabled. Its feature table lists differences from hosted g1t, including unavailable deployments and runner-dependent checks. Keep production credentials out of this environment; external integrations still contact the services you configure.

A disposable repository on g1t.sh is another way to test repository operations, but it is production data with normal permissions and usage costs. g1t does not currently offer a separate hosted API sandbox. Use a dedicated workspace and only the scopes needed for the test.