---
title: mcp_config
sidebarTitle: mcp_config
---
# `fastmcp.utilities.mcp_config`
## Functions
### `composite_server_from_mcp_config`
```python
composite_server_from_mcp_config(config: MCPConfig, name_as_prefix: bool = True) -> FastMCP
```
A utility function to create a composite server from an MCPConfig.
### `mount_mcp_config_into_server`
```python
mount_mcp_config_into_server(config: MCPConfig, server: FastMCP, name_as_prefix: bool = True) -> None
```
A utility function to mount the servers from an MCPConfig into a FastMCP server.