[**European Parliament MCP Server API v1.3.9**](../../../README.md)

***

[European Parliament MCP Server API](../../../modules.md) / [server/cli](../README.md) / sanitizeUrl

# Function: sanitizeUrl()

> **sanitizeUrl**(`urlString`): `string`

Defined in: [server/cli.ts:32](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/server/cli.ts#L32)

**`Internal`**

Sanitize URL to remove credentials.

## Parameters

### urlString

`string`

URL to sanitize

## Returns

`string`

Sanitized URL without credentials
