Skip to main content
Glama

MCP Svelte Docs Server

# $app/forms Definition **Definition:** Client helpers for progressive form enhancement and action results. **Syntax:** `import { enhance, applyAction, deserialize } from '$app/forms'` **Functions:** - `enhance(form, submit?)` — use:enhance or programmatic; optional callback per submit - `applyAction(result)` — apply an `ActionResult` to the current page - `deserialize(text)` — parse ActionResult from a fetch response ## Example ```svelte <script lang="ts"> import { enhance } from '$app/forms'; </script> <form method="POST" use:enhance> <!-- ... --> </form> ``` ## Related - `enhance`, `actions`, `fail`

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/spences10/mcp-svelte-docs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server