# $env/static/public Definition
**Definition:** Build-time (static) public environment variables safe
for client usage. Includes only variables with `publicPrefix` (default
`PUBLIC_`).
**Syntax:** `import { PUBLIC_... } from '$env/static/public'`
**Notes:**
- Values are statically replaced at build time.
## Example
```ts
import { PUBLIC_BASE_URL } from '$env/static/public';
```
## Related
- `$env/static/private`, `$env/dynamic/public`
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