Troubleshooting GravityKit MCP
Setup steps are in Getting started with GravityKit MCP, and every setting named below is described in GravityKit MCP configuration settings.
The assistant has no Gravity Forms tools at all #
The server lists the Gravity Forms tools only after it connects to your site with your credentials. When it can’t connect, the tools are left out of the list, and the server’s log says why.
- Quit the app completely and open it again. MCP clients read their server list when they start.
- If you installed the Claude Desktop extension, go to Settings, then Extensions, and click the extension to check its settings.
- Check that the configuration file is valid JSON, if you added the server there. A missing comma or bracket stops the client from reading it.
- For a server added through the configuration file, confirm Node.js 18 or later is installed and that
npxruns from a terminal. The client starts the server withnpx, so it cannot launch it otherwise. - Read the server’s log. In Claude Desktop, go to Settings, then Developer, to see each server’s status and log. The log files are in
~/Library/Logs/Claudeon macOS and%APPDATA%\Claude\logson Windows, and a server added through the configuration file asgravitykit-mcpwrites tomcp-server-gravitykit-mcp.log. - A log line with
Gravity Forms client unavailablemeans the server could not read your form list. It reportsAuthentication failedfor several causes: a wrong password, the REST API turned off, an address ending in/wp-json, a site too slow to answer, or an account without Gravity Forms access. Authentication errors and Requests time out or fail intermittently below cover them.
Authentication errors #
- Confirm the Gravity Forms REST API is on: go to Forms, then Settings, then REST API, check Enabled under Enable access to the API, and click Update. Without it, Gravity Forms registers no REST routes and every call fails, whatever your credentials are.
- Re-check the credential pair. With an application password, the key is your WordPress username and the secret is the generated password, with or without its spaces. With an API key, the key starts
ck_and the secret startscs_; do not mix the two styles. - Check that the account can list forms. The server reads the form list when it starts and lists no Gravity Forms tools if it can’t, and the log reports that as failed authentication. Beyond that, access follows the WordPress user’s Gravity Forms capabilities, or the API key’s permission level. A read-only key cannot create a form, for example, and the refusal says “The API key provided does not have write permissions.”
- Check
GRAVITY_FORMS_BASE_URL, or the extension’s Your website address. It is the address of the site itself, such ashttps://example.com. With/wp-jsonat the end, the server finds neither set of tools. - If the application password was revoked in WordPress, generate a new one. Revoking takes effect immediately.
“Delete operations are disabled” #
This is the default. Deleting forms, entries, feeds, and fields stays off until you set GRAVITY_FORMS_ALLOW_DELETE to true in the env block and restart the app. In the Claude Desktop extension, check Allow Claude to delete and overwrite your data instead. Once enabled, a deleted form or entry goes to the Trash unless a request asks for permanent removal, and a deleted feed or field is removed for good.
A product tool “is disabled on this server” #
A GravityKit product tool marked as destructive, such as gv_view_delete or gb_card_delete, stays off until you permit it. To permit it, add the tool’s name, its product prefix (gv, gmig, gb, or gc), or all to GRAVITYKIT_MCP_ALLOW_DESTRUCTIVE. The prefix is the start of the tool name up to the first underscore, and a product name such as gravityboard does not work. In the Claude Desktop extension, the field is Allow only some destructive tools (optional). Restart the app afterwards. Destructive product tools explains each option.
A request is refused with a message #
Some requests are refused with a message that names what to send instead. Two of these refusals protect your data:
- An update that would remove settings.
gf_update_formandgf_update_feedreplace whole lists of settings, such as a form’s notifications. When the new list leaves out a field, notification, confirmation, or setting the form or feed has, the update is refused and the message names what would be lost. Lists without IDs, such as a field’s choices, are replaced as sent. Ask the assistant to send the complete list with your change. To remove those settings on purpose, it repeats the update with the whole property named inreplace, such asreplace: ["notifications"]. For a single field,gf_update_fieldchanges only that field, andgf_patch_feedchanges only the feed settings it is sent. - Card data or a password in an entry.
gf_create_entryandgf_update_entryrefuse a full card number, security code, expiration date, or cardholder name in a Credit Card field. They also refuse a value in a Password field, because the entries API stores both exactly as sent. Submitting the form withgf_submit_form_datamasks the card number and leaves the rest out, and a card number can also be sent already masked, such asXXXXXXXXXXXX1234.
The GravityView or other GravityKit tools are missing #
- Confirm the product is active on the connected site: GravityView 3.0 or later for the
gv_tools, GravityMigrate 2.1 or later for thegmig_tools, GravityBoard 1.6.0 or later for thegb_tools, or GravityCalendar for thegc_tools. These tools come from the site, so they cannot appear without the product. - Check the WordPress version. The product tools use the WordPress Abilities API, which WordPress added in version 6.9.
- Ask the assistant to reload abilities (the
gk_reload_abilitiestool), or restart the app. The reply names the site the product tools use and the settings their credentials come from, and lists any ability that did not become a tool, with the reason. - These tools authenticate with a WordPress username and application password. A Gravity Forms
ck_/cs_key pair authenticates the Gravity Forms tools but not these, so setGRAVITYKIT_WP_USERNAMEandGRAVITYKIT_WP_APP_PASSWORDif that is the credential you configured. Until then, the reply fromgk_reload_abilitiessays no abilities catalog answered. - If you set
GRAVITYKIT_WP_URL, check that it names the same site asGRAVITY_FORMS_BASE_URL. When the two have different hosts, the server logs a warning startingSplit targetthat names both. - A client that reads the tool list only once, such as Claude Code run with
claude -p, can miss product tools that are still loading. RaiseGRAVITYKIT_MCP_LIST_TIMEOUT_MSabove its 2000 millisecond default so the list waits for them.
A GravityView tool answers “Sorry, you are not allowed to execute this ability” #
The WordPress user the server signs in as is missing a capability the tool checks. The GravityView tools check these:
- Tools that list what the site offers, such as
gv_layouts_listandgv_views_list, need one ofedit_gravityviews,edit_others_gravityviews, oredit_published_gravityviews.gv_views_listreturns only the Views the user can edit. - Tools that read or change one View need permission to edit that View. For a View another user created, that takes
edit_others_gravityviews, andedit_published_gravityviewsonce the View is published. - Publishing a View also needs
publish_gravityviews, and moving one to the trash or deleting it needs the matching delete capabilities.
GravityView refuses all of these to a user without unfiltered_html, unless the user has gravityview_full_access. Full access grants every GravityView capability, deleting Views and changing settings included, so add unfiltered_html to the role instead. GravityView capabilities lists each capability and the roles that have it.
On a multisite network only Super Admins have unfiltered_html, and with DISALLOW_UNFILTERED_HTML set in wp-config.php nobody has it. There, the gravityview/security/require_unfiltered_html filter turns the requirement off for the users you choose.
SSL certificate errors on a local site #
Local development tools such as Laravel Valet, MAMP, and Local WP can serve a site with a self-signed certificate, which the server rejects by default. Add this to the env block and restart:
"GRAVITY_FORMS_ALLOW_SELF_SIGNED_CERTS": "true"Warning: Use this for local development only. Never disable certificate verification against a production site.
The Claude Desktop extension has no field for this setting, so for a local site with a self-signed certificate, add the server through the configuration file instead.
The site is on plain HTTP #
Local URLs (localhost, *.test, *.local) work over HTTP without any extra setting. A remote plain-HTTP host is different: the server refuses to send Basic authentication credentials over it, because they would be readable on the network. A Gravity Forms key pair switches to OAuth 1.0a automatically and works. An application password needs GRAVITY_FORMS_ALLOW_HTTP_BASIC_AUTH=true, which the server accepts with a warning. Moving the site to HTTPS is the better fix.
Requests time out or fail intermittently #
If your site is slow to answer, raise GRAVITY_FORMS_TIMEOUT above its 30000 millisecond default. The GravityKit product tools use the same value unless GRAVITYKIT_TIMEOUT is set. A large entry query takes longer than a small one, so asking for a smaller page of results also helps.
The server does not retry a failed request on its own, so ask the assistant to try again once the site responds. GRAVITY_FORMS_MAX_RETRIES applies only to loading the GravityKit product tools.
Getting more detail #
Set GRAVITY_FORMS_DEBUG to true in the env block and restart. The log then records each Gravity Forms request’s method and URL, the response status, and which authentication method was selected, which shows whether calls reach your site and how they fail. The product tools’ requests are not in it, though their errors are logged either way. Request and response bodies are not logged, and keys and secrets in URLs are masked.
Still stuck #
GravityKit MCP is open source. Report a bug or ask a question in the GravityKit MCP issue tracker on GitHub, or contact GravityKit support.
- The assistant has no Gravity Forms tools at all
- Authentication errors
- “Delete operations are disabled”
- A product tool “is disabled on this server”
- A request is refused with a message
- The GravityView or other GravityKit tools are missing
- A GravityView tool answers “Sorry, you are not allowed to execute this ability”
- SSL certificate errors on a local site
- The site is on plain HTTP
- Requests time out or fail intermittently
- Getting more detail
- Still stuck