Example MCP conversations
Install and verify the CLI using CLI installation before following this guide.
AppPortal MCP works best when a prompt names the app, environment, time window, and desired decision. Ask the agent to distinguish zero results from unavailable or incomplete data and to state which scope it actually inspected.
The sample replies below are illustrative. Your agent’s numbers and findings come from your current AppPortal access and data.
Read the local catalog first
These are individual JSON-RPC requests for an MCP client’s already connected stdio session, not shell commands. They read local metadata without a login, refresh or customer-data request:
{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}
{"jsonrpc":"2.0","id":2,"method":"resources/read","params":{"uri":"appportal://catalog/tools"}}
All identifiers in the following examples are fictional. Replace them with authorized selectors, then preserve the exact filters, window and returned cursor when continuing a query.
Follow a session and its technical context
For
trail-notesproduction, inspect sessionreview-session-17. Show the recorded navigation, lifecycle, logs, network requests and crash context. State any missing capture or unknown totals. Keep each timeline page in the same capture; if the server says the capture changed, discard all accumulated pages and restart. Do not change crash state.
Likely tool: get_session_story, requiring overview, logs and crashes read scopes together:
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"get_session_story","arguments":{"organization":"harbor-team","appId":"trail-notes","environment":"production","sessionId":"review-session-17","platform":"iOS","limit":10}}}
Explore events, startup and conversion
For
trail-notesproduction, compare app-start markers and the journey from Trail opened to Trail saved. Use canonical event keys returned by event queries for the funnel. Keep active users, event counts and conversion denominators distinct; report unsupported data instead of zero.
{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"query_events","arguments":{"organization":"harbor-team","appId":"trail-notes","environment":"production","eventType":"analytics","eventName":"Trail opened","limit":10}}}
{"jsonrpc":"2.0","id":5,"method":"tools/call","params":{"name":"query_rum","arguments":{"organization":"harbor-team","appId":"trail-notes","environment":"production","platform":"iOS","kind":"AppStart","limit":10}}}
Call query_funnel with the returned eligible event keys in order. It is a structured read even
though the backing API uses POST. Do not synthesize keys from labels or turn incomplete identity
coverage into a zero-user funnel.
Request a weekly investigation template
{"jsonrpc":"2.0","id":6,"method":"prompts/get","params":{"name":"weekly_health_report","arguments":{"organization":"harbor-team","appId":"trail-notes","environment":"production","from":"2026-10-12T00:00:00Z","to":"2026-10-19T00:00:00Z"}}}
The prompt supplies instructions; it does not run tools or create a scheduled report. Confirm each returned fact against the scoped reads and obtain separate approval for any proposed write.
Compare adoption between releases
You
For
trail-notesin production, compare active users, sessions, and installed devices for versions 4.2 and 4.3 over the last 14 complete days. Break down 4.3 by OS version and SDK version. Call out any lifecycle-health warnings and tell me whether adoption is high enough to expand the rollout. State the exact time window and filters you used.
Likely tools: get_usage_summary, followed by one or more get_usage_breakdown calls.
Triage a production crash
You
Triage the highest-impact unresolved crash for
trail-notesin production. Show affected versions, recent occurrence trend, symbolication status, the most useful translated stack frames, and relevant release/build readiness. Recommend the next engineering action, but do not change crash workflow state.
Likely tools: get_crash_triage, get_crash_occurrences, get_release_summary, and get_builds.
Investigate warnings after a release
You
Search privacy-safe warning and error logs for
trail-notesproduction from the 4.3 release time through now. Group the patterns you can support, inspect details only for the most suspicious records, and correlate the findings with the recorded release lifecycle and build timeline. Do not infer causes from message text alone.
Likely tools: search_logs, get_log_details, and get_release_summary.
Inspect a mobile project before release
You
Inspect this repository with AppPortal. Report the detected platform and project type, bundle or application ID, version and build number, icon, symbol files, distributable artifact, and any release-readiness gaps. Read only; do not build, upload, or modify the project.
Likely tool: inspect_mobile_project.
Compare the checkout experience by platform
You
For
trail-notesproduction over the last 30 complete days, compare usage across iOS and Android. Then break each platform down by app version and SDK version. I’m deciding which client needs the next reliability sprint, so include crash and release-lifecycle context without collapsing sessions, users, and devices into one metric.
Likely tools: get_usage_summary, get_usage_breakdown, get_crash_triage, and
get_release_summary.
Read one geofence-tag page
Use the matching paged CLI/API contract. This read needs only mcp:geofences.read:
{"jsonrpc":"2.0","id":7,"method":"tools/call","params":{"name":"get_geofence_tags","arguments":{"organization":"harbor-team","appId":"trail-notes","environment":"production","query":"store","limit":10}}}
Continue with the returned opaque nextCursor, unchanged query, selectors and limit. The CLI
loads one page per call; a missing total stays unknown.
Preview a geofence change
This workflow needs explicit mcp:geofences.read and mcp:geofences.write consent;
it does not require the broader --all-product-capabilities grant.
You
Find the Location named
Downtown Storefortrail-notesproduction and show its existing geofences and tag cooldowns. Propose a 250-meter radial arrival geofence taggedstore-arrival, but stop after the preview. Do not apply anything until I confirm the exact Location, radius, transitions, tag policy, and warnings.
Likely tools: get_locations, get_geofences, and preview_geofence_change. After explicit
confirmation, the agent may call apply_geofence_change with the exact preview request,
confirmation token, and one stable operationId.
Add a crash note and mark it investigating
This workflow requires a profile authorized with --crash-management.
You
Find the highest-impact unresolved production crash for
trail-notes. Propose a concise note based only on AppPortal evidence and show me the crash group, current state, intended note, and intended workflow change. Ask for confirmation before writing anything. If I confirm, add the note, mark it Investigating, assign it to me when allowed, and preserve a separate stable operation ID for each action’s retries.
Agent, before the write
I found crash group
<bucket>, currently unresolved and unassigned. Proposed note: “Investigating the 4.3 increase; translated occurrences point to the checkout submission path, and symbolication is complete.” Proposed change: mark Investigating and assign to your AppPortal user. Shall I apply those two changes?
Before confirmation, use preview_crash_note and preview_crash_workflow for the exact proposed
actions. Review those returned summaries with the user. After confirmation, apply separately with
add_crash_note and update_crash_workflow, each matching confirmationToken and its original
stable operationId. The agent may use get_crash_assignees only when delegated assignment is
granted. A preview grants no authority and never automatically applies. New or pending work needs
fresh proof; an exact completed receipt may replay only with valid binding and current access.
Never generate another operation ID after an uncertain result or treat an old pending operation as
success. This source example does not establish deployment of the installed client/API pair.
Prepare an incident handoff
You
Build a concise incident handoff for
trail-notesproduction covering the last six hours. Include usage impact, the leading crash groups and symbolication state, warning/error log patterns, affected releases/builds, confirmed facts, open questions, and the next three checks. Cite the AppPortal scope and time window for every section. Do not change product state.
This invites the agent to combine the read catalog while keeping facts, hypotheses, and missing data separate. It is a good final prompt after narrower investigations establish which app and environment matter.
A reusable prompt pattern
Use AppPortal for <app> in <environment> over <exact time window>.
Question: <decision or investigation question>
Breakdowns: <platform/version/build/SDK/device/etc.>
Correlate with: <crashes/logs/releases/builds>
Requirements:
- state the organization, app, environment, filters, and time window used;
- keep users, sessions, and installed devices as distinct metrics;
- distinguish zero, unavailable, filtered, and incomplete data;
- separate confirmed evidence from inference;
- do not mutate state unless I explicitly confirm the exact target and change.