Export WPForms Entries as CSV


Exports a WPForms form's entries to CSV text, given its form ID. Returns the CSV content inline.

Also known as: export leads, download submissions, spreadsheet of entries.

Property Value
Ability slug mosmcp/wpforms-export-entries-csv
Wire tool name mosmcp__wpforms-export-entries-csv
Category Forms & Leads (mosmcp-forms)
Plan Free

 

Required access

Requirement Value
Capability manage_options
Minimum default role Administrator
Requires Contact Form 7 (with Flamingo for stored submissions), WPForms or Gravity Forms — each form plugin's abilities appear only when that plugin is active
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
id integer Yes — The WPForms form ID (required).

 

Output schema

Field Type Required
csv string Yes
row_count integer Yes

 

Example

Sample prompt
Export the entries from my WPForms quote form as a CSV.

Example request (json)

{
  "jsonrpc": "2.0",
  "id": 440,
  "method": "tools/call",
  "params": {
    "name": "mosmcp__wpforms-export-entries-csv",
    "arguments": {
      "input": {
        "id": 210
      }
    }
  }
}

Example response (json)

{
  "jsonrpc": "2.0",
  "id": 440,
  "result": {
    "isError": false,
    "structuredContent": {
      "csv": "id,form_id,date,status,viewed,fields
502,210,\"2026-09-28 11:40:22\",,1,\"{\"\"0\"\":{\"\"name\"\":\"\"Name\"\",\"\"value\"\":\"\"Jane Doe\"\"}}\"
", "row_count": 1 } } }

 

Edge cases / errors

  • id missing or 0 → moca_missing_form_id error; WPForms entry storage unavailable → mosmcp_feature_unavailable.
  • No paging is passed, so WPForms' own default result limit applies and very large forms may not be exported in full; check row_count against mosmcp/wpforms-count-entries.
  • The fields column is JSON per row; cells beginning with = + - @ are quote-prefixed to prevent formula injection.
  • No entries → empty csv string and row_count: 0.

 


<< Previous Next >>
Export Gravity Forms Entries as CSV Get Contact Form 7 Form by ID

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.