OAuth for iCloud developer guide

How to Let Grok Bot Read and Search Your iMessage History

Connect Grok Bot to read-only Figment Messages, verify the connection, and search one conversation with supporting timestamps.

Figment editorial teamPublished Updated Facts checked November 30, 2026

Grok Bot can use our remote Messages MCP endpoint to request read-only access to the iMessage history available on your approved Figment connection. Add the endpoint, complete Figment approval, and check the connection before you search. Grok Bot supports the required remote MCP and OAuth features; the final check is a successful connection in your own account.

This route is useful when a delivery address, decision, or booking detail is buried in an old conversation. You can ask a focused question without copying the whole chat into Grok Bot. Start with our Messages setup guide.

What do I connect in Grok Bot?

Use this remote HTTP MCP server:

https://figment.so/api/icloud/mcp

Our OAuth issuer is https://figment.so/icloud. The permission is messages:read. A compatible client can register a public OAuth client automatically. You do not need to create a developer app or paste a personal API token into the conversation.

Grok Bot documents remote HTTP MCP with OAuth and dynamic client registration. It also supports stdio, but those commands run on the Bot's cloud computer. A command there cannot read the Messages database on your personal Mac. Choose the remote route for this connection. See Grok Bot's MCP documentation.

How do I set up the first search?

  1. Open your Figment Messages connection from the setup guide. Complete live setup, or choose a sandbox connection for synthetic examples.
  2. Add the remote MCP address in Grok Bot's connector configuration.
  3. Let Grok Bot open Figment's approval page.
  4. Select the intended connection. Approve messages:read.
  5. Ask Grok Bot to call figment_get_messages_connection before it reads messages.

A sandbox result proves that the tool connection works with sample data. It does not prove that your personal history is connected. A paid live connection can remain pending while we prepare and verify its assigned Mac. Keep that connection. A pending state does not require another payment or another Apple sign-in.

Enter Apple credentials and verification codes only on Figment's setup page when setup requires them. Do not put them in a Grok Bot message.

What should I ask Grok Bot to do first?

Use a conversation you can recognize. Ask it to list conversations before it selects one:

Check my Figment Messages connection and tell me whether it is sandbox or live.
List conversations so I can identify the chat with the moving company.
After I select the chat, find the agreed arrival window for December 4.
Show the supporting message text and timestamp. Do not send anything.

The available tools are figment_get_messages_connection, figment_list_conversations, figment_list_messages, and figment_search_messages. They check status, find chats, read a selected chat, and search available history.

For an ambiguous contact, inspect the returned conversation details. A display name alone can match several people. The message-reading tool uses the selected conversation's returned chatGuid.

How do I check an answer about an older message?

Ask for the supporting message and its timestamp. If the answer concerns a date, state your timezone. A late-night message can fall on a different calendar date in another timezone.

Follow the tools' returned pagination when the question needs more history. One page of recent messages cannot establish that nothing happened last month. If Grok Bot cannot cover the requested period, it should say which period it checked.

Live access covers messages available on the assigned Mac. It is not a guarantee of your complete iCloud archive. A missing result can mean that the message is outside the available history, that another conversation was selected, or that more pages remain. Do not treat a missing result as proof that a message was never sent.

Can Grok Bot reply or use my other Apple apps?

These four tools are read-only. They cannot send, edit, or delete messages. They do not expose Apple Notes, Calendar, Mail, Drive, or Passwords. Ask Grok Bot for a reply draft if you want help writing one. Review and send it separately.

If approval fails, check the issuer and remote address before you repeat the OAuth flow. If the connection is temporarily unavailable, retain the session and follow the returned retry delay. Do not replace a connection or buy a second one to resolve a temporary check failure.

You can disconnect the app in Figment to stop its tokens. This does not sign the assigned Mac out of Apple. Our iMessage MCP overview explains the access model and the distinction between available Mac history and a complete archive.