Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ build:
@echo "$(YELLOW)Building $(BINARY_NAME)...$(NC)"
go build -ldflags "-X main.Version=$(VERSION)" -o bin/$(BINARY_NAME) ./cmd/mcptools

install:
@echo "$(YELLOW)Installing $(BINARY_NAME)...$(NC)"
sudo install bin/$(BINARY_NAME) /usr/local/bin/$(BINARY_NAME)
sudo ln -s /usr/local/bin/$(BINARY_NAME) /usr/local/bin/$(ALIAS_NAME)

uninstall:
@echo "$(YELLOW)Uninstalling $(BINARY_NAME)...$(NC)"
sudo rm -f /usr/local/bin/$(BINARY_NAME)
sudo rm -f /usr/local/bin/$(ALIAS_NAME)

test: check-go
@echo "$(YELLOW)Running tests...$(NC)"
go test -v ./...
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,28 @@ brew install mcp

> ❕ The binary is installed as `mcp` but can also be accessed as `mcpt` to avoid conflicts with other tools that might use the `mcp` command name.

### From Source
### Installing From Source

```bash
go install github.com/f/mcptools/cmd/mcptools@latest
```

The binary will be installed as `mcptools` but can be aliased to `mcpt` for convenience.

## Building and Installing From Source

```bash
make build && sudo make install
```

The binary will be installed as `mcptools` but can be aliased to `mcpt` for convenience.

## Uninstalling

```bash
make uninstall
```

## Getting Started

The simplest way to start using MCP Tools is to connect to an MCP server and list available tools:
Expand Down