Securely invoke MCP tools via the Ogment CLI. Access your connected SaaS tools (Linear, Notion, Gmail, Slack, Supabase, etc.) through Ogment's governance layer.
ogment auth status
loggedIn: true → skip to Step 3loggedIn: false → continue to Step 2ogment auth login
Extract verificationUri from the response and send it to your human as a clickable link:
> 🔐 Approve Ogment access:
> 👉 Click to approve
Wait for approval, then verify with ogment auth status.
ogment catalog
ogment catalog <serverId>
> ✅ Connected to Ogment! Here's what I can access:
> - Gmail: 11 tools (messages, threads, drafts)
> - Notion: 5 tools (search, fetch, comments)
> - Slack: 7 tools (conversations, users)
>
> What would you like me to help with?
auth status → catalog → catalog <server> → invoke <server> <tool>
ogment catalog
ogment catalog <serverId>
ogment catalog <serverId> <toolName>
ogment invoke <serverId> <toolName> --input '<json>'
userId: "me")ogment invoke <server> gmail_listMessages --input '{"userId": "me", "maxResults": 10}'
ogment invoke <server> gmail_getMessage --input '{"userId": "me", "messageId": "<id>"}'
ogment invoke <server> Notion_notion-search --input '{"query": "quarterly review"}'
ogment invoke <server> Supabase_execute_sql --input '{"query": "SELECT * FROM users LIMIT 5"}'
ogment invoke <server> Linear_list_issues --input '{}'
共 2 个版本