Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
make clean
TARGET_OS=${{ matrix.os }} TARGET_ARCH=${{ matrix.arch }} make env
TARGET_OS=${{ matrix.os }} TARGET_ARCH=${{ matrix.arch }} make test
- name: MoLing Build
- name: MoLing MineCraft Build
run: |
make clean
TARGET_OS=${{ matrix.os }} TARGET_ARCH=${{ matrix.arch }} make env
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: MoLing Release
name: MoLing MineCraft Release
on:
push:
tags:
Expand All @@ -24,7 +24,7 @@ jobs:
with:
submodules: 'recursive'
fetch-depth: 0
- name: MoLing Build
- name: MoLing MineCraft Build
run: |
make clean
SNAPSHOT_VERSION=${{ github.ref_name }} TARGET_OS=${{ matrix.os }} TARGET_ARCH=${{ matrix.arch }} make env
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SHELL = /bin/bash
.PHONY: env
env:
@echo ---------------------------------------
@echo "MoLing Makefile Environment:"
@echo "MoLing MineCraft Makefile Environment:"
@echo ---------------------------------------
@echo "SNAPSHOT_VERSION $(SNAPSHOT_VERSION)"
@echo ---------------------------------------
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

English | [中文](./README_ZH_HANS.md) | [日本語](./README_JA_JP.md)

[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling/forks)
[![CI](https://github.com/gojue/moling/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling/actions/workflows/go-test.yml)
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling/releases)
[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling-minecraft/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling-minecraft/forks)
[![CI](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml)
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling-minecraft/releases)

---

Expand Down Expand Up @@ -73,8 +73,8 @@ For example, to configure the Claude client, add the following configuration:
```json
{
"mcpServers": {
"MoLing": {
"command": "/usr/local/bin/moling",
"MoLing MineCraft": {
"command": "/usr/local/bin/moling_mc",
"args": []
}
}
Expand All @@ -100,38 +100,38 @@ Code, etc.
#### Option 1: Install via Script
##### Linux/MacOS
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.sh)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.sh)"
```
##### Windows

> [!WARNING]
> Not tested, unsure if it works.

```powershell
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.ps1 | iex"
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.ps1 | iex"
```

#### Option 2: Direct Download
1. Download the installation package from [releases page](https://github.com/gojue/moling/releases)
1. Download the installation package from [releases page](https://github.com/gojue/moling-minecraft/releases)
2. Extract the package
3. Run the server:
```sh
./moling
./moling_mc
```

#### Option 3: Build from Source
1. Clone the repository:
```sh
git clone https://github.com/gojue/moling.git
cd moling
git clone https://github.com/gojue/moling-minecraft.git
cd moling_minecraft
```
2. Build the project (requires Golang toolchain):
```sh
make build
```
3. Run the compiled binary:
```sh
./bin/moling
./bin/moling_mc
```

### Usage
Expand Down
26 changes: 13 additions & 13 deletions README_JA_JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

[English](./README.md) | [中文](./README_ZH_HANS.md) | 日本語

[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling/forks)
[![CI](https://github.com/gojue/moling/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling/actions/workflows/go-test.yml)
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling/releases)
[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling-minecraft/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling-minecraft/forks)
[![CI](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml)
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling-minecraft/releases)

---

Expand Down Expand Up @@ -72,8 +72,8 @@ https://github.com/user-attachments/assets/229c4dd5-23b4-4b53-9e25-3eba8734b5b7
```json
{
"mcpServers": {
"MoLing": {
"command": "/usr/local/bin/moling",
"MoLing MineCraft": {
"command": "/usr/local/bin/moling_mc",
"args": []
}
}
Expand All @@ -98,38 +98,38 @@ MoLingはMCPクライアントを自動的に検出し、設定をインスト
#### オプション1:スクリプトを使用してインストール
##### Linux/MacOS
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.sh)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.sh)"
```
##### Windows

> [!WARNING]
> テストされていないため、動作するかどうかは不明です。

```powershell
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.ps1 | iex"
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.ps1 | iex"
```

#### オプション2:直接ダウンロード
1. [リリースページ](https://github.com/gojue/moling/releases)からインストールパッケージをダウンロード
1. [リリースページ](https://github.com/gojue/moling-minecraft/releases)からインストールパッケージをダウンロード
2. パッケージを解凍
3. サーバーを実行:
```sh
./moling
./moling_mc
```

#### オプション3:ソースからビルド
1. リポジトリをクローン:
```sh
git clone https://github.com/gojue/moling.git
cd moling
git clone https://github.com/gojue/moling-minecraft.git
cd moling_minecraft
```
2. プロジェクトをビルド(Golangツールチェーンが必要):
```sh
make build
```
3. コンパイルされたバイナリを実行:
```sh
./bin/moling
./bin/moling_mc
```

### 使用方法
Expand Down
26 changes: 13 additions & 13 deletions README_ZH_HANS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

[English](./README.md) | 中文 | [日本語](./README_JA_JP.md)

[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling/forks)
[![CI](https://github.com/gojue/moling/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling/actions/workflows/go-test.yml)
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling/releases)
[![GitHub stars](https://img.shields.io/github/stars/gojue/moling.svg?label=Stars&logo=github)](https://github.com/gojue/moling-minecraft/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/gojue/moling?label=Forks&logo=github)](https://github.com/gojue/moling-minecraft/forks)
[![CI](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml/badge.svg)](https://github.com/gojue/moling-minecraft/actions/workflows/go-test.yml)
[![Github Version](https://img.shields.io/github/v/release/gojue/moling?display_name=tag&include_prereleases&sort=semver)](https://github.com/gojue/moling-minecraft/releases)

---

Expand Down Expand Up @@ -70,8 +70,8 @@ https://github.com/user-attachments/assets/229c4dd5-23b4-4b53-9e25-3eba8734b5b7
```json
{
"mcpServers": {
"MoLing": {
"command": "/usr/local/bin/moling",
"MoLing MineCraft": {
"command": "/usr/local/bin/moling_mc",
"args": []
}
}
Expand All @@ -95,7 +95,7 @@ https://github.com/user-attachments/assets/229c4dd5-23b4-4b53-9e25-3eba8734b5b7
#### 方法一: 脚本安装
#### Linux/MacOS
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.sh)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.sh)"
```

##### Windows
Expand All @@ -104,31 +104,31 @@ https://github.com/user-attachments/assets/229c4dd5-23b4-4b53-9e25-3eba8734b5b7
> 未测试,不确定是否正常。

```powershell
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.ps1 | iex"
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling-minecraft/HEAD/install/install.ps1 | iex"
```


#### 方法二:直接下载
1. 从[发布页面](https://github.com/gojue/moling/releases)下载安装包
1. 从[发布页面](https://github.com/gojue/moling-minecraft/releases)下载安装包
2. 解压安装包
3. 运行服务器:
```sh
./moling
./moling_mc
```

#### 方法三:从源码编译
1. 克隆代码库:
```sh
git clone https://github.com/gojue/moling.git
cd moling
git clone https://github.com/gojue/moling-minecraft.git
cd moling_minecraft
```
2. 编译项目(需要Golang工具链):
```sh
make build
```
3. 运行编译后的程序:
```sh
./bin/moling
./bin/moling_mc
```

### 使用说明
Expand Down
10 changes: 5 additions & 5 deletions cli/cmd/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Repository: https://github.com/gojue/moling
* Repository: https://github.com/gojue/moling-minecraft
*
*/

package cmd

import (
"github.com/gojue/moling/client"
"github.com/gojue/moling-minecraft/client"
"github.com/rs/zerolog"
"github.com/spf13/cobra"
"os"
Expand All @@ -30,11 +30,11 @@ import (

var clientCmd = &cobra.Command{
Use: "client",
Short: "Provides automated access to MoLing MCP Server for local MCP clients, Cline, Roo Code, and Claude, etc.",
Short: "Provides automated access to MoLing MineCraft MCP Server for local MCP clients, Cline, Roo Code, and Claude, etc.",
Long: `Automatically checks the MCP clients installed on the current computer, displays them, and automatically adds the MoLing MCP Server configuration to enable one-click activation, reducing the hassle of manual configuration.
Currently supports the following clients: Cline, Roo Code, Claude
moling client -l --list List the current installed MCP clients
moling client -i --install Add MoLing MCP Server configuration to the currently installed MCP clients on this computer
moling_mc client -l --list List the current installed MCP clients
moling_mc client -i --install Add MoLing MCP Server configuration to the currently installed MCP clients on this computer
`,
RunE: ClientCommandFunc,
}
Expand Down
4 changes: 2 additions & 2 deletions cli/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Repository: https://github.com/gojue/moling
// Repository: https://github.com/gojue/moling-minecraft

package cmd

Expand All @@ -21,7 +21,7 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/gojue/moling/services"
"github.com/gojue/moling-minecraft/services"
"github.com/rs/zerolog"
"github.com/spf13/cobra"
"os"
Expand Down
4 changes: 2 additions & 2 deletions cli/cmd/perrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Repository: https://github.com/gojue/moling
// Repository: https://github.com/gojue/moling-minecraft

package cmd

import (
"github.com/gojue/moling/utils"
"github.com/gojue/moling-minecraft/utils"
"github.com/spf13/cobra"
"path/filepath"
)
Expand Down
Loading
Loading