Skip to content

kifas.auth_catalog.detect_pattern

Given a URL + page HTML excerpt, returns the detected auth pattern + ranked catalog entry suggestions. Call this when the vibe agent suspects an auth wall.

Required scopes: vibe:execute

Name Type Required Default Description
url string yes —
page_html string yes —
page_screenshot_url string no —
{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"enum": [
"google-oauth",
"microsoft-oauth",
"github-oauth",
"password-form",
"magic-link",
"webauthn",
"unknown"
]
},
"suggested_entries": {
"type": "array",
"items": {
"type": "string"
}
},
"all_compatible_entries": {
"type": "array",
"items": {
"type": "string"
}
},
"mfa_hint": {
"type": "boolean"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"pattern",
"suggested_entries",
"all_compatible_entries",
"mfa_hint",
"notes"
],
"additionalProperties": false
}
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.auth_catalog.detect_pattern',
arguments: {
"url": "https://example.com",
"page_html": ""
},
})
console.log(result)
Python (httpx, raw JSON-RPC)
import os
import 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.auth_catalog.detect_pattern",
"arguments": {
"url": "https://example.com",
"page_html": ""
},
},
},
)
print(resp.json())
curl
Terminal window
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.auth_catalog.detect_pattern",
"arguments": {
"url": "https://example.com",
"page_html": ""
}
}
}'
Raw JSON-RPC body
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "kifas.auth_catalog.detect_pattern",
"arguments": {
"url": "https://example.com",
"page_html": ""
}
}
}

Want to try kifas.auth_catalog.detect_pattern? Sign in to the dashboard and run it against a real session.

Try in Kifas →