by gravitykit
Integrate with Gravity Forms REST API for robust form, entry, and notification management, advanced search, uploads, and
Connects to Gravity Forms REST API to manage WordPress forms, entries, submissions, and add-on feeds directly through MCP-compatible clients.
Gravity Forms is a community-built MCP server published by gravitykit that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate with Gravity Forms REST API for robust form, entry, and notification management, advanced search, uploads, and It is categorized under developer tools, productivity.
You can install Gravity Forms in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Gravity Forms is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Share your MCP server with the developer community
Gravity Forms is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
Useful MCP listing: Gravity Forms is the kind of server we cite when onboarding engineers to host + tool permissions.
Useful MCP listing: Gravity Forms is the kind of server we cite when onboarding engineers to host + tool permissions.
Gravity Forms reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
Strong directory entry: Gravity Forms surfaces stars and publisher context so we could sanity-check maintenance before adopting.
Gravity Forms is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
We wired Gravity Forms into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
Gravity Forms has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
I recommend Gravity Forms for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
According to our notes, Gravity Forms benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
showing 1-10 of 54
A Model Context Protocol (MCP) server for Gravity Forms. Interact with your WordPress forms, feeds, and entries through any MCP-compatible client.
Built by GravityKit for the Gravity Forms community.
Clone the repository
git clone https://github.com/GravityKit/GravityMCP.git
cd GravityMCP
npm install
Set up environment
cp .env.example .env
Configure credentials in .env:
GRAVITY_FORMS_CONSUMER_KEY=your_key_here
GRAVITY_FORMS_CONSUMER_SECRET=your_secret_here
GRAVITY_FORMS_BASE_URL=https://yoursite.com
For local development (Laravel Valet, MAMP, etc.):
# Add this line if using self-signed certificates
MCP_ALLOW_SELF_SIGNED_CERTS=true
Generate API credentials in WordPress:
Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"gravitymcp": {
"command": "node",
"args": ["/path/to/GravityMCP/src/index.js"],
"env": {
"GRAVITY_FORMS_CONSUMER_KEY": "your_key",
"GRAVITY_FORMS_CONSUMER_SECRET": "your_secret",
"GRAVITY_FORMS_BASE_URL": "https://yoursite.com"
}
}
}
}
gf_list_forms - List forms with filtering and paginationgf_get_form - Get complete form configurationgf_create_form - Create new forms with fieldsgf_update_form - Update existing formsgf_delete_form - Delete forms (requires ALLOW_DELETE=true)gf_validate_form - Validate form datagf_list_entries - Search entries with advanced filtersgf_get_entry - Get specific entry detailsgf_create_entry - Create new entriesgf_update_entry - Update existing entriesgf_delete_entry - Delete entries (requires ALLOW_DELETE=true)gf_add_field - Add fields with intelligent positioninggf_update_field - Update fields with dependency checkinggf_delete_field - Delete fields with cascade optionsgf_list_field_types - List available field typesgf_submit_form_data - Submit forms with full processinggf_validate_submission - Validate without submittinggf_list_feeds - List all add-on feedsgf_get_feed - Get specific feed configurationgf_list_form_feeds - List feeds for a specific formgf_create_feed - Create new add-on feedsgf_update_feed - Update existing feedsgf_patch_feed - Partially update feed propertiesgf_delete_feed - Delete add-on feedsawait mcp.call('gf_list_entries', {
search: {
field_filters: [
{ key: "1.3", value: "John", operator: "contains" },
{ key: "date_created", value: "2024-01-01", operator: ">=" }
],
mode: "all"
},
sorting: { key: "date_created", direction: "desc" }
});
await mcp.call('gf_add_field', {
form_id: 1,
field_type: 'email',
properties: {
label: 'Email Address',
isRequired: true
}
});
await mcp.call('gf_submit_form_data', {
form_id: 1,
input_1: "John Doe",
input_2: "[email protected]",
input_3: "Message content"
});
GRAVITY_FORMS_CONSUMER_KEY - API consumer keyGRAVITY_FORMS_CONSUMER_SECRET - API consumer secretGRAVITY_FORMS_BASE_URL - WordPress site URLGRAVITY_FORMS_ALLOW_DELETE=false - Enable delete operationsGRAVITY_FORMS_TIMEOUT=30000 - Request timeout (ms)GRAVITY_FORMS_DEBUG=false - Enable debug loggingMCP_ALLOW_SELF_SIGNED_CERTS=false - Allow self-signed SSL certificates (local dev only)The server supports dual environment configuration to safely test without affecting production data.
Add test site credentials to your .env file alongside production credentials:
# Production/Live Site
GRAVITY_FORMS_CONSUMER_KEY=ck_live_key
GRAVITY_FORMS_CONSUMER_SECRET=cs_live_secret
GRAVITY_FORMS_BASE_URL=https://www.yoursite.com
# Test/Staging Site (recommended for safe testing)
GRAVITY_FORMS_TEST_CONSUMER_KEY=ck_test_key
GRAVITY_FORMS_TEST_CONSUMER_SECRET=cs_test_secret
GRAVITY_FORMS_TEST_BASE_URL=https://staging.yoursite.com
# Enable test mode (optional)
GRAVITY_MCP_TEST_MODE=true
When using test configuration:
# Verify test environment configuration
GRAVITY_MCP_TEST_MODE=true npm run check-env
# Create test data on test site (requires test credentials)
npm run setup-test-data
# Run all tests against test site (auto-detects test credentials)
npm test
# Interactive testing with MCP Inspector (test mode)
GRAVITYMCP_TEST_MODE=true npm run inspect
# Run specific test suites against test site
NODE_ENV=test npm run test:forms
NODE_ENV=test npm run test:entries
NODE_ENV=test npm run test:submissions
The server automatically uses test configuration when:
GRAVITYMCP_TEST_MODE=true is setNODE_ENV=test is setThe server includes multiple safety mechanisms to prevent accidental production data contamination:
setup-test-data script will fail by default if test credentials aren't configured--force-production flag with warningsGRAVITY_FORMS_DEBUG=true for detailed logs# Run all tests
npm run test:all
# Run specific test suites
npm run test:forms
npm run test:entries
npm run test:field-operations
# Run with live API (requires credentials)
npm test
npm run check-envIf you're using a local development environment (Laravel Valet, MAMP, Local WP, etc.) with self-signed SSL certificates, you may encounter authentication errors. To fix this:
Add to your .env file:
MCP_ALLOW_SELF_SIGNED_CERTS=true
⚠️ Security Warning: Only disable SSL certificate verification for local development environments. Never use this setting in production!
MCP_ALLOW_SELF_SIGNED_CERTS=true is set if using self-signed certificatesEnable detailed logging:
GRAVITY_FORMS_DEBUG=true
GPL-2.0 License - see LICENSE file for details.
We welcome contributions from the Gravity Forms community! Whether you're building add-ons, managing forms, or integrating with other services, your insights and code contributions can help everyone.
Prerequisites
Time Estimate
15-60 minutes depending on server complexity
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
Compatibility
✓ Use when
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid when
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.