@@ -29,15 +29,6 @@ These settings control how the server locates KiCad:
2929| ---------------------| -------------| ---------------| ---------|
3030| ` KICAD_APP_PATH ` | Path to the KiCad application | ` /Applications/KiCad/KiCad.app ` (macOS)<br >` C:\Program Files\KiCad ` (Windows)<br >` /usr/share/kicad ` (Linux) | ` /Applications/KiCad7/KiCad.app ` |
3131
32- ### Logging Configuration
33-
34- These settings control server logging behavior:
35-
36- | Environment Variable | Description | Default Value | Example |
37- | ---------------------| -------------| ---------------| ---------|
38- | ` LOG_LEVEL ` | Sets logging verbosity | ` INFO ` | ` DEBUG ` , ` INFO ` , ` WARNING ` , ` ERROR ` |
39- | ` LOG_DIR ` | Directory for log files | ` logs ` | ` ~/.kicad_mcp/logs ` |
40-
4132## Using a .env File (Recommended)
4233
4334The recommended way to configure the server is by creating a ` .env ` file in the project root:
@@ -69,10 +60,6 @@ The recommended way to configure the server is by creating a `.env` file in the
6960 # KICAD_APP_PATH=C:\Program Files\KiCad
7061 # Linux:
7162 # KICAD_APP_PATH=/usr/share/kicad
72-
73- # Logging configuration
74- LOG_LEVEL=INFO
75- LOG_DIR=logs
7663 ```
7764
7865## Directory Structure and Project Discovery
@@ -147,7 +134,7 @@ You can also set environment variables directly in the client configuration:
147134 ],
148135 "env" : {
149136 "KICAD_SEARCH_PATHS" : " /custom/path1,/custom/path2" ,
150- "LOG_LEVEL " : " DEBUG "
137+ "KICAD_APP_PATH " : " /custom/path "
151138 }
152139 }
153140 }
@@ -222,19 +209,14 @@ KICAD_APP_PATH=/opt/kicad
222209
223210If you're having configuration problems:
224211
225- 1 . Run the server with debug logging:
226- ``` bash
227- LOG_LEVEL=DEBUG python main.py
228- ```
229-
230- 2 . Check the logs for configuration-related messages:
212+ 1 . Run the server:
231213 ``` bash
232- cat logs/kicad_mcp_ * .log | grep " config "
214+ python main.py
233215 ```
234216
235- 3 . Verify environment variables are being loaded:
217+ 2 . Verify environment variables are being loaded:
236218 ``` bash
237219 python -c " import os; print(os.environ.get('KICAD_SEARCH_PATHS', 'Not set'))"
238220 ```
239221
240- 4 . Try absolute paths to eliminate path resolution issues
222+ 3 . Try absolute paths to eliminate path resolution issues
0 commit comments