Skip to main content
Glama

MCP Svelte Docs Server

# rest-parameters Definition **Definition:** Route segment syntax `[...name]` captures the remainder of a path into `params.name`, possibly empty. **Syntax:** `src/routes/a/[...rest]/z/+page.svelte` matches `/a/z`, `/a/b/z`, `/a/b/c/z`, ... **Returns:** `params.rest` with `/`-joined remainder. ## Example ```txt /[org]/[repo]/tree/[branch]/[...file] ``` `/sveltejs/kit/tree/main/documentation/docs/file.md` → `{ org, repo, branch, file: 'documentation/docs/file.md' }` ## Related - `optional-parameters`, `param-matchers`, `advanced-routing`

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