Skip to content

Commit 138659d

Browse files
committed
docs: simplify MCP setup to 2 commands
1 parent 320f9cc commit 138659d

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -142,29 +142,29 @@ mcphub publish
142142

143143
mcphub can run as an MCP server itself, so you can search and install MCP servers directly from your AI assistant.
144144

145-
### Setup
146-
147-
#### 1. Build the MCP server binary
148-
149-
```bash
150-
cd mcphub
151-
go build -o bin/mcphub-mcp ./mcp
152-
```
153-
154-
Or if you installed via Go:
145+
### Quick Setup (2 commands)
155146

156147
```bash
148+
# Install the MCP server binary
157149
go install github.com/Ricardo-M-L/mcphub/mcp@latest
150+
151+
# Add to Claude Code
152+
claude mcp add mcphub mcphub-mcp
158153
```
159154

160-
#### 2. Configure your MCP client
155+
That's it. Restart Claude Code and start chatting.
161156

162-
**Claude Code** (simplest - one command):
157+
### Alternative: Build from source
163158

164159
```bash
165-
claude mcp add mcphub mcphub-mcp
160+
git clone https://github.com/Ricardo-M-L/mcphub.git
161+
cd mcphub
162+
go build -o bin/mcphub-mcp ./mcp
163+
claude mcp add mcphub /path/to/mcphub/bin/mcphub-mcp
166164
```
167165

166+
### Other MCP clients
167+
168168
Or manually add to `~/.claude/settings.json`:
169169

170170
```json

0 commit comments

Comments
 (0)