> For the complete documentation index, see [llms.txt](https://docs.synoptic.com/s/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.synoptic.com/s/ai-onboarding.md). Agents can also search and read this documentation through its [MCP server](https://docs.synoptic.com/s/~gitbook/mcp).

# AI onboarding

Connect an AI agent to Synoptic: the MCP server with optional sign-in, docs for agents, per-stream SKILL.md files and copy-paste quick starts.

Everything an AI agent needs to find Synoptic streams, read their posts and connect them to code.

## Get started

No account is needed to start. Without signing in, an agent can search the stream catalog and read the latest posts of public streams, 10 seconds late. See [Guest access](https://docs.synoptic.com/s/guest-access.md).

For realtime posts, history and search, a human signs in at [synoptic.com](https://synoptic.com), follows or subscribes to the stream, and then either:

* connects the MCP server with OAuth, or
* creates a reader key in [Settings → API & Keys](https://synoptic.com/p/settings/api-keys) for code that uses the WebSocket or REST API.

## MCP server

```url
https://mcp.api.synoptic.com/mcp
```

Streamable HTTP. Enter the URL exactly, with no trailing slash. Clients that only support SSE use `https://mcp.api.synoptic.com/sse`.

Sign-in is optional. When a tool needs an account, the server answers HTTP 401 and the client opens a Synoptic page to sign in with OAuth and choose permissions. There is no key to copy.

| Without signing in                                                                                                                                                                                                                                                                                       | Signed in                                                                                                                                                                                             |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `search`, `streams_all`, `get_stream` and `fetch` return public streams.                                                                                                                                                                                                                                 | `search` and `get_stream` also cover private streams you can access.                                                                                                                                  |
| `get_stream_posts` returns the latest posts of a [guest-readable stream](https://docs.synoptic.com/s/guest-access.md#which-streams-guests-can-read) (`limit` default and maximum 30), 10 seconds late, with `delaySeconds` and a `notice` on how to get realtime posts. No paging, date range or search. | `get_stream_posts` reads streams you follow or subscribe to, without the delay, with `fromDate`, `toDate` and `nextToken` (`limit` default 10, maximum 50). `search_stream_posts` searches post text. |
| Everything else asks you to sign in.                                                                                                                                                                                                                                                                     | Follow streams, publish, manage lists and more, within the permissions you grant.                                                                                                                     |

To add the server to Claude, Claude Code, Codex, Cursor, VS Code, ChatGPT or another client, see [MCP](https://docs.synoptic.com/s/mcp/mcp.md#connect). Any client that supports Streamable HTTP works with the URL alone.

## Stream skills

Every active public stream has two files for agents on synoptic.com:

| File                           | URL                                                  |
| ------------------------------ | ---------------------------------------------------- |
| Stream page as Markdown        | `https://synoptic.com/p/streams/{slugOrId}.md`       |
| Skill that connects the stream | `https://synoptic.com/p/streams/{slugOrId}/SKILL.md` |

`{slugOrId}` is the stream's slug or ID, as in its page URL `https://synoptic.com/p/streams/{slugOrId}`.

Under **Advanced settings**, stream authors can turn off search indexing or choose another public stream they own as the canonical page. The stream page, Markdown, and `SKILL.md` all advertise these settings to crawlers. The sitemap omits streams with indexing turned off or a valid canonical target.

The page of a stream guests can read has a **Connect your agent** box. **Copy prompt** copies a prompt for any agent:

```
Follow https://synoptic.com/p/streams/{slug}/SKILL.md to connect {stream name} from Synoptic
```

**Add to app** gives the command for Claude Code or Codex, an install link for Cursor or VS Code, and the steps for the Claude app or ChatGPT. The commands and links name the server `synoptic`.

For other streams, `.md` and `SKILL.md` explain how to get access with an account instead of the guest endpoints.

The site index for agents is `https://synoptic.com/llms.txt`, and `https://synoptic.com/llms-full.txt` lists every public stream with one line of facts. Stream pages and the [stream catalog](https://synoptic.com/p/marketplace/streams) also return Markdown when the request sends `Accept: text/markdown`.

## Docs for agents

Give an agent current docs in one of these ways:

1. **Docs index.** Lists every page.

   ```
   Here are the Synoptic docs: https://docs.synoptic.com/s/llms.txt
   ```
2. **Full docs in one file.**

   ```
   https://docs.synoptic.com/s/llms-full.txt
   ```
3. **One page as Markdown.** Add `.md` to any page URL, or request it with `Accept: text/markdown`.

   ```bash
   curl https://docs.synoptic.com/s/guest-access.md
   curl -H 'Accept: text/markdown' https://docs.synoptic.com/s/guest-access
   ```

## Quick starts

Each quick start has a prompt to paste into an agent.

| Quick start                                                                                                | What you get                                                  |
| ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [Watch a stream in Claude Code](https://docs.synoptic.com/s/quick-starts/watch-a-stream-in-claude-code.md) | Claude Code reads a stream and watches it for new posts.      |
| [Build a bot that reacts to posts](https://docs.synoptic.com/s/quick-starts/build-a-bot.md)                | A script that filters live posts and sends them to a webhook. |
| [Read latest posts in ChatGPT](https://docs.synoptic.com/s/quick-starts/read-latest-posts-in-chatgpt.md)   | ChatGPT answers questions from a stream's latest posts.       |
