POST
/api/mcpMCP server for AI agents API
A Model Context Protocol server (Streamable HTTP) so AI assistants can call induwara.lk data as tools. Tools: get_park_fee_schedule and calculate_park_entry_fee. Connect it in Claude Code with: claude mcp add --transport http induwara https://induwara.lk/api/mcp
Request
curl -X POST https://induwara.lk/api/mcp -H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'JavaScript (SDK):
import { InduwaraLK } from "https://induwara.lk/sdk/induwaralk.js";
const api = new InduwaraLK();
const data = await api.mcp(/* … */);