Summer
आधिकारिकAI एजेंट्स को Summer से कनेक्ट करें ताकि टेलीहेल्थ सहायता और संचालन को सेट अप और प्रबंधित किया जा सके।
Summer MCP के साथ आप क्या कर सकते हैं?
- सहायता केस खोजें — स्थानीय रूप से जाँच करने से पहले किसी ग्राहक का केस नाम, ईमेल, फ़ोन, ID, जन्म तिथि या संदेश सामग्री से खोजें।
- केस पढ़ें और जाँच का अनुरोध करें — केस विवरण पढ़ें और अपने AI सहायक से केवल-पढ़ने योग्य जाँच का अनुरोध करें।
- कंपनी ज्ञान प्रबंधित करें — Markdown में कंपनी नीतियाँ और गाइड बनाएँ और संपादित करें, प्रकाशन से पहले पूर्वावलोकन के साथ।
- गाइड मीडिया अपलोड करें — alt टेक्स्ट और provenance के साथ स्क्रीनशॉट, वीडियो और फ़ाइलें अपलोड करें, फिर तैयार एसेट की पुष्टि करें।
- क्रेडेंशियल और इंटीग्रेशन का निरीक्षण करें — क्रेडेंशियल मेटाडेटा और इंटीग्रेशन कॉन्फ़िगरेशन की सूची देखें, 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 पहले से सेटअप है? केस पढ़ने, जाँच का अनुरोध करने और अपने AI सहायक से कंपनी ज्ञान प्रबंधित करने के लिए अपने MCP क्लाइंट को कनेक्ट करें।
एक उपयोगी वर्कफ़्लो से शुरू करें
एजेंट को बताएं कि आपकी टीम क्या संभालती है और आप कौन से टूल्स उपयोग करते हैं। उदाहरण के लिए:
इस वेबसाइट में Summer AI सपोर्ट जोड़ें। हम बातचीत के लिए Intercom और बिलिंग के लिए Stripe का उपयोग करते हैं। Summer AI सेटअप गाइड पढ़ें, हमारे प्रोजेक्ट का निरीक्षण करें और मुझे Messenger इंस्टॉल करने तथा उन सेवाओं को कनेक्ट करने की योजना दिखाएं। पहले स्टेजिंग का उपयोग करें और मुझे बताएं कि अभी क्या सत्यापित करना बाकी है।
सेवा कनेक्शन निर्देशिका हेल्प डेस्क, क्लिनिकल प्लेटफ़ॉर्म, फ़ार्मेसी, बिलिंग और शिपिंग को कवर करती है। एक प्रतिनिधि सपोर्ट केस चुनें ताकि आप रोलआउट से पहले पूरा वर्कफ़्लो जाँच सकें।
क्रेडेंशियल UI या CLI के माध्यम से Summer AI के अंतर्निहित सीक्रेट्स मैनेजर में जाते हैं। एक MCP क्लाइंट क्रेडेंशियल मेटाडेटा का निरीक्षण कर सकता है और सेटअप का मार्गदर्शन कर सकता है, जिसमें सीक्रेट प्रविष्टि UI या स्थानीय CLI हैंडऑफ़ के माध्यम से होती है। Doppler खाता आवश्यक नहीं है। एजेंट CLI अपलोड के लिए स्थानीय एनवायरनमेंट वेरिएबल्स का उपयोग करता है, जब तक कि आप कोई मौजूदा Doppler कनेक्शन न चुनें।
प्रॉम्प्ट कॉपी करें
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.
एजेंट क्या करता है
- सीक्रेट प्रिंट किए बिना आपके प्रोजेक्ट को पढ़कर उसका फ़्रेमवर्क, साइन-इन और सर्वर कॉन्फ़िगरेशन ढूँढता है।
- आपके ब्राउज़र में स्वीकृति देने के बाद
summer loginके साथ कनेक्ट होता है। - Summer AI की क्षमताएँ और वर्तमान सेटअप पढ़ता है, और हर अनुपलब्ध आइटम का सम्मान करता है।
- एक गैर-सीक्रेट
summer.setup.jsonलिखता है, परिवर्तनों की योजना बनाता है और उन्हें आपको दिखाता है। - योजना लागू करता है। CLI चयनित क्रेडेंशियल सीधे Summer AI को भेजता है और Messenger साइनिंग कुंजी को आपकी अनदेखी की गई सर्वर कॉन्फ़िगरेशन फ़ाइल में लिखता है।
- आपके मौजूदा साइन-इन का उपयोग करके Messenger विजेट जोड़ता है। देखें Install the messenger और Connect signed-in accounts।
- सिंथेटिक खातों के साथ अतिथि उपयोग, साइन-इन, साइन-आउट और खाता स्विचिंग का परीक्षण करता है।
- Summer AI में दिखाई गई उसी परिचालन क्षमता चेकलिस्ट पर काम करता है। यह कंपनी गाइड अपलोड कर सकता है, कस्टम इंटीग्रेशन परिभाषित कर सकता है, CLI के माध्यम से चयनित सीक्रेट सहेज सकता है और खोजे जा सकने वाले API, ब्राउज़र या ज्ञान पथों का परीक्षण कर सकता है।
- चेकलिस्ट में साक्ष्य और शेष कमियाँ दर्ज करता है, जिन्हें सेटअप एजेंट द्वारा रिपोर्ट किए गए के रूप में स्पष्ट रूप से लेबल किया जाता है। केवल सहेजा गया क्रेडेंशियल या गाइड किसी क्षमता को पास नहीं कराता।
- व्यवसाय के अद्वितीय उत्पादों, वर्कफ़्लो और आवर्ती सपोर्ट अनुरोधों के आधार पर महत्वपूर्ण क्षमताएँ जोड़ता है, ठोस परीक्षणों और सहायक खोज निर्देशों के साथ।
आपके पास क्या रहता है
जब तक आप न कहें, एजेंट कमिट, पुश या डिप्लॉय नहीं करता। प्रत्यायोजित actions.approve के साथ, यह आपके द्वारा अधिकृत सटीक तैयार किए गए केस कार्य को स्वीकृत कर सकता है। यह अधिकृति गढ़ नहीं सकता, सहेजे गए क्रेडेंशियल प्रकट नहीं कर सकता, Summer AI एक्सेस स्वीकृत नहीं कर सकता या खर्च सीमा नहीं बढ़ा सकता। प्रोडक्शन मैसेजिंग के लिए अपनी अलग दी गई अनुमति आवश्यक है। Your account → Security → Agent connections में किसी भी समय इसका कनेक्शन समीक्षित करें।
सेटअप पूरा होने पर मेरे पास क्या होना चाहिए?
आपके टेस्ट साइट में एक कार्यशील Messenger, जाँचा गया साइन-इन और साइन-आउट व्यवहार, और Summer AI में सहेजी गई कंपनी गाइड होनी चाहिए। एजेंट को दिखाना चाहिए कि उसने कौन से सेवा कनेक्शन परीक्षण किए, उसे कौन सा साक्ष्य मिला और क्या अभी भी अनुपलब्ध है।
इससे ग्राहक कार्य सूची, तैयार Markdown, स्क्रीनशॉट, छवियाँ या वीडियो, और जाँचे गए उत्पाद लिंक दिखाने के लिए कहें। वर्तमान दायरे के लिए Prepare customer guides देखें। आपके एजेंट को पूर्ण अपलोड रसीदें और सटीक गाइड प्रीव्यू दिखाना चाहिए। प्रकाशन के लिए अलग guides.publish अनुमति आवश्यक है। एक स्थानीय फ़ाइल या सहेजा गया ड्राफ़्ट प्रकाशित गाइडबुक नहीं है; लौटाए गए सार्वजनिक पते को सत्यापित करें। कस्टम डोमेन के लिए सत्यापित DNS और कार्यशील HTTPS भी आवश्यक है।
एक प्रतिनिधि सपोर्ट अनुरोध आज़माएं और Summer AI के निष्कर्षों की मूल रिकॉर्ड से तुलना करें। प्रोडक्शन मैसेजिंग सक्षम करने से पहले शेष कमियों की समीक्षा करें। रोलआउट जाँचों के लिए Security and testing देखें।