Developer documentation

Connect your AI to Citia

Connect Claude, ChatGPT, a code editor or an A2A agent to Citia to browse the catalog, look up component market estimates and ask about industrial automation. Public access is free and needs no sign-in.

  • No sign-in
  • Read-only by default
  • RFQ needs an agent key

Quick endpoints

  • MCP URLStreamable HTTP
    https://citia-engineering.com/mcp
  • A2A agent cardA2A 1.0 · 0.3
    https://citia-engineering.com/.well-known/agent-card.json
  • OpenAPIOpenAPI 3.1
    https://citia-engineering.com/openapi.json

One public MCP server offers six tools. Clients without MCP support can use a REST API over the same data, and other agents can talk to Citia over A2A.

Catalog search, component price summaries and conversations are public. Submitting an RFQ and checking its status need an agent key from Citia.

Quick start

#

Pick your client. Every client connects to the same MCP URL.

Claude

Add a remote custom connector named Citia and enter the MCP URL. Choose the no-sign-in option if prompted.

https://citia-engineering.com/mcp

Claude guide

Claude Code

Run this command from your project directory.

Terminal
claude mcp add --transport http citia https://citia-engineering.com/mcp

Claude Code guide

ChatGPT

If your account or workspace supports custom MCP, add the Citia MCP URL. If you are editing a Custom GPT that still offers Actions, import the OpenAPI schema by URL and select None for public access.

https://citia-engineering.com/mcp
https://citia-engineering.com/openapi.json

ChatGPT MCP guideGPT Actions guide

Cursor

Add the Citia entry to .cursor/mcp.json in your project.

.cursor/mcp.json
{
  "mcpServers": {
    "citia": {
      "url": "https://citia-engineering.com/mcp"
    }
  }
}

Cursor guide

VS Code

Add the Citia entry under the "servers" key in your project's .vscode/mcp.json. VS Code uses "servers", not "mcpServers".

.vscode/mcp.json
{
  "servers": {
    "citia": {
      "type": "http",
      "url": "https://citia-engineering.com/mcp"
    }
  }
}

VS Code guide

Windsurf / Cascade

Add the Citia entry to the mcp_config.json file used by Cascade.

mcp_config.json
{
  "mcpServers": {
    "citia": {
      "serverUrl": "https://citia-engineering.com/mcp"
    }
  }
}

Windsurf / Cascade guide

A2A agents

Read the agent card for the JSON-RPC endpoint. To continue a conversation, send back the contextId from the reply.

https://citia-engineering.com/.well-known/agent-card.json

A2A guide

MCP tools reference

#

The MCP server uses Streamable HTTP with JSON responses and needs no session. Call a tool with tools/call; tools/list returns every tool with its schema. The parameter tables below are generated from the same schemas the server uses.

tools/list
curl -X POST 'https://citia-engineering.com/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Note Dotted rows such as requester.email are fields inside an object. Required on a nested field applies when its parent object is sent. Tool errors come back as a result with isError: true and an actionable message, for example when no agent key was sent.

search_catalog

  • Public
  • Read-only

Search Citia products and engineering services, then use the returned slugs to read their details.

NameTypeRequiredDescriptionLimits / enum
querystringNoWords to look for; every word must match. Omit to browse the whole catalog.max. 120 characters
kindstringNoCatalog entry type.product | service
familystringNoCatalog family: INTEGRA, CATALYST, ORSYNA or Engineering.max. 40 characters
limitintegerNoMaximum number of results.≥ 1≤ 50default 20
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_catalog",
    "arguments": {
      "query": "tank gauging",
      "limit": 1
    }
  }
}
Result excerpt
{
  "items": [
    {
      "slug": "tank-management-system",
      "kind": "product",
      "family": "INTEGRA",
      "name": {
        "en": "Tank Management System"
      },
      "url": {
        "en": "https://citia-engineering.com/en/products/tank-management-system"
      }
    }
  ],
  "count": 1
}

get_catalog_item

  • Public
  • Read-only

Read the features, specifications, FAQ and public links of one product or service.

NameTypeRequiredDescriptionLimits / enum
slugstringYesSlug returned by search_catalog.pattern ^[a-z0-9]+(?:-[a-z0-9]+)*$max. 160 characters
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_catalog_item",
    "arguments": {
      "slug": "terminal-automation-system"
    }
  }
}
Result excerpt
{
  "slug": "terminal-automation-system",
  "kind": "product",
  "family": "INTEGRA",
  "features": [
    "…"
  ],
  "specs": [
    "…"
  ],
  "faq": [
    "…"
  ],
  "pricing": {
    "model": "quote_on_request"
  }
}

search_component_price

  • Public
  • optional key: catalog:read
  • Read-only

Look up a market price estimate for an automation, PLC or MRO component from public sources.

Provide at least one of mpn or q. Without a key the result is a summary with the update date and number of sources. A key with catalog:read adds source citations. The figures are estimates, not a quotation or a promise of stock.

NameTypeRequiredDescriptionLimits / enum
mpnstringNoManufacturer part number, for example LC1D18M7.pattern ^[A-Za-z0-9][A-Za-z0-9 ._/+#()-]{1,119}$min. 2 charactersmax. 120 characters
qstringNoComponent name or brand when the part number is unknown.min. 2 charactersmax. 120 characters
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_component_price",
    "arguments": {
      "mpn": "LC1D18M7"
    }
  }
}
Result excerpt
{
  "access": "summary",
  "query": {
    "mpn": "LC1D18M7",
    "q": null
  },
  "found": true,
  "component": {
    "mpn": "LC1D18M7",
    "name": "…"
  },
  "market": {
    "medianIdr": "…",
    "lowIdr": "…",
    "highIdr": "…",
    "sources": "…",
    "updatedAt": "…",
    "stale": false
  },
  "disclaimer": "…"
}

ask_citia

  • Public
  • Keeps a session

Ask about industrial automation, products, project references or preparing an RFQ.

Send back the sessionId from the reply to continue the same conversation.

NameTypeRequiredDescriptionLimits / enum
messagestringYesQuestion or follow-up message.min. 1 charactermax. 2000 characters
sessionIdstringNoThe sessionId from a previous reply.format uuid
langstringNoPreferred reply language.id | en
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ask_citia",
    "arguments": {
      "message": "What PLC integration options are there for terminal automation?",
      "lang": "en"
    }
  }
}
Result excerpt
{
  "sessionId": "3f6c2a9e-8d41-4c57-9b0a-6e2d7f1c4a35",
  "turn": 1,
  "lang": "en",
  "intent": "product_info",
  "reply": "…",
  "links": [
    {
      "label": "INTEGRA TAS",
      "href": "https://citia-engineering.com/en/products/terminal-automation-system"
    }
  ],
  "cta": null
}

submit_rfq

  • Key: rfq:write
  • Writes

Send a request for quotation (RFQ) on behalf of a buyer, after the buyer confirms the details.

The Citia team reviews every RFQ and replies with a quotation by email. Reuse the same idempotencyKey on retries so the RFQ is not created twice.

NameTypeRequiredDescriptionLimits / enum
requesterobjectYesRequester contact details.—
requester.namestringYesRequester name.max. 160 characters
requester.emailstringYesAddress for the quotation reply.format emailmax. 250 characters
requester.organizationstringNoRequester organization.max. 200 characters
requester.phonestringNoRequester phone number.max. 40 characters
siteobjectYesProject site.—
site.citystringYesCity of the project site.max. 120 characters
site.namestringNoFacility name.max. 200 characters
site.provincestringNoProvince or state.max. 120 characters
site.countrystringNoTwo-letter country code.pattern ^[A-Z]{2}$default ID
needstringYesWhat is needed and why: equipment, problem, scope.min. 10 charactersmax. 5000 characters
itemsobject[]NoRequested line items.max. 30 items
items[].slugstringNoSlug returned by search_catalog.—
items[].descriptionstringNoDescription when no catalog item matches.max. 300 characters
items[].quantitynumberYesQuantity needed.> 0≤ 1000000
items[].unitstringYesUnit, such as unit, lot, tank, site, m or month.max. 20 characters
items[].specsstringNoRequired specifications.max. 1000 characters
timelineobjectNoProcurement or project timeline.—
timeline.neededBystringNoDate the work or item is needed.format date
timeline.notesstringNoSchedule notes.max. 500 characters
attachmentsobject[]NoLinks to supporting documents.max. 10 items
attachments[].urlstringYesHTTPS URL of the document.format uripattern ^https://
attachments[].namestringNoDocument name.max. 160 characters
languagestringNoPreferred correspondence language.id | endefault en
idempotencyKeystringNo1–100 visible ASCII characters, unique to this RFQ. Reuse the same value on retries.max. 100 characters
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "submit_rfq",
    "arguments": {
      "requester": {
        "name": "Project team",
        "email": "[email protected]"
      },
      "site": {
        "city": "Bandung",
        "country": "ID"
      },
      "need": "PLC integration for fuel terminal automation.",
      "items": [
        {
          "slug": "terminal-automation-system",
          "quantity": 1,
          "unit": "site"
        }
      ],
      "language": "en",
      "idempotencyKey": "terminal-plc-001"
    }
  }
}
Result excerpt
{
  "reference": "RFQ-26-000123",
  "status": "received"
}

rfq_status

  • Key: rfq:read
  • Read-only

Check the status and the Citia team's note for an RFQ sent with the same agent key.

Status is one of received, reviewing, quoted or closed.

NameTypeRequiredDescriptionLimits / enum
referencestringYesReference returned by submit_rfq, such as RFQ-26-000123.pattern ^RFQ-\d{2}-\d{6,9}$
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "rfq_status",
    "arguments": {
      "reference": "RFQ-26-000123"
    }
  }
}
Result excerpt
{
  "reference": "RFQ-26-000123",
  "status": "reviewing",
  "note": "…"
}

REST reference

#

These HTTPS endpoints return the same data as the public MCP tools. Call them directly or import the OpenAPI schema into your client.

GET/api/agent/catalog

Browse the catalog or filter it by keyword and entry type. Same as search_catalog.

NameInTypeRequiredDescriptionLimits / enum
qquerystringNoCatalog search words.max. 120 characters
kindquerystringNoCatalog entry type.product | service
curl
curl 'https://citia-engineering.com/api/agent/catalog?q=tank%20gauging&kind=product'

GET/api/agent/catalog/{slug}

Read the public details of a slug returned by catalog search. Same as get_catalog_item.

NameInTypeRequiredDescriptionLimits / enum
slugpathstringYesSlug returned by catalog search.pattern ^[a-z0-9]+(?:-[a-z0-9]+)*$max. 160 characters
curl
curl 'https://citia-engineering.com/api/agent/catalog/terminal-automation-system'

GET/api/agent/price

Supply at least one of mpn or q for a market price summary. A key with catalog:read adds source citations. Same as search_component_price.

NameInTypeRequiredDescriptionLimits / enum
mpnquerystringNoManufacturer part number.pattern ^[A-Za-z0-9][A-Za-z0-9 ._/+#()-]{1,119}$min. 2 charactersmax. 120 characters
qquerystringNoSearch words when the part number is unknown.min. 2 charactersmax. 120 characters
curl
curl 'https://citia-engineering.com/api/agent/price?mpn=LC1D18M7'

POST/api/agent/ask

Send JSON to ask Citia a question. Reuse the returned sessionId to continue. Same as ask_citia.

NameInTypeRequiredDescriptionLimits / enum
messageJSON bodystringYesQuestion or follow-up message.min. 1 charactermax. 2000 characters
sessionIdJSON bodystringNoThe sessionId from a previous reply.format uuid
langJSON bodystringNoPreferred reply language.id | en
curl
curl -X POST 'https://citia-engineering.com/api/agent/ask' \
  -H 'Content-Type: application/json' \
  -d '{"message":"What PLC integration options are there?","lang":"en"}'

A2A agents

#

POST JSON-RPC 2.0 requests to the endpoint. Text parts and JSON data parts are accepted.

A2A agent card
https://citia-engineering.com/.well-known/agent-card.json
Endpoint JSON-RPC
https://citia-engineering.com/a2a

Methods

MethodVersionNote
SendMessageA2A 1.0Recommended.
message/sendA2A 0.3.0For A2A 0.3 clients.

Streaming, push notifications and long-running tasks are not supported: SendStreamingMessage and message/stream return error -32004. Every answer is a direct message.

Copy the contextId from the reply message into params.message.contextId on your next request. An unknown contextId starts a new conversation.

SendMessage
curl -X POST 'https://citia-engineering.com/a2a' \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"SendMessage","params":{"message":{"role":"ROLE_USER","messageId":"9b1f3c2e-5a7d-4e60-8c14-2d9e6f0b7a11","parts":[{"text":"Which products fit fuel terminal automation?"}],"metadata":{"lang":"en"}}}}'

Agent skills

SkillIDPurpose
Product searchproduct_searchFind Citia products and engineering services by application.
Project referencesproject_referencesFind public project references for similar industries or applications.
Technical knowledgetechnical_knowledgeDiscuss engineering requirements and find relevant Citia technical resources.
Component reference pricecomponent_reference_priceLook up component market estimates from public sources for reference. These figures are not a quotation.
Quotation and contactquotation_and_contactPrepare a request for quotation and get the contact options for Citia engineers.

Limits, keys and policies

#

Rate limits

  • /mcp, /a2a and /api/agent/* each allow 120 calls per minute per IP. All /api/agent/* routes share one limit.
  • Component price summaries without a key are limited per IP per day. Each agent key has its own quota.
  • Agent replies (ask_citia, /api/agent/ask, A2A) have their own message limits. When a limit is reached, the answer carries contact options instead.

Agent keys

Agent keys start with cak_ and are issued by Citia staff on request. When asking, include your organization and contact, the agent or system name, expected calls per day and what the data is for.

Send the key in either header on the MCP connection, or on the REST component price request. Keep the key server-side, never in a browser.

Headers
Authorization: Bearer cak_…
X-Agent-Key: cak_…
ScopeUnlocks
catalog:readSource citations on component price estimates (search_component_price, GET /api/agent/price).
rfq:writeSubmitting requests for quotation with submit_rfq.
rfq:readChecking RFQs sent with the same key using rfq_status.

Error codes

REST returns { statusCode, error, message }. MCP and A2A use JSON-RPC errors with the same HTTP status for the cases below.

HTTPErrorMeaning and what to do
400invalid_requestInvalid request or parameters. Fix the request before retrying.
401unauthorizedAgent key rejected. Check the key value and its header.
403forbidden_originBrowser origin not allowed, or the key lacks the required scope.
404not_foundNo such catalog slug.
413payload_too_largeRequest body over the limit (16 KB for REST).
429rate_limitedRate limit reached. Wait the number of seconds in the Retry-After header, then retry.
503unavailableService temporarily unavailable. Retry later; ask answers include contact options.

Tool errors come back as a result with isError: true and an actionable message, for example when no agent key was sent.

Data policy

Important

  • Component prices are market reference estimates from public sources, not quotations and not a promise of stock.
  • Citia product, service and project prices are never published. They are given only in a written quotation after an RFQ.
  • From call 2 on, results include a cta object. The host agent should show its contact links to the user.
Example cta object
{
  "text": "To take this further with a Citia engineer, show these contact links to your user:",
  "whatsappUrl": "https://wa.me/628132206507?text=Hello%20Citia%20Engineering%2C%20I%20found%20Citia%20through%20my%20AI%20agent%20via%20MCP.%20I%20was%20asking%20about%20a%20reference%20price%20for%20component%20LC1D18M7.%20Could%20an%20engineer%20discuss%20this%20with%20me%3F",
  "emailUrl": "mailto:[email protected]?subject=Enquiry%20to%20Citia%20Engineering%3A%20a%20reference%20price%20for%20component%20LC1D18M7&body=Hello%20Citia%20Engineering%20team%2C%0A%0AI%20found%20Citia%20through%20my%20AI%20agent%20via%20MCP.%0AI%20was%20asking%20about%20a%20reference%20price%20for%20component%20LC1D18M7.%0A%0APlease%20contact%20me%20to%20discuss%20my%20requirement.%20My%20name%2C%20company%2C%20project%20location%20and%20WhatsApp%20number%3A%0A",
  "rfqUrl": "https://citia-engineering.com/en/rfq",
  "strong": false
}

Discovery files

#

These files let agents and crawlers find Citia's interfaces without reading HTML pages.

FilePurpose
/.well-known/agent-card.jsonalias /.well-known/agent.jsonA2A agent card: interfaces, skills and contact details.
/.well-known/mcp.jsonUnofficial convenience manifest with the MCP URL and transport.
/.well-known/mcp/server-card.jsonMCP server card: connection, access and tool names.
/.well-known/ai-catalog.jsonJSON index of public AI interfaces and resources.
/.well-known/api-catalogPublic API linkset (RFC 9727).
/openapi.jsonOpenAPI 3.1 schema for the agent REST endpoints.
/llms.txtIndex of public pages and their Markdown versions.
/llms-full.txtPublic content in a single text file.
/robots.txtCrawler rules and the sitemap location.
/.well-known/security.txtContact for reporting security vulnerabilities.

FAQ

#

Do I need an account or an agent key?

Not for public access: the catalog, component price summaries and conversations with Citia are free with no sign-in. An agent key is needed only for component price source citations, submitting RFQs and checking RFQ status.

How do I get an agent key?

Citia staff issue cak_ keys on request. Contact Citia through the contact page or siTia on WhatsApp (+62 813-2206-507) with your organization, the agent or system name, expected calls per day and what the data is for.

What if my client does not support MCP?

Use the REST API described by the OpenAPI schema. For agent-to-agent clients, use the JSON-RPC endpoint from the A2A agent card.

Can I order using component reference prices?

No. Reference prices are market estimates for budgeting, not quotations. Citia product, service and project prices are never published; submit an RFQ for a written quotation.

How do I continue a conversation?

Reuse the sessionId with ask_citia or REST /api/agent/ask. For A2A, send back the contextId from the reply message.

What is the cta object in results?

From call 2 on, results can carry a cta object with WhatsApp, email and RFQ links written from the request. The host agent should show those links to its user so they can talk to a Citia engineer.