Summer

公式

AIエージェントをSummerに接続し、遠隔医療のサポートと運用を設定・管理します。

Summer MCPで何ができますか?

  • サポートケースを検索 — ローカルで調査する前に、名前、メールアドレス、電話番号、ID、生年月日、またはメッセージ内容で顧客のケースを検索します。
  • ケースの閲覧と調査の依頼 — ケースの詳細を閲覧し、AIアシスタントに読み取り専用の調査を依頼します。
  • 会社のナレッジを管理 — Markdown形式の会社ポリシーやガイドを作成・編集し、公開前にプレビューできます。
  • ガイド用メディアをアップロード — スクリーンショット、動画、ファイルを代替テキストと出所情報付きでアップロードし、準備完了のアセットを確認します。
  • 認証情報と連携を確認 — 認証情報のメタデータと連携設定を一覧表示し、シークレットはUIまたはローカルCLIへの引き渡しを通じて入力します。
  • セットアップ状況を確認 — 会社と環境ごとの機能チェック、運用準備状況、残っているセットアップの不足点を確認します。

ホスト型 MCP サーバー

npx add-mcp 'https://api.gosummer.ai/mcp'

Claude Code、Codex、Cursor などにインストールできます

ドキュメント

コーディングエージェントに Summer AI のセットアッププロンプトを渡すと、ウェブサイトプロジェクト内でインストール作業を進めてくれます。サポート用 Messenger の追加、サインイン済みユーザーの連携、Markdown 形式の会社ポリシーのアップロード、サポートケースを支えるツールの設定支援などを行えます。このプロンプトは、顧客向けガイド、スクリーンショット、動画、ファイルアップロードにも対応しており、プレビュー、公開、ホスティングの各チェックも個別に含まれています。

Claude Code、Codex、Cursor、またはプロジェクトを編集してターミナルコマンドを実行できる他のコーディングエージェントを使用してください。エージェントは Summer AI CLI を使用し、提案された変更を表示して、ブラウザ経由でのサインインを求めます。

すでに Summer AI をセットアップ済みですか?MCP クライアントを接続すると、AI アシスタントからケースの閲覧、調査の依頼、会社ナレッジの管理ができます。

有用なワークフローから始める

チームが何を扱い、どのツールを使っているかをエージェントに伝えてください。例えば:

このウェブサイトに Summer AI サポートを追加してください。会話には Intercom、請求には Stripe を使っています。Summer AI のセットアップガイドを読み、私たちのプロジェクトを調査し、Messenger のインストールとそれらのサービスの接続に関する計画を提示してください。まずステージングを使用し、まだ検証が必要な項目を教えてください。

サービス接続ディレクトリには、ヘルプデスク、臨床プラットフォーム、薬局、請求、配送などが掲載されています。ロールアウト前にワークフロー全体を確認できるよう、代表的なサポートケースを 1 件選んでください。

認証情報は、UI または CLI を通じて Summer AI の組み込みシークレットマネージャーに保存されます。MCP クライアントは認証情報のメタデータを検査してセットアップを案内でき、シークレットの入力は UI またはローカル CLI への引き渡しを通じて行います。Doppler アカウントは必要ありません。既存の Doppler 接続を選択しない限り、エージェントは CLI アップロード用にローカル環境変数を使用します。

プロンプトをコピーする

Company setup → Set up with your AI agent を開きます。Open in ChatGPT Desktop または Open in Claude Code を選択すると、セットアッププロンプトが入力された状態でアプリが開きます。ウェブサイトプロジェクトを選択し、送信前にプロンプトを確認してください。これらのリンクはサインインや Summer AI へのアクセス権付与を行うものではありません。お使いのデプロイメントでセットアップが利用できない場合は、Summer AI サポートにお問い合わせください。

既存のチャットや Cursor を使用する場合、またはブラウザでアプリを開けない場合は、Copy setup prompt を使用してください。Company setup バージョンには会社 ID が含まれます。セットアップが有効な場合、以下の汎用プロンプトも Markdown として利用できます。

接続を確認する

サインイン前に summer doctor --json を実行して、API アドレスとサインインサービスに到達可能か確認します。次に summer login --scope setup --json を実行し、ブラウザで接続を承認します。summer whoami --json を実行してアクセスを検証します。Summer AI ダッシュボードからトークンをコピーしてチャットに貼り付ける必要はありません。

# Set up Summer in this project

Set up Summer for this business in this repository. Use authorized company knowledge and tools to understand workflows and test them. Configure Summer through its API, CLI or MCP. Keep service credentials separate; Summer tokens are only for Summer.

Test how Summer handles the business's support cases. A capability passes when Summer can find and use its API, browser, knowledge or connected-tool path. Tool names are hints. Complete available setup and record precise blockers.

Summer details:
- API: https://api.gosummer.ai
- Company ID: YOUR_COMPANY_ID
- Environment for this setup: staging
- Summer CLI: run \`npx --yes @gosummerai/cli@0.1.1 <command>\`. The steps below write this as \`summer <command>\`. Add \`--api https://api.gosummer.ai\` to each command if that is not \`https://api.gosummer.ai\`.
- Optional MCP server: https://api.gosummer.ai/mcp

If the Company ID is \`YOUR_COMPANY_ID\`, run \`summer companies --json\` after sign-in and use the selected company's ID in every command and setup file. If more than one company is available and the project does not identify one, ask me to choose.

Use Summer's built-in secrets manager for provider credentials. Customers can save values in Settings → Integrations with **Store in Summer**, or through the CLI using \`--from-env\`, \`--from-file\` or \`--from-stdin\`. If using MCP, list credential metadata there and use \`summer_credentials_set\` with \`source: local_value\` for a local CLI handoff. Never put secret values in MCP arguments or chat. Doppler is optional; do not ask me to set up Doppler or a vault unless I choose it.

The original setup consent covers normal Messenger installation, embed changes and activation within the selected company/environment and current spending limit. Do not add a separate installation approval or escalate routine setup to another agent. A setup grant does not approve customer business actions, investigations, budget increases or clinical directions.

## Write for the reader

Address customers in guides and staff in procedures. Follow ASD-STE100 about 80%: instructions under 20 words, descriptions under 25, active voice, one idea per sentence, consistent terms, no metaphors or slang. Keep necessary facts and uncertainty.

## Steps

1. Inspect this project and relevant company guidance first. Identify products, customer requests, care and fulfillment flows, billing, refunds, subscriptions, support channels, policies, promises and existing tools. Find where operational facts live and how an agent can discover them. Identify the framework, sign-in and server-side secret configuration too. Do not print or dump environment files or secret values. Use only relevant company material; keep patient records in their authorized case.
2. Run \`summer doctor --json\` to check the API address and sign-in service. If it reports a failed check, explain the returned reason before continuing. Check access with \`summer whoami --json\`. If you are not signed in, run \`summer login --json\` and ask me to approve the connection in my browser. Wait for the browser consent or my explicit approval of that connection. Use an existing authorized connection without asking again. If the result says access is pending, stop and tell me.
3. Read \`summer capabilities --company YOUR_COMPANY_ID --environment staging --json\`, \`summer status --company YOUR_COMPANY_ID --environment staging --json\` and \`summer capability-checks list --company YOUR_COMPANY_ID --environment staging --json\`. \`operational_readiness\` is the same checklist shown in Company setup → What Summer can do. Read each expectation, concrete test, prior evidence and discovery hints. Treat unavailable permissions as real. A missing named provider tool can have an available browser or knowledge alternative; discover and test those within your authority.
4. Match each checklist gap to useful setup work. Write a non-secret \`summer.setup.json\` with the company settings, Messenger installation (when needed), selected credential environment-variable names and knowledge files to create or edit. Each knowledge entry has \`id\`, \`file\` and \`reason\`; a new document can also set \`path\` under \`company/\` and \`tags\`. Reuse current documents rather than duplicate policies. Upload current policies, workflow guides, escalation contacts and discovery instructions that Summer needs. Explain original sources and known gaps. Keep unrelated files and existing setup; set \`replace: true\` on credentials only if I ask.
5. Run \`summer setup plan --file summer.setup.json --out summer.plan.json --json\` and show me the plan summary. Company settings and knowledge are company-wide: an edit there affects every environment, including production. Tell me before applying such a step.
6. Apply with \`summer setup apply --plan summer.plan.json --file summer.setup.json --json\`. Credentials are read by the CLI from the environment variables you name and are sent straight to Summer; the Messenger signing key is written by the CLI to the server-side file you chose (for example \`.env.local\`, which must be ignored by Git). Never read, echo or copy these values yourself. If a step is \`stale\`, plan again. If a step is \`uncertain\`, read the current state and follow the returned next step instead of retrying blindly.
7. If this business needs Messenger, integrate the widget using the existing sign-in system of this project: load the Summer loader, boot it with the installation ID, and add a small server endpoint that signs the identity assertion for the signed-in user with the signing key from server configuration. Follow https://gosummer.ai/docs/install-messenger and https://gosummer.ai/docs/verified-identity. Do not replace this project's authentication.
8. For a Messenger installation, test locally with synthetic accounts: guest use, sign-in, sign-out and switching accounts, and the site's Content-Security-Policy. Run \`summer messenger check --url <local page> --installation <id> --json\`. Run \`summer verify --company YOUR_COMPANY_ID --environment staging --json\` for the configured connections. A check reported as \`unsupported\` has not passed.
9. Inspect \`summer integrations\` and \`summer credentials list\`. For missing providers, use \`integrations save custom-NAME --from-file integration.json --expected-version N\` with a name and fields (name, label, required), never values. Transfer secrets through the local CLI. Create guidance with \`knowledge create ID --from-file guide.md --path company/guide.md --reason TEXT\`, or edit its current revision. Verify Summer can discover and use each connection; saved configuration alone is insufficient.
10. Check each capability against its concrete test and authorized sample. Use original live records where needed. Local-only tools cannot pass Summer runtime access. Record Blocked with the missing path. \`capability-checks test ID --case CASE_ID --expected-version N\` requests an existing read-only investigator (needs setup and investigations.request; cases.read reads results). Obtain missing grants through consent. Inspect effect paths without executing them. Never replace case work or resume the backlog.
11. Save findings with \`summer capability-checks report ID --from-file result.json --expected-version N --company YOUR_COMPANY_ID --environment staging --json\` at the latest version. The file has \`state\` (\`passed\`, \`failed\`, \`blocked\`, \`not_checked\`, \`not_applicable\`), \`notes\`, \`evidence\` and, for a pass, \`fulfillment: {kind: api|browser|knowledge|other|combined, discovery: "how Summer finds it", location: "guide, tool or portal reference"}\`. Keep evidence references and observation times, without secrets or patient details. Reports are agent-reported. An assumed integration, saved secret, untested guide or different path cannot pass. Inspect action paths and exact approval requirements without executing effects.
12. Add important business-specific capabilities from actual products, workflows and recurring support needs. Prefer customer/team outcomes over endpoints. Create a definition with \`id\` (starting \`custom_\`), \`title\`, \`group\`, \`mode\` (\`read\` or \`approval\`), \`expectation\`, \`test\` and \`examples\` (discovery hints or an empty string). Save with \`summer capability-checks save ID --from-file definition.json --expected-version 0 --reason TEXT --company YOUR_COMPANY_ID --environment staging --json\`. Record the original business source, concrete test and passing evidence. Add supporting knowledge/integrations and assess it like the starter checks. Improve existing definitions at their current version rather than duplicate them. Explain inapplicable starters.

## Check versions

If the last successful check is unknown or seven days old, or a tool/command is
missing, run \`summer version --check --json\` and \`summer client-status --json\`
(MCP: \`summer_client_status\`). Update from published npm releases. Refresh MCP
initialization and tools/list when its version changes. Keep existing scopes on
reconnect; updates never grant permissions.

## Support email

Read https://gosummer.ai/docs/support-email before configuring support email. Test reading, replies and DNS separately; Intercom's account check tests neither inbox nor replies. Gmail/Outlook connectors and email DNS commands are not released. Record evidence and gaps in capability checks. Contact capture sends no email.

## Customer guides, Markdown and media

Read \`summer guides authoring --company YOUR_COMPANY_ID --json\` (MCP:
\`summer_guides_authoring\`) for instructions, schemas, media syntax and draft
context. Use native file, browser and media tools. Guides need CLI 0.2.0+ and its matching
deployment. Report release gaps; never invent uploads or hosted URLs.

Inventory the full product, conditional features and account controls. Reuse
existing guides. Write task-focused Markdown with direct product links, sources
and check dates. Capture real UI with synthetic or authorized data and label
examples. Keep private procedures, personal data and medication directions out
of public articles. Use \`--company YOUR_COMPANY_ID --json\` with this journey:

1. Read \`guides get\`, \`guides article get ID\` and \`assets list\`. Configure the
   guide with \`guides save\` at the current version.
2. Upload actual files with \`assets upload --from-file PATH --metadata-file
   media.json\`, including alt text, provenance and captions/transcripts. Confirm
   ready asset IDs; resume the same file with \`--resume ASSET_ID\`. The trusted
   local CLI transfers bytes; no binaries/base64 or credentials in MCP context.
3. Save Markdown with \`guides article save ID --from-file article.md
   --metadata-file article.json --revision N --reason TEXT\`. New articles use
   revision 0. Open \`guides preview\`; check media, downloads, search, section
   links, phone/desktop layout and product links through sign-in.
4. Show the exact preview. Publishing needs human authority and separate
   \`guides.publish\` consent. When requested, use \`summer login --scope
   setup,guides.publish --json\`, then \`guides publish --from-file release.json
   --expected-version N --reason TEXT\` with exact article revisions. Verify
   public/Markdown URLs. Saved drafts are not public.
5. If requested, use \`guides hosting get/save/verify\`, follow returned DNS
   instructions and verify ownership, provider setup and HTTPS separately.

All roles use the same published articles. Humans edit them in Knowledge with history.

## Check Summer first

Ask before adding this rule to the end of AGENTS.md or CLAUDE.md:
"For a customer, ticket or order question, first run \`summer cases search TEXT --company YOUR_COMPANY_ID --json\` (name, email, phone, ID; \`--dob\`, \`--messages\`) or MCP \`summer_cases_search\`. Read the case before investigating locally. Results are leads."

## Report back

Use the shared operation catalog for workspace setup as well as installation.
Guest attachment and abuse limits live in installation settings; chat concurrency
and daily limits live in assistant settings. Use \`messenger.conversations.list\`
for the complete inbox, including visitors without Ops cases. Business hours,
saved replies/views, assignment, reports, quality scenarios and privacy-request
tracking have named API/MCP operations. Read current revisions before saving.
Members can grant \`workspace.write\` for personal views and quality assessments;
shared views and administrator settings keep their existing role checks.

Refresh \`summer status\` and \`summer capability-checks list\`. Report actual setup/capability states, evidence, discovered paths, business-specific additions, blockers and next steps. Saved is not verified; an agent report is not independent execution verification. Keep dashboard records current for human review.

Report guide topics, revisions, returned URLs and gaps. Distinguish drafts, uploads and verified publication.

## Limits

- Do not commit, push or deploy unless I ask. Complete authorized Messenger setup, including production, without asking for the same permission again. Use a returned local CLI handoff yourself when available. Ask only for missing company access, environment access or authority.
- Do not overwrite agent instructions or install unrelated tools.
- With actions.approve, approve exact prepared work I authorize using its review hash; no repeated UI approval. Never invent authorization. Secret reveal, access/role grants, spending increases, identity attestations and clinical directions stay restricted.
- Do not perform customer effects during onboarding tests. Only clinicians provide medication directions; do not write, quote, paraphrase or calculate them in guides, test reports or replies. Route those questions to the authenticated clinical channel.

エージェントが行うこと

  1. シークレットを出力せずに、プロジェクトを読み取ってフレームワーク、サインイン、サーバー設定を特定します。
  2. ブラウザで承認した後、summer login で接続します。
  3. Summer AI の機能と現在のセットアップを読み取り、利用できない項目をすべて尊重します。
  4. シークレットを含まない summer.setup.json を作成し、変更を計画して提示します。
  5. 計画を適用します。CLI は選択された認証情報を Summer AI に直接送信し、Messenger の署名キーを無視対象のサーバー設定ファイルに書き込みます。
  6. 既存のサインインを使用して Messenger ウィジェットを追加します。Messenger のインストールとサインイン済みアカウントの連携を参照してください。
  7. 合成アカウントを使用して、ゲスト利用、サインイン、サインアウト、アカウント切り替えをテストします。
  8. Summer AI に表示されるのと同じ運用機能チェックリストを進めます。会社ガイドのアップロード、カスタム統合の定義、CLI 経由での選択したシークレットの保存、検出可能な API、ブラウザ、ナレッジの各パスのテストを行えます。
  9. チェックリストにエビデンスと残りのギャップを記録し、セットアップエージェントによる報告であることを明示します。認証情報やガイドが保存されただけでは機能を通過したことにはなりません。
  10. ビジネス固有の製品、ワークフロー、定期的なサポートリクエストに基づいて重要な機能を追加し、具体的なテストと裏付けとなる検出手順を添えます。

あなたに残るもの

エージェントは、あなたが依頼しない限りコミット、プッシュ、デプロイを行いません。委任された actions.approve があれば、あなたが承認した正確に準備されたケース作業を承認できます。権限を捏造したり、保存された認証情報を開示したり、Summer AI へのアクセスを承認したり、支出上限を引き上げたりすることはできません。本番メッセージングには独自に付与された権限が必要です。接続は Your account → Security → Agent connections でいつでも確認できます。

セットアップ完了時に何を用意すべきですか?

テストサイトで動作する Messenger、確認済みのサインインとサインアウトの動作、Summer AI に保存された会社ガイドが揃っているはずです。エージェントは、テストしたサービス接続、見つけたエビデンス、まだ不足している項目を表示する必要があります。

顧客タスクの一覧、準備済みの Markdown、スクリーンショット、画像や動画、確認済みの製品リンクを表示するよう依頼してください。現在の範囲については顧客ガイドの準備を参照してください。エージェントは完了したアップロードの受領記録と、ガイドの正確なプレビューを表示する必要があります。公開には別途 guides.publish 権限が必要です。ローカルファイルや保存された下書きは公開済みのガイドブックではありません。返された公開アドレスを検証してください。カスタムドメインには、検証済みの DNS と動作する HTTPS も必要です。

代表的なサポートリクエストを試し、Summer AI の調査結果を元の記録と比較してください。本番メッセージングを有効にする前に、残りのギャップを確認してください。ロールアウトのチェックについてはセキュリティとテストを参照してください。