Can I use · Agent

Can I use Hooks?

The client runs a command or prompt you configure when something happens in the session, such as before a tool call. 5 of 13 clients document it, 0 describe a limit, 0 say it is missing, and 8 do not say.
ClientHooks
Claude CodeYesHooks are commands, HTTP calls, MCP tool calls, or prompts on events such as PreToolUse, set in settings.json or a plugin. source · 2026-11-30
Claude Desktop / claude.aiUnknownThe custom-connector article checked for the install guide does not say whether this works. source · 2026-10-25
ChatGPTUnknownThe install guide checked on 2026-10-25 does not say whether this works. source · 2026-10-25
CursorYesHooks are scripts in .cursor/hooks.json or ~/.cursor/hooks.json, on events such as preToolUse and beforeShellExecution. source · 2026-11-30
VS CodeUnknownThe "Add and use MCP servers" page does not say whether this works. source · 2026-11-29
CodexYesHooks are on by default: scripts or MCP tools on events such as PreToolUse, in hooks.json or config.toml, trusted before they run. Cloud runs only managed MCP hooks. source · 2026-11-30
Gemini CLIYesHooks are scripts in settings.json on events such as BeforeTool and AfterTool. Extensions can add their own. source · 2026-11-30
Copilot CLIUnknownThe "add MCP servers" page does not say whether this works. source · 2026-11-29
WindsurfYesHooks are commands or prompts on agent events, configured in .devin/hooks.v1.json. They do not run in Restricted Mode. source · 2026-11-29
ZedUnknownThe MCP docs does not say whether this works. source · 2026-11-29
OpenCodeUnknownThe MCP server docs does not say whether this works. source · 2026-11-29
KiroUnknownThe MCP configuration page does not say whether this works. source · 2026-11-29
ClineUnknownThe MCP overview does not say whether this works. source · 2026-11-29
  • Claude CodeYes · checked 2026-11-30

    Hooks are commands, HTTP calls, MCP tool calls, or prompts on events such as PreToolUse, set in settings.json or a plugin.

    Source

  • Claude Desktop / claude.aiUnknown · checked 2026-10-25

    The custom-connector article checked for the install guide does not say whether this works.

    Source

  • ChatGPTUnknown · checked 2026-10-25

    The install guide checked on 2026-10-25 does not say whether this works.

    Source

  • CursorYes · checked 2026-11-30

    Hooks are scripts in .cursor/hooks.json or ~/.cursor/hooks.json, on events such as preToolUse and beforeShellExecution.

    Source

  • VS CodeUnknown · checked 2026-11-29

    The "Add and use MCP servers" page does not say whether this works.

    Source

  • CodexYes · checked 2026-11-30

    Hooks are on by default: scripts or MCP tools on events such as PreToolUse, in hooks.json or config.toml, trusted before they run. Cloud runs only managed MCP hooks.

    Source

  • Gemini CLIYes · checked 2026-11-30

    Hooks are scripts in settings.json on events such as BeforeTool and AfterTool. Extensions can add their own.

    Source

  • Copilot CLIUnknown · checked 2026-11-29

    The "add MCP servers" page does not say whether this works.

    Source

  • WindsurfYes · checked 2026-11-29

    Hooks are commands or prompts on agent events, configured in .devin/hooks.v1.json. They do not run in Restricted Mode.

    Source

  • ZedUnknown · checked 2026-11-29

    The MCP docs does not say whether this works.

    Source

  • OpenCodeUnknown · checked 2026-11-29

    The MCP server docs does not say whether this works.

    Source

  • KiroUnknown · checked 2026-11-29

    The MCP configuration page does not say whether this works.

    Source

  • ClineUnknown · checked 2026-11-29

    The MCP overview does not say whether this works.

    Source

Other features: Tools · Prompts · Resources · Remote · stdio · OAuth · Sampling · Elicit · Roots · Apps · Skills · Rules

FAQ

Which AI clients support Hooks?+

Claude Code, Cursor, Codex, Gemini CLI, Windsurf

What does Unknown mean on this page?+

The page I checked for that client, linked in the cell, does not say either way. It is not a claim that the feature is missing.