GoodAPI: Plant Trees for AI agents

GoodAPI: Plant Trees lets businesses plant real trees programmatically and track the resulting impact, often as a sustainability add-on to checkout or loyalty flows. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

E-commerceAPI keyMCP + RESTgoodapi.co
AUDIT LOG · GOODAPI: PLANT TREESPOLICY: acme-support
09:41:07 · claude · u_8f2read
goodapi_plant_trees.list_tree_plantings
List Tree Plantings✓ allowed · 212ms
09:41:08 · claude · u_8f2read
goodapi_plant_trees.get_impact_dashboard_url
Get Impact Dashboard URL✓ allowed · 164ms
09:41:09 · claude · u_8f2write
goodapi_plant_trees.create_tree_planting
Create Tree Planting✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
goodapi_plant_trees.refund_tree_planting
Refund Tree Planting✕ blocked · policy: deny
EVERY GOODAPI: PLANT TREES CALL, ON THE RECORD
01 · USE CASES

What agents do in GoodAPI: Plant Trees.

01

Plant a tree for an order

Trigger a tree planting tied to a completed customer order as part of a sustainability perk.

02

Check planting evidence

Look up the planting evidence for a past order to include proof in a customer email.

03

Refund a tree planting

Refund a tree planting only after confirming the triggering order itself was refunded.

02 · ACTIONS

6 GoodAPI: Plant Trees actions, graded by risk.

Every GoodAPI: Plant Trees action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

4

Look things up. Allowed by default.

  • goodapi_plant_trees.list_tree_plantings
    List Tree Plantings
  • goodapi_plant_trees.get_impact_dashboard_url
    Get Impact Dashboard URL
  • goodapi_plant_trees.get_tree_planting_evidence
    Get Tree Planting Evidence
  • goodapi_plant_trees.get_aggregate_planting_evidence
    Get Aggregate Planting Evidence

write

1

Create and change things. Allow, or ask the user first.

  • goodapi_plant_trees.create_tree_planting
    Create Tree Planting

destructive

1

Delete, cancel or archive. Ask first, or deny outright.

  • goodapi_plant_trees.refund_tree_planting
    Refund Tree Planting
03 · HOW IT WORKS

GoodAPI: Plant Trees in three steps.

  1. 01Your users connect GoodAPI: Plant TreesThey add their GoodAPI: Plant Trees api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “create Tree Planting” can wait for the user, and “refund Tree Planting” can be denied outright.
  3. 03Any agent can actYour agent calls GoodAPI: Plant Trees through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('goodapi_plant_trees', {
  read: 'allow',
  write: 'ask',        // create_tree_planting
  destructive: 'deny',  // refund_tree_planting
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How GoodAPI: Plant Trees connects.

Users add their GoodAPI: Plant Trees api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

The same GoodAPI: Plant Trees connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use GoodAPI: Plant Trees from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

GoodAPI: Plant Trees and Arc0, answered.

Q01

Can I use GoodAPI: Plant Trees with Claude, ChatGPT or Cursor?

Yes. Connect GoodAPI: Plant Trees to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the GoodAPI: Plant Trees actions you allow.

Q02

How do users connect GoodAPI: Plant Trees?

Users add their GoodAPI: Plant Trees api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.

Q03

Which GoodAPI: Plant Trees actions can my agent take?

6 in total: 4 read, 1 write and 1 destructive, such as “create Tree Planting”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in GoodAPI: Plant Trees?

Yes. Actions like “refund Tree Planting” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call GoodAPI: Plant Trees too?

Yes. The same GoodAPI: Plant Trees connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug GoodAPI: Plant Trees into your agent.

Your users connect GoodAPI: Plant Trees once, under your brand. Your agent gets 6 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan