Akal MCP

Let AI agents manage your Akal organization — services, price schemes, benefits, promos, transactions and reviews — through the Model Context Protocol.

Overview

Akal MCP is a remote MCP server built on the External API. Each tool calls one API endpoint, with the same validation, the same responses and the same rate limit. If an API request works, the same tool call works.

Server URL

https://goakal.com/service/mcp
  • Transport: Streamable HTTP. Send JSON-RPC 2.0 with POST. The server keeps no session.
  • Protocol versions: 2025-06-18, 2025-03-26 and 2024-11-05.
  • One API key connects one organization.

Connect in Binder

Akal uses your Binder account, so a Binder AI agent does not need an API key from you.

  1. In Binder, open your AI agent and go to its connections.
  2. Select Akal. It is the first option.
  3. Select one or more organizations, then select Connect.

Each organization becomes its own connection, with its own API key. Give some organizations to one agent and others to a different agent: each agent can use only the organizations you give it.

The list shows the organizations you are a member of. You can connect only an organization where you are an Owner or an Admin. A Staff member cannot connect, because the connection can read transactions and buyer contact data, which Staff cannot see in Akal.

Binder makes an API key for each connection. You see it in Akal under Developer → Service API with the name Binder AI agent (Akal MCP). When you remove the connection in Binder, Binder cancels its key. The key belongs to the organization, so it keeps working if the member who connected it changes role; delete it there to stop it.

Authentication

Other MCP clients use a Service API key. Make one in your dashboard under Developer → Service API. Send it in one of these headers:

X-Api-Key: ak_your_api_key_here

# or, for clients that send only bearer tokens:
Authorization: Bearer ak_your_api_key_here

A missing, inactive or expired key gets HTTP 401 with a WWW-Authenticate header.

Other MCP clients

Claude Code

claude mcp add --transport http akal https://goakal.com/service/mcp \
  --header "X-Api-Key: ak_your_api_key_here"

Clients with a JSON configuration (for example Cursor)

{
  "mcpServers": {
    "akal": {
      "type": "http",
      "url": "https://goakal.com/service/mcp",
      "headers": { "X-Api-Key": "ak_your_api_key_here" }
    }
  }
}

Raw request

curl -X POST https://goakal.com/service/mcp \
  -H "X-Api-Key: ak_your_api_key_here" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_services","arguments":{"page":1}}}'

Tools

list_services

List the services (events and digital products) of your Akal organization, newest first. Each has a visibility: draft, public, unlisted or archived. Send visibility to list only those.

get_service

Get one service, including its visibility and its public page link (url_link).

Required: service_cuid

create_service

Create a service. It is published right away, as unlisted unless you send visibility. Next steps: create_price_scheme, then update_landing_data.

Required: title, url_id, type

update_service

Change some fields of a service. Only the fields you send change. Send visibility to publish it on your organization page, unlist it or archive it; a draft service cannot change visibility here.

Required: service_cuid

get_landing_data

Read the landing page blocks of a service: instructors (daftarPengajar) and description or testimonial blocks (daftarDeskripsi). Call this before update_landing_data.

Required: service_cuid

update_landing_data

Set the instructors (daftarPengajar) and/or the description or testimonial blocks (daftarDeskripsi) of a service landing page. Each field you send REPLACES that whole list; a field you do not send is kept. To add or change one block, call get_landing_data first and send the full list back.

Required: service_cuid

list_price_schemes

List the price schemes of a service, with their registration links (url_link).

Required: service_cuid

create_price_scheme

Create a price scheme for an event or digital product. At least one MESSAGE benefit is required.

Required: service_cuid, title, mainAmount, type, benefits

update_price_scheme

Change a price scheme. Send isShow: false to hide it from buyers.

Required: service_cuid, price_scheme_id

list_benefits

List the benefits of your organization. Send serviceCuid to see only the benefits of that service.

create_benefit

Create a MESSAGE or WA_INVITATION benefit that price schemes can reference.

Required: type, details

update_benefit

Replace the type and details of a benefit.

Required: benefit_id, type, details

list_transactions

List the transactions of a service, with buyer name, email and phone. Filter by status or price scheme title.

Required: service_cuid

list_promos

List the promo codes of a service.

Required: service_cuid

get_promo

Get one promo code of a service.

Required: service_cuid, promo_id

create_promo

Create a promo code for a service.

Required: service_cuid, title, promo_code

update_promo

Change a promo code. Only the fields you send change.

Required: service_cuid, promo_id

upload_service_image

Upload an image for a service from a public https URL (for example a file the user attached in chat). Returns imageId and imageUrl. Then call update_service with media_gallery including { "type": "image", "mediaId": imageId, "mediaUrl": imageUrl } — media_gallery replaces the whole gallery, so send the existing items too (from get_service).

Required: service_cuid, image_url

list_reviews

List the published testimonials of a service.

Required: service_cuid

The fields of each tool are the fields of its API endpoint. See the API reference for each field. upload_service_image takes a public https image URL (JPEG, PNG, GIF or WebP, at most 10MB; not SVG) instead of a file, and Akal downloads it.

Workflow

Akal MCP manages one Akal organization: its services (events and digital products), price schemes, benefits, promo codes, transactions and reviews. To publish a service people can buy: 1) create_service, 2) create_benefit if needed (or reuse ids from list_benefits), optionally upload_service_image then update_service with media_gallery, 3) create_price_scheme with at least one MESSAGE benefit, 4) get_landing_data then update_landing_data with the full lists (each list you send replaces the old one); write block text as Markdown or HTML with each list item on its own line, and keep the service description plain text. A new service is unlisted: when it is ready, update_service with visibility "public" shows it on the organization page, and "archived" closes it. Share the url_link of a price scheme as the registration link. There is no tool to create a transaction: buyers register on that link.

The server sends this text as its instructions when a client connects.

Limits & security

  • Each tool call is one API request. The rate limit is the API limit: 100 requests per 60 seconds for each organization, for all its keys together.
  • Each tool call is recorded in the API log of the key. The user agent starts with akal-mcp.
  • list_transactions returns buyer names, emails and phone numbers. Give the key only to agents you trust with that data.
  • A tool error (for example a validation error) comes back as tool content, so the agent can read it and try again.