Deformity
← Back to Help Center

MCP Server

New to MCP? What is it?

MCP, or Model Context Protocol, is a standard way for AI assistants to connect to tools and data. Deformity's MCP server lets your chosen assistant work with your forms through plain-language requests, such as creating a form, reviewing submissions, or summarizing response trends. You stay in control of the connection and can disconnect it at any time.

Deformity's MCP server lets ChatGPT Work, Codex, Claude, Cursor, and other MCP-compatible tools work with your Deformity account. Once connected, an assistant can create forms, update existing forms, list workspaces, and fetch submissions when you ask it to analyze response data.

MCP access is free for all users. ChatGPT Work and Codex connect with OAuth, so you do not need to copy an API key into those products.

Server URL

https://deformity.ai/api/mcp

ChatGPT Work

ChatGPT Work may label this area Connectors or Plugins, depending on your workspace version.

  1. Sign in to Deformity, then open ChatGPT Work in the same browser.
  2. Open Settings → Connectors (or Plugins → Add MCP server).
  3. Add https://deformity.ai/api/mcp as a remote MCP server.
  4. Choose OAuth, complete the Deformity sign-in and consent screens, and approve the connection.
  5. Start a new chat, enable the Deformity connector, and ask it to list your workspaces to verify the connection.

If you cannot add the server, your ChatGPT Work administrator may need to allow custom MCP servers or approve the connector.

Codex

  1. Add https://deformity.ai/api/mcp as a remote MCP server in your Codex client.
  2. Choose OAuth when Codex asks how to authenticate.
  3. Complete the Deformity sign-in and consent screens in your browser.
  4. Start a new Codex task, then ask it to call list_workspaces to verify that the connection works.

OAuth is supported by remote MCP clients. If your Codex client only accepts static headers, use the API-key setup below.

Claude and Claude Desktop

  1. Open Settings → Connectors in Claude.
  2. Select Add custom connector and enterhttps://deformity.ai/api/mcp as the connector URL.
  3. Click Add, then Connect and complete the Deformity OAuth sign-in and consent screens.
  4. In a chat, open Search and tools, enable the Deformity connector, and ask it to list your workspaces.

Claude Team and Enterprise workspaces may require an owner or primary owner to add the custom connector first. Claude Desktop remote connectors are also configured from Settings → Connectors. Do not add this remote server to claude_desktop_config.json.

Claude Code

Claude Code can authenticate remote MCP servers with OAuth from the/mcp command:

claude mcp add --transport http deformity https://deformity.ai/api/mcp
claude
> /mcp

Follow the browser sign-in flow shown by Claude Code, then enable the server. If your Claude Code version does not offer OAuth, use the API-key command in the section below.

API-key authentication for other clients

  1. Open Account - API Keys.
  2. Create a key in the Deformity External API section.
  3. Copy the key immediately. It is only shown once.
  4. Configure your MCP client to send Authorization: Bearer df_your_api_key.

Cursor and JSON-based clients

Use this configuration shape for clients that support remote HTTP MCP servers with custom headers.

{
  "mcpServers": {
    "deformity": {
      "url": "https://deformity.ai/api/mcp",
      "headers": {
        "Authorization": "Bearer df_your_api_key"
      }
    }
  }
}

Claude Code

claude mcp add deformity --transport http https://deformity.ai/api/mcp \
  --header "Authorization: Bearer df_your_api_key"

Recommended workflow

  1. Ask the assistant to call list_workspaces first so it can find the right workspaceId.
  2. Ask it to create a form from a brief, or give it exact questions and tell it whether the form should be AI-driven or static.
  3. Use get_form before making changes to an existing form.
  4. Ask for submission analysis only when you want response data pulled into the assistant.

Available tools

ToolWhat it does
list_workspacesFind workspaces available to your API key.
list_formsList active forms in your organization.
get_formFetch a form with settings and ordered points.
create_formCreate an AI or static form.
update_formUpdate form metadata, settings, form type, or points.
list_submissionsFetch recent submissions for analysis.
get_submissionFetch one submission by ID.

Example prompts

  • Create a customer intake form in my Default workspace with questions for company name, goals, budget, timeline, and file upload.
  • Find my onboarding feedback form and add a required rating question.
  • Pull the latest submissions from my event survey and summarize the top themes.

Safety notes

The MCP server can create and update forms, but it does not expose deletion tools. Submission data is only fetched when you ask your assistant to use the submission tools.

More reference

Form payloads use the same shape as the External API. Use that reference for supported form fields, settings, point types, and point body fields.