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/mcpClaude Code
Run this command from your project directory.
claude mcp add --transport http citia https://citia-engineering.com/mcpChatGPT
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/mcphttps://citia-engineering.com/openapi.jsonCursor
Add the Citia entry to .cursor/mcp.json in your project.
{
"mcpServers": {
"citia": {
"url": "https://citia-engineering.com/mcp"
}
}
}VS Code
Add the Citia entry under the "servers" key in your project's .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
{
"servers": {
"citia": {
"type": "http",
"url": "https://citia-engineering.com/mcp"
}
}
}Windsurf / Cascade
Add the Citia entry to the mcp_config.json file used by Cascade.
{
"mcpServers": {
"citia": {
"serverUrl": "https://citia-engineering.com/mcp"
}
}
}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.jsonMCP 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.
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
Search Citia products and engineering services, then use the returned slugs to read their details.
| Name | Type | Required | Description | Limits / enum |
|---|---|---|---|---|
query | string | No | Words to look for; every word must match. Omit to browse the whole catalog. | max. 120 characters |
kind | string | No | Catalog entry type. | product | service |
family | string | No | Catalog family: INTEGRA, CATALYST, ORSYNA or Engineering. | max. 40 characters |
limit | integer | No | Maximum number of results. | ≥ 1≤ 50default 20 |
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_catalog",
"arguments": {
"query": "tank gauging",
"limit": 1
}
}
}{
"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
Read the features, specifications, FAQ and public links of one product or service.
| Name | Type | Required | Description | Limits / enum |
|---|---|---|---|---|
slug | string | Yes | Slug returned by search_catalog. | pattern ^[a-z0-9]+(?:-[a-z0-9]+)*$max. 160 characters |
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_catalog_item",
"arguments": {
"slug": "terminal-automation-system"
}
}
}{
"slug": "terminal-automation-system",
"kind": "product",
"family": "INTEGRA",
"features": [
"…"
],
"specs": [
"…"
],
"faq": [
"…"
],
"pricing": {
"model": "quote_on_request"
}
}search_component_price
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.
| Name | Type | Required | Description | Limits / enum |
|---|---|---|---|---|
mpn | string | No | Manufacturer part number, for example LC1D18M7. | pattern ^[A-Za-z0-9][A-Za-z0-9 ._/+#()-]{1,119}$min. 2 charactersmax. 120 characters |
q | string | No | Component name or brand when the part number is unknown. | min. 2 charactersmax. 120 characters |
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_component_price",
"arguments": {
"mpn": "LC1D18M7"
}
}
}{
"access": "summary",
"query": {
"mpn": "LC1D18M7",
"q": null
},
"found": true,
"component": {
"mpn": "LC1D18M7",
"name": "…"
},
"market": {
"medianIdr": "…",
"lowIdr": "…",
"highIdr": "…",
"sources": "…",
"updatedAt": "…",
"stale": false
},
"disclaimer": "…"
}ask_citia
Ask about industrial automation, products, project references or preparing an RFQ.
Send back the sessionId from the reply to continue the same conversation.
| Name | Type | Required | Description | Limits / enum |
|---|---|---|---|---|
message | string | Yes | Question or follow-up message. | min. 1 charactermax. 2000 characters |
sessionId | string | No | The sessionId from a previous reply. | format uuid |
lang | string | No | Preferred reply language. | id | en |
{
"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"
}
}
}{
"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
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.
| Name | Type | Required | Description | Limits / enum |
|---|---|---|---|---|
requester | object | Yes | Requester contact details. | — |
requester.name | string | Yes | Requester name. | max. 160 characters |
requester.email | string | Yes | Address for the quotation reply. | format emailmax. 250 characters |
requester.organization | string | No | Requester organization. | max. 200 characters |
requester.phone | string | No | Requester phone number. | max. 40 characters |
site | object | Yes | Project site. | — |
site.city | string | Yes | City of the project site. | max. 120 characters |
site.name | string | No | Facility name. | max. 200 characters |
site.province | string | No | Province or state. | max. 120 characters |
site.country | string | No | Two-letter country code. | pattern ^[A-Z]{2}$default ID |
need | string | Yes | What is needed and why: equipment, problem, scope. | min. 10 charactersmax. 5000 characters |
items | object[] | No | Requested line items. | max. 30 items |
items[].slug | string | No | Slug returned by search_catalog. | — |
items[].description | string | No | Description when no catalog item matches. | max. 300 characters |
items[].quantity | number | Yes | Quantity needed. | > 0≤ 1000000 |
items[].unit | string | Yes | Unit, such as unit, lot, tank, site, m or month. | max. 20 characters |
items[].specs | string | No | Required specifications. | max. 1000 characters |
timeline | object | No | Procurement or project timeline. | — |
timeline.neededBy | string | No | Date the work or item is needed. | format date |
timeline.notes | string | No | Schedule notes. | max. 500 characters |
attachments | object[] | No | Links to supporting documents. | max. 10 items |
attachments[].url | string | Yes | HTTPS URL of the document. | format uripattern ^https:// |
attachments[].name | string | No | Document name. | max. 160 characters |
language | string | No | Preferred correspondence language. | id | endefault en |
idempotencyKey | string | No | 1–100 visible ASCII characters, unique to this RFQ. Reuse the same value on retries. | max. 100 characters |
{
"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"
}
}
}{
"reference": "RFQ-26-000123",
"status": "received"
}rfq_status
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.
| Name | Type | Required | Description | Limits / enum |
|---|---|---|---|---|
reference | string | Yes | Reference returned by submit_rfq, such as RFQ-26-000123. | pattern ^RFQ-\d{2}-\d{6,9}$ |
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "rfq_status",
"arguments": {
"reference": "RFQ-26-000123"
}
}
}{
"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.
| Name | In | Type | Required | Description | Limits / enum |
|---|---|---|---|---|---|
q | query | string | No | Catalog search words. | max. 120 characters |
kind | query | string | No | Catalog entry type. | product | service |
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.
| Name | In | Type | Required | Description | Limits / enum |
|---|---|---|---|---|---|
slug | path | string | Yes | Slug returned by catalog search. | pattern ^[a-z0-9]+(?:-[a-z0-9]+)*$max. 160 characters |
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.
| Name | In | Type | Required | Description | Limits / enum |
|---|---|---|---|---|---|
mpn | query | string | No | Manufacturer part number. | pattern ^[A-Za-z0-9][A-Za-z0-9 ._/+#()-]{1,119}$min. 2 charactersmax. 120 characters |
q | query | string | No | Search words when the part number is unknown. | min. 2 charactersmax. 120 characters |
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.
| Name | In | Type | Required | Description | Limits / enum |
|---|---|---|---|---|---|
message | JSON body | string | Yes | Question or follow-up message. | min. 1 charactermax. 2000 characters |
sessionId | JSON body | string | No | The sessionId from a previous reply. | format uuid |
lang | JSON body | string | No | Preferred reply language. | id | en |
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
| Method | Version | Note |
|---|---|---|
SendMessage | A2A 1.0 | Recommended. |
message/send | A2A 0.3.0 | For 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.
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
| Skill | ID | Purpose |
|---|---|---|
| Product search | product_search | Find Citia products and engineering services by application. |
| Project references | project_references | Find public project references for similar industries or applications. |
| Technical knowledge | technical_knowledge | Discuss engineering requirements and find relevant Citia technical resources. |
| Component reference price | component_reference_price | Look up component market estimates from public sources for reference. These figures are not a quotation. |
| Quotation and contact | quotation_and_contact | Prepare 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.
Authorization: Bearer cak_…
X-Agent-Key: cak_…| Scope | Unlocks |
|---|---|
catalog:read | Source citations on component price estimates (search_component_price, GET /api/agent/price). |
rfq:write | Submitting requests for quotation with submit_rfq. |
rfq:read | Checking 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.
| HTTP | Error | Meaning and what to do |
|---|---|---|
400 | invalid_request | Invalid request or parameters. Fix the request before retrying. |
401 | unauthorized | Agent key rejected. Check the key value and its header. |
403 | forbidden_origin | Browser origin not allowed, or the key lacks the required scope. |
404 | not_found | No such catalog slug. |
413 | payload_too_large | Request body over the limit (16 KB for REST). |
429 | rate_limited | Rate limit reached. Wait the number of seconds in the Retry-After header, then retry. |
503 | unavailable | Service 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.
{
"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.
| File | Purpose |
|---|---|
/.well-known/agent-card.jsonalias /.well-known/agent.json | A2A agent card: interfaces, skills and contact details. |
/.well-known/mcp.json | Unofficial convenience manifest with the MCP URL and transport. |
/.well-known/mcp/server-card.json | MCP server card: connection, access and tool names. |
/.well-known/ai-catalog.json | JSON index of public AI interfaces and resources. |
/.well-known/api-catalog | Public API linkset (RFC 9727). |
/openapi.json | OpenAPI 3.1 schema for the agent REST endpoints. |
/llms.txt | Index of public pages and their Markdown versions. |
/llms-full.txt | Public content in a single text file. |
/robots.txt | Crawler rules and the sitemap location. |
/.well-known/security.txt | Contact 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.