Skip to main content
Glama

MCP Svelte Docs Server

# $app/stores Definition **Definition:** Client-accessible Svelte stores reflecting navigation state. Note: Deprecated in SvelteKit 2.12+ in favor of `$app/state` (use identical APIs via runes). Existing apps may still use `$app/stores`. **Syntax:** `import { page, navigating, updated } from '$app/stores'` **Stores:** - `page` — `Readable<Page>` with params, route, data - `navigating` — `Readable<Navigating | null>` - `updated` — `Readable<boolean> & { check(): Promise<boolean> }` ## Example ```svelte <script lang="ts"> import { page, navigating, updated } from '$app/stores'; $: title = $page.url.pathname; </script> <h1>{title}</h1> {#if $navigating}<p>Loading…</p>{/if} ``` ## Related - `$app/state`, `$app/navigation`, `load`

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