vault_connect_status
✅ 라이브 (서버)
vault_* / sync_* 도구는 api.ainote.dev 서버에서 동작합니다 — JSON-RPC POST /api/mcp 또는 @ainote/sdk (ai.vault.* / ai.sync.*)로 호출하세요. (일부 vault 도구는 연결된 git-backed vault가 필요. 참고: @ainote/mcp npm 패키지 구버전엔 번들이 안 됐을 수 있으니 직접 JSON-RPC 또는 SDK 사용 권장.)
vault 의 git 연결 상태 진단.
시그니처
json
{
"name": "vault_connect_status",
"arguments": { "name": "personal" }
}응답
json
{
"name": "personal",
"exists_remote": true,
"exists_local": true,
"local_path": "/Users/seunghan/notes/personal",
"git_status": {
"uncommitted_changes": 3,
"ahead": 1,
"behind": 0,
"branch": "main",
"remote_url_correct": true
},
"auth": {
"method": "https-mcp-key",
"valid": true
},
"issues": []
}issues 가 있으면 진단 메시지:
json
{
"issues": [
"uncommitted changes — run vault_sync with auto_commit",
"behind remote by 5 commits — sync needed"
]
}사용
배포 전 / sync 전 헬스체크:
personal vault 상태 보여줘