indicus-ai-mcp-tools
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
indicus-ai-mcp-tools
Demo services for the IndicusAI platform, served two ways at once:
REST, at
/soc,/utility,/payer,/iam— registered as built-in custom HTTP tools, one tool per endpointMCP, at
/mcp— one connector carrying every tool on the server
Both surfaces call the same functions over the same fixtures. That is the point: a demo comparing built-in tools against MCP proves nothing if the two run on different data, because any difference could be blamed on the data.
Run it
python3 -m venv .venv && .venv/bin/pip install -e .
.venv/bin/uvicorn mcp_server:app --port 8304
curl -s localhost:8304/health | python3 -m json.toolOr docker compose up -d, which joins the platform's network so the platform
reaches it as http://mcp-tools:8304.
Related MCP server: API to MCP
Adding a tool
One edit:
@app.get("/widgets/{widget_id}", operation_id="getWidget",
summary="Fetch one widget")
def get_widget(widget_id: str) -> dict:
"""What the model reads to decide whether to call this."""
...It is now a REST endpoint and an MCP tool called soc_getWidget. Nothing
else to register — mcp_server walks the routes and every one carrying an
operation_id becomes a tool. A route without one is skipped, which is how the
audio download stays out of the tool list.
Three things the wrapper handles, each learned by hitting it:
Names are
{service}_{operationId}. MCP names are flat across a server while operation_ids are unique only per service. SOC and IAM both definegetIdentity; unprefixed, the second silently replaced the first and an agent asking for a SOC identity got IAM's answer.HTTPExceptionbecomes a value, not a protocol error. Over REST a 404 is the response; over MCP there are no status codes, so an uncaught one reads as a broken server.{"error": "No alert ALT-9999.", "status": 404}is a fact the model can act on.Annotations are resolved eagerly.
from __future__ import annotationsmakes them strings, which pydantic resolves through the handler's own module globals — not something a wrapper can inherit.
A new service
Write the FastAPI app in services/, then add it to SERVICES in
mcp_server.py. That is the whole procedure.
Onboarding these tools into IndicusAI
What a tool is on that platform, the three ways one gets there, and how to build both demos' agents and pipelines in the UI: demo-data-setup.md, in the platform repository — that side of it is all IndicusAI, and this repository only supplies the endpoints.
Testing the DISCOM agents
discom-agent-tests.md, in the platform repository — the walkthrough is done in that UI, and sits with the other platform documents. It takes all ten through the browser one input at a time, with what a correct answer contains and the wrong answer each case is designed to catch.
The expected figures in it come from services/discom_data.py here, so a
change to a fixture means a change to that document.
Seeding a demo
seeds/ builds the workspace, skills, agents and pipeline in the platform.
They log in as demo@example.com, so scripts/seed.py in the platform repo
runs first.
On a deployment, run them inside the container — it already has the code and its dependencies, and the compose file sets both hostnames:
docker compose exec mcp-tools python seeds/soc.py
docker compose exec mcp-tools python seeds/utility.pyOn a laptop, where the platform and these services are both on localhost:
.venv/bin/python seeds/soc.py
.venv/bin/python seeds/utility.pyTwo hostnames decide where a seed points, and both default to 127.0.0.1,
which is correct only on a laptop — inside a container it is the container:
PLATFORM_API_URL— the platform being seeded,http://api:8000/api/v1over the compose networkDEMO_HOST— what goes into the registered tool URLs and theirallowed_hostspin,mcp-toolsover the compose network
The recordings
services/generate_visit_recordings.py uses macOS say and cannot run on
Linux. Generate on a Mac, copy data/recordings/ to the deployment. data/
is gitignored — the fixtures are derived, not source.
Only the utility demo needs them, and only to run a visit end to end; seeding works without.
Sample client back offices: /shop, /miso, /power, /service, /lender, /insurer, /clinic, /crm
Three pretend businesses for the chat bot's data connectors: an online store (Kettle & Co), an electricity utility (Brightline Power), and an appliance and battery service company (FixRight Service). A connector is built and tested against these exactly as against a real client's API, so no client is needed, and no customer data is ever uploaded to IndicusAI.
Business | Reads | Changes |
| customer by mobile, orders, one order | cancel, return, change address (refused in the wrong state) |
| the same API as | the same |
| accounts by mobile, bills, payment link, outage at the account's address, complaints | raise a complaint |
| products with warranty, warranty by serial, service requests | book a visit, move a visit |
/shop (and /miso) also cover cash on delivery and delivery problems: GET /orders/cod-pending,
POST /orders/{id}/confirm, GET /orders/{id}/tracking, GET /orders/ndr, POST /orders/{id}/delivery
(reattempt), GET /orders/{id}/refund. /power has GET /bills/due for bill reminders.
Agent catalog businesses — what IndicusAI's catalog agents run against, through its standard actions:
Business | What it offers |
| loans by mobile, dues list (by dpd), payment links with a payable page, payment status, promises to pay, disputes, KYC status and re-KYC list, video-KYC slots and booking |
| policies by mobile, renewals due, renewal quote with a payment link, call disposition |
| services, free slots, book / reschedule / cancel, a patient's appointments, upcoming appointments for reminders |
| leads (new list, create, update, callbacks), tickets (unassigned list, create, update), feedback and the survey list |
Every route, field name and seeded record, for writing mapping presets: docs/SAMPLE-CATALOG-SYSTEMS.md.
Auth:
X-Api-Key: sample-client-key(setSAMPLE_CLIENT_API_KEY). It is declared as an API-key security scheme, so an OpenAPI import treats it as a stored credential.Specs:
/<name>/openapi.jsonfor each, e.g./shop/openapi.json,/lender/openapi.json.MCP: every route is also a tool named
<name>_<operationId>, e.g.lender_listDueAccounts.Test people (shared):
+919000000999Asha Rao (Bengaluru, en-IN),+919000000111Ravi Sen (Kolkata, which has a power cut today, en-IN),+919000000222Meera Iyer (Chennai, ta-IN),+919000000333Arjun Mehta (Mumbai, hi-IN); and in the newer seeds+919000000444Sunita Sharma (hi-IN),+919000000555Karthik Subramanian (ta-IN),+919000000666Pooja Verma (hi-IN).Data is synthetic and dated relative to today.
/powerand/servicechanges last until a restart.Changing the catalog businesses' data (
/lender,/insurer,/clinic,/crm): under Test data on each Swagger page, add a record on your own mobile, change any record,POST /reset. Saved instate/<name>.jsonlike the stores'.Links a customer opens (
/lender/pay/<id>,/insurer/pay/<id>, re-KYC, video-KYC join) need no key and are https on the host the API was called at; over MCP,SAMPLE_PUBLIC_URL(orPUBLIC_BASE_URL). Locally, open the same path over http.Changing the stores' data for a test (
/shop,/miso): on the Swagger page (/miso/docs,/shop/docs), Authorize with the key, then under Test data:PATCH /orders/{order_id}changes any field you give — a newphone/customer_namemoves the order to that customer;POST /ordersadds one;POST /resetundoes every change. Changes (and the bot's cancels, returns and address changes) are saved instate/<store>.jsonand survive a restart until a reset. On the server the port is only on the box:ssh -N -L 8304:127.0.0.1:8304 <server>and openlocalhost:8304/miso/docs.
curl -s -H "X-Api-Key: sample-client-key" "localhost:8304/power/accounts?phone=9000000999"Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Hosted MCP server exposing US hospital procedure cost data to AI assistants
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceTurns any OpenAPI/Swagger API into MCP tools, enabling AI assistants to call REST API endpoints directly.2MIT
- FlicenseNot gradedqualityDmaintenanceConverts any REST API endpoints into MCP tools, enabling AI clients like Cursor and Claude Desktop to call internal services directly.-
- FlicenseNot gradedqualityDmaintenanceEnables LLM-powered agents to securely communicate with and orchestrate downstream microservices via FastAPI endpoints exposed as MCP tools.-
- FlicenseNot gradedqualityDmaintenanceCentralized MCP server that provides a unified tool surface for accessing AdvancedMD data, managing credentials, sessions, and rate limits for multiple backend workflows and AI agents via HTTP or MCP.-