# Starton — how to use (mcp.ai)

Connect your Starton account and use 6 tools for developer tools straight from your AI agent. Connect with your own API key. Starton is an all-in-one Web3 API platform that enables developers to deploy and interact with smart contracts, store files on IPFS, and monitor blockchain events through a unified API and frontend interface.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_starton?ms=1787293380000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `starton_delete_smart_contract_event`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/starton`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/starton/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/starton/delete/smart/contract/event` — Tool to delete a specific smart contract event watcher by its ID. Use after confirming the watcher ID you want to remove.
  - body: { id: string }
- `POST https://api.mcp.ai/api/starton/get/smart/contracts` — Tool to retrieve a list of all smart contracts associated with your project. Use after authenticating and optionally filtering by project ID.
  - body: { projectId?: string }
- `POST https://api.mcp.ai/api/starton/get/templates` — Tool to retrieve a list of all smart contract templates. Use when browsing the Starton template library to select a template before deployment.
  - body: { page?: integer, limit?: integer }
- `POST https://api.mcp.ai/api/starton/get/watcher` — Tool to retrieve details of a specific watcher by its ID. Use when you need to confirm its configuration before updating or deleting.
  - body: { id: string }
- `POST https://api.mcp.ai/api/starton/get/webhooks` — Tool to retrieve a list of all webhook watchers. Use after creating watchers to review existing watchers.
  - body: { page?: integer, limit?: integer }
- `POST https://api.mcp.ai/api/starton/upload/file` — Tool to upload a file to your project's IPFS storage. Use after preparing the file you want to host on IPFS.
  - body: { file: object }

## Example prompts
- "What can I do in Starton?"
- "Show me a summary of my Starton account"

## More
- Page: https://mcp.ai/starton
- Agent spec (llms.txt): https://mcp.ai/starton/llms.txt
- Postman collection: https://mcp.ai/starton/postman.json
