Cognito Forms MCP by usefulapi

v1.1.0
io.usefulapi/cognito-forms Checked 18 hours ago Published 8 days ago

List forms and entries, read files, and create, update or delete entries in Cognito Forms.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

cognitoforms_list_forms List forms

List the forms the API key can access, with each form's id and name. Good first call to find a form id. REST: GET /api/forms.

cognitoforms_get_form_schema Get a form schema

Get a form's schema: field names, types and choices. Use the field names when you create or update entries. REST: GET /api/forms/{formId}/schema.

ParameterTypeDescription
form_id *stringThe form id (from cognitoforms_list_forms).
include_linksbooleanInclude links in the schema (default false).
inputbooleanReturn the schema for incoming API requests (default false).

cognitoforms_list_entries List entries in a view

List the entries of one form view through the OData service. Set count to get the total, or ids_only to get entry ids only. The vendor OData reference does not list view ids, so pass the id of the view you want. OData: GET /api/odata/Forms({formId})/Views({viewId})/Entries.

ParameterTypeDescription
form_id *stringThe form id (from cognitoforms_list_forms).
view_id *stringThe view id whose entries you want (see the form's views in Cognito Forms).
countbooleanReturn the number of entries ($count=true).
ids_onlybooleanReturn entry ids only ($select=Id).

cognitoforms_get_entry Get an entry

Get one entry with its field values and metadata (links to documents and the admin view). REST: GET /api/forms/{formId}/entries/{entryId}.

ParameterTypeDescription
entry_id *stringThe entry id (from cognitoforms_list_entries).
form_id *stringThe form id (from cognitoforms_list_forms).

cognitoforms_get_entry_file Get an entry file

Get an uploaded file from an entry: name, type, size and file link. The base64 body comes only when include_content is true. REST: GET /api/forms/{formId}/entries/{entryId}/files/{fileId}.

ParameterTypeDescription
entry_id *stringThe entry id (from cognitoforms_list_entries).
file_id *stringThe file id from the entry's field value.
form_id *stringThe form id (from cognitoforms_list_forms).
include_contentbooleanReturn the base64 file body. Default false (metadata only); large files make big results.

cognitoforms_get_entry_document Get a generated document

Get a document generated from an entry by a document template: name, type, size and file link. The base64 body comes only when include_content is true. REST: GET /api/forms/{formId}/entries/{entryId}/documents/{templateId}.

ParameterTypeDescription
entry_id *stringThe entry id (from cognitoforms_list_entries).
form_id *stringThe form id (from cognitoforms_list_forms).
template_id *stringThe document template id.
include_contentbooleanReturn the base64 file body. Default false (metadata only); large files make big results.

cognitoforms_create_entry Create an entry

Submit a new entry to a form with the given field values. The form's notifications, workflows and payments run as they do for a submission. REST: POST /api/forms/{formId}/entries.

ParameterTypeDescription
fields *objectField values keyed by the form's field names (see cognitoforms_get_form_schema). Do not set Entry.
form_id *stringThe form id (from cognitoforms_list_forms).

cognitoforms_update_entry Update an entry

Update the given field values of an existing entry. Fields you leave out keep their values. REST: PATCH /api/forms/{formId}/entries/{entryId}.

ParameterTypeDescription
entry_id *stringThe entry id (from cognitoforms_list_entries).
fields *objectField values keyed by the form's field names (see cognitoforms_get_form_schema). Do not set Entry.
form_id *stringThe form id (from cognitoforms_list_forms).

cognitoforms_delete_entry Delete an entry

Permanently delete one entry, with its files and documents. Confirm the entry id first. REST: DELETE /api/forms/{formId}/entries/{entryId}.

ParameterTypeDescription
entry_id *stringThe entry id (from cognitoforms_list_entries).
form_id *stringThe form id (from cognitoforms_list_forms).