IndiaPlatformMCP

MCP · the ADEV loop as agent tools

Streamable HTTP

Model Context Protocol is the standard that lets an AI assistant call external tools over a typed wire, the USB port between a model and a service. autodockOS exposes the ADEV loop as 8tools, so an EV’s agent can find a bay, estimate the charge, and book it with no app and no account. The tools call the same service layer as REST, so an agent’s booking is indistinguishable from a dashboard booking.

Connect an agent

8 tools

Point Claude, or any MCP client, at the endpoint and ask it to find, estimate, and book. The three connect paths below all reach the same server.

Endpoint

https://os.autodockai.com/api/mcp

Claude Code (CLI)

claude mcp add --transport http autodockos https://os.autodockai.com/api/mcp

.mcp.json or claude_desktop_config.json

{
  "mcpServers": {
    "autodockos": {
      "type": "http",
      "url": "https://os.autodockai.com/api/mcp"
    }
  }
}

On claude.ai, add it under Settings, Connectors, Add custom connector. A hosted connector needs a public URL, so use https://os.autodockai.com/api/mcp rather than localhost.

Verify the server is live

Runs a real MCP handshake against the endpoint, the initialize then tools/list exchange every client does on connect, and lists exactly what the server advertises.

Discover

Read the live network: bays, towers, pricing, KPIs.

find_available_bays

Free bays near a point, by connector and minimum kW.

get_tower_status

One tower: bay states, active kW, queue depth.

get_pricing

Tariff with TOU bands and the effective ₹/kWh now.

get_network_stats

Network KPIs: utilization, uptime, kWh, revenue.

Decide

Reason before committing: charge time and wait time.

estimate_charge_time

Taper-aware minutes, kWh and cost to a target SoC.

estimate_wait_time

Queue-based ETA until a bay frees on a full tower.

Dock

Act on the network: reserve a bay, release it.

book_charging_slot

Reserve a bay: returns booking id and 20-min hold.

cancel_booking

Release a reservation.

Try it: the demo prompt

live

With Claude connected, ask one question and watch it run the loop across three tools:

Find me a 350 kW bay near HSR Layout, book it, and tell me how long to 80% on a 77 kWh battery currently at 22%.

Claude runs Discover find_available_bays, Decide estimate_charge_time, then Dock book_charging_slot, and the reservation appears on the dashboard in real time. To make the agent pay for each of those calls over x402, see the x402 console.