Skip to content

# Configuration

This section covers the configuration options available in the Home Assistant MCP Server.

## Overview

The MCP Server can be configured through various configuration files and environment variables. This section will guide you through the available options and their usage.

## Configuration Files

The main configuration files are:

1. `.env` - Environment variables
2. `config.yaml` - Main configuration file
3. `devices.yaml` - Device-specific configurations

## Environment Variables

Key environment variables that can be set:

- `MCP_HOST` - Host address (default: 0.0.0.0)
- `MCP_PORT` - Port number (default: 8123)
- `MCP_LOG_LEVEL` - Logging level (default: INFO)
- `MCP_CONFIG_DIR` - Configuration directory path

## Next Steps

- See System Configuration for detailed configuration options
- Check Environment Setup for initial setup
- Review Security for security-related configurations

February 6, 2025
February 6, 2025
Was this page helpful?
Thanks for your feedback!
Thanks for your feedback! Please consider creating an issue to help us improve.

#### Cookie consent

We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better.

- Google Analytics
- GitHub

Manage settings