# Photon MCP MCP

Vendor: Photon MCP  
Category: communication  
Auth: OAUTH2  
Composio slug: `photon_mcp`

Manage Photon messaging projects, resources, conversations, voice profiles and webhooks through its official hosted MCP server.

## Tools

- **Assignsmslinecampaign** — Assign or replace SMS line campaign

Attach a ready campaign from this project’s organization to its line. Requires platforms:write for the project; human and machine actors retain their authenticated identity. Requires a permanent Idempote
- **Assignvoicelineprofile** — Assign Voice line profile

Assigns or replaces a line's explicit additional-profile override when the resource version matches. The current default cannot be assigned explicitly. The pstn_voice ability remains the admission source of truth.
- **Batchupdatevoicelineprofileassignments** — Batch update Voice line assignments

Atomically sets additional-profile overrides or switches lines back to the project default for up to 100 Voice-capable lines. A null profileId means use the default. Every expected resource version must 
- **Begintotpenrollment** — Begin TOTP enrollment

Requires a first-party interactive Account credential authenticated no more than 300 seconds ago. Returns one-time secret material.
- **Canceloperation** — Cancel operation

Withdraws a provision that has not been fulfilled yet. This is an operations action rather than a DELETE, because there is nothing to delete: no resource exists until the work commits. Whether it is accepted depends on the
- **Checkprojectslugavailability** — Check project slug availability

Reports whether createProject would accept `slug` right now. Advisory: only the create itself allocates, so a caller must still handle SLUG_TAKEN. A malformed slug is rejected on shape; a reserved slug, a sl
- **Commitaccountprofilepicture** — Commit profile picture

Commits a profile picture previously uploaded through createAccountProfilePictureUpload. Call this only after the direct multipart upload succeeds, using the uploadId from the same upload session and a stable Idempot
- **Commitagentprofileavatar** — Commit agent avatar

Commits an agent avatar previously uploaded through createAgentProfileAvatarUpload. Call this only after the direct multipart upload succeeds, using the uploadId from the same upload session and a stable Idempotency-Key
- **Connectemaildomain** — Connect email domain

Reserves a normalized DNS domain and starts its durable email-provider setup. The accepted provision consumes one email-domain entitlement slot until it fails, is cancelled, or becomes a live resource; the plan's email
- **Connecttelegrambot** — Connect Telegram bot

Starts a free managed Telegram bot connection. Each project may have one unfinished Telegram provision, including user interaction and failure cleanup. A different Idempotency-Key while one is active returns 409 TELEGR
- **Countfilteredverificationcodes** — Count filtered verification codes

Counts the verification codes Photon kept from this project's dedicated lines and numbers, optionally for one `platform`. Without `receivedAfter` and `receivedBefore` the window is the 30 days before the r
- **Countmessages** — Count Messages

Counts matching Messages before pagination. Delivery updates do not add Messages; results are eventually consistent.
- **Countprojects** — Count projects

Counts the projects the same filter would list. The count is read from the primary, so it is authoritative rather than replica-lagged.
- **Countresourcefilteredverificationcodes** — Count a line's filtered verification codes

Counts the verification codes Photon kept from one dedicated line or number. Without `receivedAfter` and `receivedBefore` the window is the 30 days before the request; a window longer than 366 day
- **Countspaces** — Count Spaces

Counts distinct Spaces matching the list filters; multiple matching Messages count once. Results are eventually consistent.
- **Countusers** — Count Users

Counts distinct Users matching the list filters, including incoming senders or outgoing recipients selected by Message filters. Results are eventually consistent.
- **Createaccountprofilepictureupload** — Create profile picture upload

Creates a ten-minute, Account-bound presigned S3 POST for a JPEG, PNG, or WebP profile picture up to 5 MiB. Copy every returned formFields entry into a multipart/form-data request to uploadUrl, append the loca
- **Createagentprofileavatarupload** — Create agent avatar upload

Creates a ten-minute, Project-bound presigned S3 POST for a JPEG, PNG, or WebP agent avatar up to 5 MiB. Copy every returned formFields entry into a multipart/form-data request to uploadUrl, append the local file
- **Createdefaultvoiceprofile** — Create default Voice profile

Creates the project default Voice profile when absent. An identical replay returns the existing default without changing its version; a different existing default conflicts. Direction configuration is managed s
- **Createorgetspace** — Create or get a Space

Creates or returns a project Space. Idempotency-Key is required for every platform and binds the project, platform and initial User IDs (unordered except the iMessage creator in first position) for 24 hours after work
- **Createorgetuser** — Create or get a User

Creates or reconciles a User by normalized handle. WhatsApp and iMessage phone classification uses line allocation and project ownership; New iMessage email handles start as Human without lookup; existing email identit
- **Createproject** — Create project

Creates in the authorized organization. In addition to account credentials, explicitly granted Service Identity API keys and M2M tokens may create projects. Project API keys cannot create projects. Creator and private creden
- **Createsharedlineassignment** — Create shared line assignment

Maps an end user's iMessage handle — an E.164 phone number or an email address — onto one of the project's pooled shared iMessage lines, consuming a seat from the project's entitlement. The assigned number is 
- **Createvoiceprofile** — Create Voice profile

Creates a direction-neutral additional Voice profile. The project default must already exist. Requires platforms:write bound to the path project.
- **Createwhatsappsharedlineassignment** — Create WhatsApp shared line assignment

Maps an end user's phone number onto one of the project's pooled shared WhatsApp lines, consuming a seat from the project's WhatsApp entitlement. The assigned number is allocated by the server. When a
- **Createwhatsappvoipsender** — Create WhatsApp VoIP sender

Registers an active, SMS-capable Photon VoIP line on this project's connected WhatsApp Business Account. The account is resolved server-side; callers never select a WABA. The platform creates or reuses the Meta 
- **Deleteaccount** — Delete account

Deletes the authenticated account and returns its account tombstone. The operation is rejected while the account still owns organizations; transfer or close those organizations before retrying. This endpoint acts on the call
- **Deleteproject** — Delete project

Starts deletion of the identified project using a credential authorized for project management. Inspect the documented response and use getProjectClosureStatus with the organization and project identifiers to read closure pr
- **Deletetotpfactor** — Delete a TOTP factor

Requires a first-party interactive Account credential authenticated no more than 300 seconds ago. Ownership is verified before deletion.
- **Deletevoiceprofile** — Delete Voice profile

Deletes an additional profile when expectedVersion matches. Assigned profiles require force=true, which atomically removes every stored override so affected lines follow the default. The default can never be deleted. R
- **Deletevoiceprofileinbound** — Delete Voice inbound configuration

Removes a profile's inbound destination when the shared profile version matches. The profileId may identify the default or an additional profile. The profile and its line assignments remain. Requires plat
- **Deletevoiceprofileoutbound** — Revoke Voice outbound credential

Revokes outbound calling for a profile when the shared profile version matches. The profileId may identify the default or an additional profile. The profile, inbound destination, and line assignments remain
- **Deletewebhookdestination** — Delete webhook destination

Deletes the selected project's destination and returns its stable tombstone. Repeated deletion returns the deletion representation. This operation removes the destination configuration; it is separate from disabl
- **Disconnectwhatsappbusinessaccount** — Disconnect WhatsApp Business account

Disconnects every attached WhatsApp sender, then unsubscribes our app and removes the project's business account connection. Photon VoIP lines and the numbers in Meta remain. Requires Idempotency-Key. P
- **Getaccount** — Get account

Returns the profile of the authenticated account. The account is selected from the credential rather than a request parameter. A missing or deleted account is reported as an error instead of an empty profile.
- **Getagentprofile** — Get agent profile

Returns the agent profile belonging to the identified project. The profile is project-scoped and is distinct from the authenticated account's personal profile. Use the dedicated avatar operations when uploading or removin
- **Getattachment** — Get attachment

Returns an Attachment's metadata. Use the content endpoint to download its bytes.
- **Getbillingoperation** — Get billing operation

Returns the authoritative state of a billing operation belonging to the selected project. Use it to recover or poll a plan-change request until the operation reaches success or failure. An accepted request is not evid
- **Getbillingoverview** — Get project billing overview

Returns the selected project's plan information, entitlements and current billing-period usage. This operation reads project billing state; it does not change plans or the payer's payment method. Organization-l
- **Getcurrentorganization** — Read the credential's organization

Reads the organization the credential is bound to: the organization an OAuth grant was consented for, or a Service Identity's own organization. Use it to discover which organization an integration acts fo
- **Getdefaultvoiceprofile** — Get default Voice profile

Gets the profile currently selected as the project default, including its optional inbound delivery state. Requires platforms:read bound to the path project.
- **Geteffectiveterms** — Get the project's effective billing terms

Returns what the selected project is billed on now, per category it holds: the plan as its subscription has it, with any override applied, each fixed charge at the subscription's price and quantity
- **Getemaildeliverymetrics** — Get email delivery metrics

Reads cached supplementary email series for the exact Project and rolling day or week. Coverage is eligible single-recipient messages; multi-recipient and simulator traffic is excluded. Observed complaints includ
- **Getemailsendingpolicies** — Get email sending policies

Reads Organization email recipient allowances shared across all its Projects, with rolling 60-second and 24-hour windows. Also returns Project and Organization review status and Photon policy pauses. Projects hav
- **Getmessage** — Get a Message

Returns one stored Message by canonical Photon Message ID on any supported contract platform. The globally unique Message ID is resolved within the authorized Project. Unsupported platform Messages are outside this collection
- **Getmessagemetricsbackfill** — Get metrics backfill status

Returns historical metrics update progress. Completion reflects lastVerifiedAt; queries remain available during updates.
- **Getmessagemetricssqlschema** — Get metrics SQL schema

Returns the message_events and call_events SQL schema, supported queries, and limits for the selected API version.
- **Getmfastatus** — Get MFA status

Requires a first-party interactive Account credential. Account Service Keys and third-party OAuth grants are not accepted.
- **Getoperation** — Get operation

Reads one operation using the same operation representation as creation and list. The API includes detail.setupUrl only with platforms:write for this project. This is the polling endpoint every asynchronous request here point
- **Getorganizationbillingoverview** — Get organization billing overview

Returns the selected organization’s billing subscription and entitlementsVersion. The subscription can be null. Read the returned plan, charges and entitlements to inspect organization billing; this operat

## Setup

1. Create or open a Switchy Project.
2. Open Integrations and connect Photon MCP.
3. Authorise through oauth2.
4. Teammates can now @-mention Photon MCP tools in chat.

---
Last verified: 2026-12-03T02:30:21.129Z  
Canonical URL: https://switchy.build/directory/mcps/photon-mcp