Skip to main content
Glama

MCP Svelte Docs Server

# $env/dynamic/public Definition **Definition:** Runtime (dynamic) public environment variables safe for client usage. Includes only variables with `publicPrefix` (default `PUBLIC_`). **Syntax:** `import { env } from '$env/dynamic/public'` **Notes:** - Public dynamic vars are sent from server to client; prefer `$env/static/public` when possible. ## Example ```ts import { env } from '$env/dynamic/public'; const base = env.PUBLIC_BASE_URL; ``` ## Related - `$env/static/public`, `$env/dynamic/private`

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