# UniMCP4CC

> Unity MCP Server for Claude Code - DLL Distribution

- **Type:** MCP server
- **Install:** `agentstack add mcp-dsgarage-unimcp4cc`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [dsgarage](https://agentstack.voostack.com/s/dsgarage)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [dsgarage](https://github.com/dsgarage)
- **Source:** https://github.com/dsgarage/UniMCP4CC

## Install

```sh
agentstack add mcp-dsgarage-unimcp4cc
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# UniMCP4CC - Unity MCP Server for Claude Code

Unity Editor を Claude Code から操作するための MCP (Model Context Protocol) サーバーです。

> **Note**: このパッケージは **Claude Code 専用** に設計・テストされています。

## 動作環境

| 項目 | バージョン |
|-----|-----------|
| **Unity** | 6000.0.0 以降 (Unity 6) |
| **Node.js** | 18 以降 |
| **AI Client** | Claude Code (Anthropic) |

> **Important**: このパッケージは Unity 6 (6000.x) 向けにビルドされています。Unity 2021/2022 では動作しない可能性があります。

## 機能

Claude Code から Unity Editor を直接操作できます：

- **シーン操作**: GameObject の作成・削除・検索
- **コンポーネント操作**: コンポーネントの追加・削除・プロパティ変更
- **アセット操作**: アセットの検索・インポート・作成
- **プレハブ操作**: プレハブの作成・インスタンス化
- **オーディオ操作**: AudioSource の作成・再生制御

## インストール

### Unity Package Manager からインストール

Unity Editor で `Window > Package Manager` を開き、`+` > `Add package from git URL...` を選択:

```
https://github.com/dsgarage/UniMCP4CC.git
```

### Claude Code の設定

パッケージインストール後、Unity Editor で:

`Window > Unity MCP > Setup Claude Code`

表示されるウィンドウで「Setup Claude Code」ボタンをクリックすると、自動的に設定が行われます。

## 使用方法

1. Unity Editor を起動（MCP Server が自動起動します）
2. Claude Code を起動
3. Unity プロジェクトについて Claude Code に質問・指示

### 使用例

```
"Main Camera の位置を (0, 5, -10) に移動して"
"新しい Cube を作成して Player という名前をつけて"
"Player に Rigidbody コンポーネントを追加して"
```

## API カテゴリ

| カテゴリ | 説明 |
|---------|------|
| scene | シーン操作 |
| gameObject | GameObject 操作 |
| component | コンポーネント操作 |
| transform | Transform 操作 |
| asset | アセット操作 |
| prefab | プレハブ操作 |
| audio | オーディオ操作 |
| editor | エディタ操作 |
| log | ログ操作 |

詳細な API リファレンスは [Wiki](https://github.com/dsgarage/UniMCP4CC/wiki) を参照してください。

## アーキテクチャ

```
Claude Code → MCP Bridge (Node.js) → Unity MCP Server → Unity Editor
```

## トラブルシューティング

### 接続できない場合

1. Unity Editor が起動しているか確認
2. Console に `[MCP] HTTP Server started on port 5051` が表示されているか確認
3. Claude Code を再起動

### Unity バージョンの互換性

このパッケージは Unity 6 (6000.x) 向けにビルドされています。
他のバージョンで問題が発生した場合は Issue を作成してください。

## ライセンス

MIT License

## 関連リンク

- [Claude Code](https://claude.ai/download)
- [Model Context Protocol](https://modelcontextprotocol.io/)
- [API Reference (Wiki)](https://github.com/dsgarage/UniMCP4CC/wiki)

---

Made with Claude Code by dsgarage

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [dsgarage](https://github.com/dsgarage)
- **Source:** [dsgarage/UniMCP4CC](https://github.com/dsgarage/UniMCP4CC)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-dsgarage-unimcp4cc
- Seller: https://agentstack.voostack.com/s/dsgarage
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
