kifas.health.check
kifas.health.check
Section titled “kifas.health.check”Free connection test. Returns the caller’s org, scopes, key prefix, and server info. Costs 0 credits — no browser, no emulator, no AI tokens. Agents should call this first to verify the connection works.
Required scopes: org:read
Parameters
Section titled “Parameters”This tool takes no parameters.
Returns
Section titled “Returns”{ "type": "object", "properties": { "ok": { "type": "boolean", "const": true }, "org": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" }, "slug": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "slug", "name" ], "additionalProperties": false }, "user_id": { "anyOf": [ { "type": "string", "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$" }, { "type": "null" } ] }, "credential": { "type": "string", "enum": [ "api_key", "jwt", "oauth" ] }, "key_prefix": { "type": [ "string", "null" ] }, "scopes": { "type": "array", "items": { "type": "string" } }, "server_time": { "type": "string" }, "mcp_protocol_version": { "type": "string" }, "tool_count": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } }, "required": [ "ok", "org", "user_id", "credential", "key_prefix", "scopes", "server_time", "mcp_protocol_version", "tool_count" ], "additionalProperties": false}Code samples
Section titled “Code samples”TypeScript (Anthropic MCP SDK)
import { Client } from '@modelcontextprotocol/sdk/client/index.js'import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamable-http.js'
const transport = new StreamableHTTPClientTransport( new URL('https://mcp.kifas.io/'), { requestInit: { headers: { Authorization: `Bearer ${process.env.KIFAS_API_KEY}` }, }, },)const client = new Client({ name: 'demo', version: '0.1.0' })await client.connect(transport)
const result = await client.callTool({ name: 'kifas.health.check', arguments: {},})console.log(result)Python (httpx, raw JSON-RPC)
import osimport httpx
resp = httpx.post( "https://mcp.kifas.io/", headers={ "Authorization": f"Bearer {os.environ['KIFAS_API_KEY']}", "Content-Type": "application/json", }, json={ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "kifas.health.check", "arguments": {}, }, },)print(resp.json())curl
curl https://mcp.kifas.io/ \ -H "Authorization: Bearer $KIFAS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "kifas.health.check", "arguments": {} }}'Raw JSON-RPC body
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "kifas.health.check", "arguments": {} }}Try it
Section titled “Try it”Want to try kifas.health.check? Sign in to the dashboard and run it against a real session.