Developer documentation

EazePro connector for Muse

A hosted, tenant-scoped MCP server using OAuth 2.1 authorization code flow with S256 PKCE. EazePro exposes a curated tool surface rather than its internal application API.

POSThttps://www.eazepro.tech/api/muse/mcp

The original Read Only and Sales Assistant tools are listed below. Full access adds 77 CLI business operations; see the shared connector documentation for scopes, write confirmation and the complete catalogue.

Connection and authentication

The endpoint accepts stateless MCP Streamable HTTP requests from the established 2025 protocol revisions and the newer 2026-07-28 request model. It exposes only HTTP POST. OAuth authorization-server, OpenID Connect, JWKS, and protected-resource metadata are discoverable through the standard well-known URLs.

  1. Muse discovers the protected resource and authorization server.
  2. The user signs in to EazePro, selects exactly one active workspace, and chooses Read Only, Sales Assistant or Full access.
  3. EazePro displays the requested access before consent and issues a resource-bound, one-hour JWT access token plus a rotating refresh token valid up to 30 days.
  4. Every tool call rechecks consent, active membership, current role, permission flags, scope, and tenant ownership.

Client identity uses HTTPS Client ID Metadata Documents (CIMD) under the MCP 2026-07-28 profile. Open unauthenticated Dynamic Client Registration is disabled.

OAuth scopes

ScopeAccess
eazepro:workspace:readConnected workspace and effective role context
eazepro:sales:readLeads, activities, follow-ups, and sales summaries
eazepro:sales:writeCreate/update leads, move stages, set follow-ups, and add activities
eazepro:operations:readShared schedule and order details
eazepro:finance:readReceivables and revenue summaries
eazepro:drivers:readToday’s delivery and driver progress

OIDC identity scopes are openid profile email offline_access. Read Only is the default and omits eazepro:sales:write. A user cannot grant capabilities their current EazePro role does not have.

Read tools

ToolInputOutput
get_workspace_contextNo inputWorkspace identity, role, effective permission flags, and granted EazePro scopes
list_leadssearch?, stage?, activeOnly=true, limit≤50, offsetPaginated lead summaries and total count
get_leadidOne lead, linked person/company, stage history, and 25 recent activities
list_due_followupsdueBefore? (ISO 8601), limit≤50Open leads whose follow-up is due by the requested time
get_sales_summaryyear?, month?Lead volume, win rate, won/lost value, sources, and monthly metrics
list_scheduledateFrom, dateTo (ISO 8601; ≤31 days), sourceDirect and third-party calendar orders
get_orderidOrder, customer/contact, items, assignments, invoice status, and fulfillment details
get_receivablesfilter, limit≤50, offsetOutstanding balances and overdue/upcoming/grace/unbilled summary
get_revenue_summarydateFrom, dateTo (ISO 8601; ≤366 days), groupByBooked direct/partner revenue, payments, tips, count, and average value
get_today_deliveriesNo inputToday’s delivery status, assigned driver, and tracking timestamps

Read tools have no side effects beyond a payload-free security audit record. Results are capped, tenant filtered, and serialized as JSON text plus structured content.

Controlled write tools

ToolInputSide effect
create_leadidempotencyKey, title; optional contact, event, value, source, notes, follow-upCreates one CRM lead and may link/create its person or company; duplicate-safe by idempotency key
update_leadid, version; selected mutable lead fieldsUpdates the lead and increments its version; conflicts if the supplied version is stale
move_lead_stageid, version, stage, lostReason?Changes pipeline stage, records history, and closes won/lost leads
set_lead_followupid, version, nextFollowUpAtSets or clears the next follow-up and increments the lead version
add_lead_activityidempotencyKey, leadId, type; optional subject/body/summary/timeAdds one CRM activity; duplicate-safe by idempotency key

Write tools require eazepro:sales:write and an active Owner, Manager, or Sales role. They never send emails, contact customers, change an order, or move money. Versioned writes fail on concurrent changes; intake and activity writes require an idempotency key.

Excluded capabilities and sensitive data

Read Only and Sales Assistant retain their original bounded actions. Full access additionally exposes the CLI business tools, including payment recording, refunds, invoice reminders, payout acknowledgement, order changes, deletion, driver tracking and team invitations. Service credentials, reusable authentication tokens, API-key administration, account settings, arbitrary SMS and direct card charging remain unavailable.

Limits, errors, and revocation

  • Read tools: 60 calls per connected user/workspace per rolling minute.
  • Write tools: 10 calls per connected user/workspace per rolling minute.
  • List pages: at most 50 records; schedule ranges: 31 days; revenue ranges: 366 days.
  • 401 responses include the protected-resource challenge when authorization is missing or invalid.
  • 403 or tool errors cover missing scope, inactive membership, role denial, stale versions, tenant mismatch, revoked consent, and rate limits.
  • Users revoke a connection from EazePro → Connected apps. Consent is deleted and matching tokens are invalidated; every later tool call is denied even if a signed access token has not yet expired.

Data handling and support

EazePro records tool name, user, workspace, OAuth client, outcome, duration, and time for security and troubleshooting. It does not store MCP tool arguments or returned customer data in the connector audit log. Connected data is used only to provide the user-requested function and is governed by the Privacy Policy, Terms, and Data Deletion Policy.

Security and integration support: info@codepaper.com.