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
Copy file name to clipboardExpand all lines: docs/tutorials/mcp.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,16 @@
2
2
3
3
## I just want to set up the MCP
4
4
5
-
First, you'll need to set up the GUM in general, and have it build some sense of your context. To do this, follow the instructions on [the front page here.](../index.md) You'll also need a client that supports MCP (e.g. the Claude Desktop app).
5
+
First, you'll need to set up the GUM in general and have it build some sense of your context. To do this, follow the instructions on [the front page here.](../index.md). You'll also need a client that supports MCP. One example client is the MacOS Claude Desktop app, which you can download [here](https://claude.ai/download). The Claude desktop app requires the uv package manager for MCP, so you'll need to follow [the instructions on the uv website](https://docs.astral.sh/uv/getting-started/installation/) (or simply ```brew install uv```).
6
6
7
7
Once you're done with that, just clone the [MCP Repository](https://github.com/GeneralUserModels/gumcp) and run the following:
Once you're in the gumcp folder, create a .env file with your environment variables. All you need is a user name in the file (e.g.```USER_NAME="Omar Shaikh"```). In sum, the contents of your .env file looks something like this:
14
+
In the gumcp folder, create a .env file with your environment variables. All you need is a user name in the file (e.g.```USER_NAME="Omar Shaikh"```). In sum, the contents of your .env file looks something like this:
17
15
18
16
```bash
19
17
USER_NAME="Omar Shaikh"
@@ -22,11 +20,14 @@ USER_NAME="Omar Shaikh"
22
20
Finally, install the MCP client, pointing to the .env file:
23
21
24
22
```bash
25
-
> mcp install server.py -f .env --with gum-ai
23
+
>uv run mcp install server.py -f .env --with gum-ai
26
24
```
27
25
28
26
The MCP should then be enabled in the Claude app!
29
27
28
+
!!! note "The MCP **only** connects clients like the Claude app to the GUM."
29
+
Simply enabling the MCP does not mean the GUM is learning. You still need to have the background GUM process running to build the underlying database of propositions (e.g. from the instructions on [the front page here.](../index.md))
30
+
30
31
## Tutorial
31
32
32
33
(coming soon: a walkthough on how this was built!)
0 commit comments