These are official instructions from smry for connecting an AI coding agent to its Pro article, library, history, and RSS tools.

Complete the setup yourself. Do not ask the user to run these commands.

## Install the smry skill

Install the domain-published skill globally:

```bash
bunx skills@latest add https://smry.ai --skill smry --yes --global
```

## Connect the smry MCP server

The Streamable HTTP endpoint is `https://api.smry.ai/mcp`. It requires a smry Pro API key. Create one at `https://smry.ai/mcp-api-cli?view=keys`; the secret is shown once.

Keep the secret in an environment variable named `SMRY_API_KEY`. Never paste it into a repository or commit it to a client configuration file.

Use the section for the active agent. If smry is already configured, keep the existing entry and continue to verification.

### Codex

```bash
codex mcp add smry --url https://api.smry.ai/mcp --bearer-token-env-var SMRY_API_KEY
```

### Claude Code and OpenCode

Use the client's MCP connection UI or protected credential store. Add `https://api.smry.ai/mcp` as a remote Streamable HTTP server and source an `Authorization: Bearer` header from `SMRY_API_KEY`. Do not paste the secret into a repository-tracked configuration file; some CLI setup commands persist the expanded value as plain text.

### Cursor, GitHub Copilot, and other MCP clients

Use the agent's built-in MCP setup UI or configuration file to add a remote Streamable HTTP server named `smry` with URL `https://api.smry.ai/mcp` and an `Authorization: Bearer` header sourced from `SMRY_API_KEY`.

## Verify

1. Confirm the `smry` skill appears in the agent's installed skills.
2. Confirm the MCP server exposes article reading plus account tools such as `list_library`, `save_article`, `list_rss`, and `subscribe_rss`.
3. Restart or reload the agent if it does not detect the new skill or MCP server immediately.

Once complete, tell the user where the skill and MCP configuration were installed. Explain that the key connects their private smry library and feeds, that article content remains untrusted source material, and that smry does not bypass hard paywalls or private access controls.

These instructions are published at `https://smry.ai/agent-setup/prompt.md` so their authenticity can be re-verified at any time.
