{"schema":"https://kotoba.cloud/schemas/mcp-config/v1","name":"kotoba-cloud","description":"Mithril: public security evidence retrieval and identity-gated white-hat research inference (card-based verification, approved scope).","documentation":{"docs":"https://docs.mithril.fund/","llms":"https://mithril.fund/llms-full.txt","registration":"https://mithril.fund/ekyc.md","quickstart":"https://mithril.fund/agent-quickstart.md"},"servers":{"mcp":{"transport":"streamable-http","url":"https://mithril.fund/mcp","auth":"none for kotoba_knowledge_search / kotoba_knowledge_context / kotoba_models; Authorization: Bearer kc_pat_… for kotoba_research_status / kotoba_chat_completion","descriptor":"https://mithril.fund/.well-known/mcp.json","note":"The MCP protocol endpoint (JSON-RPC initialize / tools/list / tools/call, stateless). claude mcp add --transport http kotoba-cloud https://mithril.fund/mcp"},"graph":{"transport":"streamable-http","url":"https://graph.kotoba.cloud/mcp","auth":"Authorization: Bearer kb_sa_… (tenant service account) + X-Kotobase-Tenant","descriptor":"https://graph.kotoba.cloud/.well-known/mcp.json","note":"The Graph & Ontology database's own MCP server; docs https://graph.kotoba.cloud/agent-quickstart.md"},"public":{"transport":"http","url":"https://mithril.fund/v1/knowledge/search?q=<query>","auth":"none","note":"Read-only evidence search/context; CORS-open. Plain GET JSON for an agent that does not speak MCP."},"research":{"transport":"http","auth":"bearer-pat or browser-session","endpoints":{"status":"https://api.mithril.fund/v1/research/status","ekycStart":"https://api.mithril.fund/v1/research/ekyc/start","ekycStatus":"https://api.mithril.fund/v1/research/ekyc/status","jobs":"https://api.mithril.fund/v1/research/jobs","job":"https://api.mithril.fund/v1/research/job?jobId=<uuid>","models":"https://mithril.fund/v1/models"},"sessionSetup":["CLI/IDE agents: sign in at https://admin.mithril.fund/account and issue a personal API token once (接続トークンを発行), then use Authorization: Bearer kc_pat_... with no Origin header","Browser agents: sign in at https://auth.mithril.fund/sign-in?return_to=https%3A%2F%2Fmithril.fund%2F","POST /v1/research/ekyc/start {\"scopeId\":\"owned\",\"tasks\":[\"code-review\"]} then the account holder completes https://verify.stripe.com (agents never do)","Approval is automatic on the Stripe webhook; poll /v1/research/status until eligible"]}},"tools":[{"name":"kotoba_knowledge_search","description":"Search published security evidence (ATT&CK etc). GET /v1/knowledge/search?q=","inputSchema":{"type":"object","properties":{"q":{"type":"string","maxLength":200}},"required":["q"]}},{"name":"kotoba_knowledge_context","description":"Fetch immutable evidence context for an item ID. GET /v1/knowledge/context?id=","inputSchema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}},{"name":"kotoba_research_run","description":"Authenticated security-research inference (a verified principal: card-based identity verification + approved scope). POST /v1/research/jobs with Idempotency-Key. Bearer PAT (kc_pat_…) or browser session.","inputSchema":{"type":"object","properties":{"task":{"type":"string","enum":["code-review","vulnerability-triage","remediation"]},"scopeId":{"type":"string"},"messages":{"type":"array"}},"required":["task","scopeId","messages"],"auth":"bearer-pat or browser-session (verified principal)"}},{"name":"kotoba_chat_completion","description":"OpenAI-compatible completion on the research models. POST https://api.mithril.fund/v1/chat/completions with Authorization: Bearer kc_pat_…; tools and stream accepted; the answer carries billing (free|paid) and, on paid answers, usage and chargedMicroUSD.","inputSchema":{"type":"object","properties":{"model":{"type":"string"},"messages":{"type":"array"},"max_tokens":{"type":"integer","maximum":32768},"tools":{"type":"array"}},"required":["model","messages"],"auth":"bearer-pat or browser-session (verified principal)"}}]}