You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Prepare templated env vars and args for use
* Fix: mcpd daemon --addr flag defaults to 0.0.0.0 bind address (localhost used when --dev mode is supplied)
* Update daemon context to honour interrupt signal (not just terminate signal)
* Update Environ() on Server to handle merging, filtering*, and expanding env vars (these are supplied to STDIO MCP client's env)
* Args supplied to STDIO MCP client are now resolved (from ${} )
*Filtering: is currently based on the proposed format for the command: mcpd config export
* Dockerfile
* Dockerfile and docker-compose added
* Updated Makefile to make building for linux easier
* Improve end user error information
* docs updates
Copy file name to clipboardExpand all lines: docs/makefile.md
+50-16Lines changed: 50 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,19 @@ The `mcpd` project includes a `Makefile` to streamline common developer tasks.
12
12
!!! note "Environment"
13
13
Most commands assume you have Go installed and available in your `PATH`.
14
14
15
-
### 🧱 Build Commands
15
+
### 🧱 Build
16
16
17
17
-**Build the binary**
18
18
```bash
19
19
make build
20
20
```
21
21
22
+
!!! tip "Architectures and Operating Systems"
23
+
You can explicitly build the binary for a different architecture (`amd64/arm64`) or operating systems with:
24
+
25
+
*`make build-linux`
26
+
*`make build-linux-arm64`
27
+
22
28
- **Remove the compiled binary from the working directory**
23
29
```bash
24
30
make clean
@@ -29,14 +35,18 @@ The `mcpd` project includes a `Makefile` to streamline common developer tasks.
29
35
sudo make install
30
36
```
31
37
38
+
!!! note "Dependency"
39
+
The `install` target relies on the standard `build` target.
40
+
41
+
32
42
- **Uninstall the binary**
33
43
```bash
34
44
sudo make uninstall
35
45
```
36
46
37
47
---
38
48
39
-
### 🧪 Test Commands
49
+
### 🧪 Test
40
50
41
51
- **Run all Go tests**
42
52
```bash
@@ -45,7 +55,27 @@ The `mcpd` project includes a `Makefile` to streamline common developer tasks.
45
55
46
56
---
47
57
48
-
## 📝 Documentation Commands
58
+
### 🐳 Run
59
+
60
+
- **Start `mcpd`in a container**
61
+
```bash
62
+
make local-up
63
+
```
64
+
65
+
!!! warning "Default files"
66
+
By default the following files will be mounted to the container:
67
+
68
+
*`.mcpd.toml` - the project configuration file in this repository
69
+
*`~/.config/mcpd/secrets.dev.toml` - the default location for runtime configuration
70
+
71
+
- **Stop mcpd**
72
+
```bash
73
+
make local-down
74
+
```
75
+
76
+
---
77
+
78
+
### 📝 Documentation
49
79
50
80
These commands manage the [MkDocs](https://www.mkdocs.org) developer documentation site for`mcpd`.
51
81
@@ -69,24 +99,28 @@ These commands manage the [MkDocs](https://www.mkdocs.org) developer documentati
69
99
make docs
70
100
```
71
101
72
-
!!! tip "First time?"
73
-
The `docs-local`command will create a virtual environment using `uv`, install MkDocs + Material theme, and start the local server at [http://localhost:8000](http://localhost:8000).
102
+
!!! tip "First time?"
103
+
The `docs-local`command will create a virtual environment using `uv`, install MkDocs + Material theme, and start the local server at [http://localhost:8000](http://localhost:8000).
0 commit comments