ainote 커맨드라인
ainote 는 별도의 ainote CLI 명령을 제공하지 않습니다 — 대신 두 가지 방법으로 터미널에서 사용:
- shell 함수 (curl wrapper) — 가장 간단. 의존성 없음. 권장.
@ainote/mcp패키지의 두 바이너리 —ainote-mcp(stdio MCP 서버) +ainote-mcp-http(SSE 브리지)
빠른 사용
shell 함수 한 번 정의 후
bash
ainote list_tasks '{"status":"pending","limit":10}'
ainote create_task '{"content":"테스트"}'
ainote pull_dev_docs '{}'ainote 는 함수 이름 — 별칭이라 자유롭게 변경 가능.
shell 함수 등록 참고.
@ainote/mcp 바이너리
bash
npm install -g @ainote/mcp
# stdio MCP 서버 (Claude Desktop 이 spawn 해서 사용)
ainote-mcp
# SSE 브리지 (ChatGPT)
ainote-mcp-http주요 워크플로우
| 작업 | 명령 (shell 함수 기준) |
|---|---|
| 오늘 할 일 | ainote list_tasks '{"due_today":true}' |
| 새 태스크 | ainote create_task '{"content":"회의"}' |
| 모든 메모리 받기 | ainote pull_dev_docs '{}' |
| 카테고리별 받기 | ainote pull_dev_docs '{"category":"claude"}' |
| .env push | ainote-env-sync push tennis-bracket (별도 스크립트) |
환경 설정
bash
# ~/.zshrc
export AINOTE_API_URL="https://api.ainote.dev"
export AINOTE_API_KEY="h7Axq9XPsDTD2qr5yqtcCSaQ..."