Agents
Operate PetroBench with MCP and the REST API
Build agents and automations against PetroBench using a hosted MCP server and the REST API.
Connect Claude, ChatGPT, Gemini or any MCP-compatible tool to your wells and simulations. Token scopes control what it can do.
Call REST endpoints from scripts, pipelines and internal systems with scoped tokens.
Quelle voie choisir ?
| Path | Best For | Auth |
|---|---|---|
| MCP | Interactive agents in Claude, ChatGPT, Gemini | Bearer token or OAuth |
| API | Custom agents, integrations, playground exploration | PAT / service token / OAuth |
Most teams start with MCP in an AI client, then drop to REST when they need fine-grained HTTP control.
Prérequis
MCP and API access require an Enterprise license, or a Professional plan with the API access add-on. Your organization Admin must enable the API feature flag.
Enable API Access
Confirm the API feature is on for your organization (Admin → Billing / feature flags).
Mint a Token
Create a personal or service token with the least privileges your agent needs (wells:read, simulations:read, …).
Références complètes
- MCP tool catalog - generated tool reference by category
- API reference - OpenAPI endpoints and playground