Skip to content

vault_connect_status

🚧 설계 단계 — 아직 구현 안 됨

이 페이지는 ainote 의 향후 기능을 미리 문서화한 것입니다. 현재 @ainote/mcp v1.1.x 에는 vault / sync 도구가 포함돼 있지 않습니다. 도구 호출 시 Tool not found 에러를 받게 됩니다.

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 상태 보여줘

다음

MIT License · ainote.dev