# Agents & API

> Connect an agent to create and edit a HistoryShowcase site.
>
> Source: https://history-showcase.com/developers/agents.html · Last updated 2026-11-16

Use MCP or the HTTP API to manage stories, photos and designs in the same site as the visual editor.

## Create a site

1. Give your agent [the agent skill](https://history-showcase.com/skill.md) and ask it to build your school's display.
2. It starts a guest site without signup, adds your stories and chooses an existing design.
3. Open the working link it sends you—no login required.
4. Keep it for free using the separate private claim link and email sign-in. Guest editing lasts 30 profiles or seven days; your viewing link stays available afterward. Claiming keeps the content, design, link and agent connection.

Already have a site? Open its editor and select **Agents** to connect your agent to that site.

Deciding whether to build a school display from scratch instead? The [do-it-yourself comparison](https://history-showcase.com/compare/diy-with-ai) estimates the human time, agent usage and hosting it takes, with every input shown.

Continue with [connection instructions](connect.md) or the [first-edit quickstart](quickstart.md). Reference guides cover [content](content.md), [design](design.md), [photos and videos](media.md), [visibility and previews](visibility.md) and [errors and limits](recovery.md).

## What your agent can do

| Task | Tools |
| --- | --- |
| Start without signup | `create_guest_site` (no token required) |
| Understand a site | `get_site_context`, `get_capabilities` |
| Find and read stories | `search_content`, `get_entry` |
| Add or organize content | `apply_changes` |
| Choose an existing design | `get_capabilities`, `apply_changes` |
| Reuse or upload photos | `list_media`, `upload_media` |
| Review the saved draft | `preview_site`, `get_browser_pass` |
| Approve a private proposal | `apply_changes` with `publish` permission |
| Record a confirmed donor-wall gift | `record_donation` |

Every tool is also an HTTP endpoint: `POST https://api.history-showcase.com/api/platform/agent/v1/<tool_name>`. Media up to 3 MiB can also use multipart `POST /v1/media`.

## Permissions and saved changes

- **Your existing templates.** Supported layouts, typography and branding; no arbitrary code, CSS or custom schema.
- **Your current permissions.** Connection scopes can narrow your role, never expand it. Removing site access or disconnecting the token stops future access.
- **Clear sharing.** Saved visible content is live. Entries with `visible: false` are private proposals; private entries and hidden collections stay out of the public projection. Guest sites have unlisted viewing links. Claiming ends the unlisted preview; the address then shows the live site.
- **Small, recoverable changes.** Batches validate together and save atomically. Revision checks prevent silent overwrites.
- **Honest verification.** A successful save confirms persistence. Inspect the current site with an authorized browser pass before claiming its rendering is verified. A private preview is not a public share link.
- **Inspectable contracts.** The [OpenAPI specification](openapi.json) and MCP input schemas come from the runtime validators.

For agents: start with [skill.md](skill.md). The documentation index is [llms.txt](llms.txt). For how the platform itself works, see the [documentation home](index.md).
