We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/s2005/wcli0'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
initialDirConfig.md•749 B
# initialDirConfig
- **valid initialDir with restriction adds to allowedPaths** – verifies that a provided initial directory is normalized and added to `allowedPaths` when `restrictWorkingDirectory` is true.
- **valid initialDir without restriction leaves allowedPaths unchanged** – ensures the path is normalized but not appended when restrictions are disabled.
- **invalid initialDir logs warning and is undefined** – an invalid path triggers a warning and the setting becomes `undefined`.
- **initialDir omitted results in undefined** – confirms the default when no `initialDir` is specified.
- **non-string initialDir preserved when null without warning** – a `null` value remains in the configuration and does not trigger a warning.