本文へ移動

Graph・Ontologyデータベース

Mithril Database (旧 Kotobase graph 面) の Graph・Ontology ワークベンチの使い方と、周辺プロジェクト (ayatori, capability-bench) の資料をまとめたページです。

グラフ・ワークベンチを開く

console.mithril.fund の「データベース・オントロジー管理」ワークベンチを使うと、不変 IPLD スナップショット上で observed attribute と型を可視化・分析できます。

エージェントを接続する(MCP、1 コマンド)

graph.kotoba.cloud/mcp は MCP サーバ(streamable HTTP、セッションなし)です。人が一度だけワークベンチで「ワークスペースを作成」→「エージェントのトークンを発行」し、その 2 つの値を環境に置けば、エージェントは 1 つの URL を登録して始められます。tools: graph_list_databases / graph_create_database / graph_db_stats / graph_transact / graph_query(datalog · cypher · sparql · sql)/ graph_usage / graph_docs。

1 コマンドで始める
export KOTOBA_TENANT_ID=t_…          # the workspace id
export KOTOBA_DATABASE_TOKEN=kb_sa_…  # the agent token, shown once
# Claude Code
claude mcp add --transport http kotoba-graph https://graph.kotoba.cloud/mcp --header "Authorization: Bearer $KOTOBA_DATABASE_TOKEN" --header "X-Kotobase-Tenant: $KOTOBA_TENANT_ID"
# Codex CLI
codex mcp add kotoba-graph --url https://graph.kotoba.cloud/mcp --bearer-token-env-var KOTOBA_DATABASE_TOKEN
# Cursor / VS Code (.cursor/mcp.json, .vscode/mcp.json)
{"mcpServers":{"kotoba-graph":{"type":"http","url":"https://graph.kotoba.cloud/mcp","headers":{"Authorization":"Bearer ${KOTOBA_DATABASE_TOKEN}","X-Kotobase-Tenant":"${KOTOBA_TENANT_ID}"}}}}
# no MCP client? the same routes as plain HTTP: https://graph.kotoba.cloud/agent-quickstart.md

エージェント向けの文書: agent-quickstart.md · llms.txt · llms-full.txt · .well-known/mcp.json

周辺プロジェクト

URI 設計

旧 kotobase.net の操作面 (graph) は graph.kotoba.cloud(2026-09-16、それまでは mithril.fund の #knowledge/… ビュー)、資料面 (docs) はこの /docs/graph/ ページです。旧 URL の mithril.fund/graph は graph.kotoba.cloud へ 301 します。