setup-connect

setup-connect is a skill for Claude Code, Codex from chapmanjw/minecraft-java-fabric-claude-plugin. It costs 74 tokens per session (2,286 once invoked), scanned B, original, MIT.

The fourth and final setup step for connecting a running Minecraft Java MCP server to Claude. MCP is the connection that makes the Minecraft world tools available to Claude, followed by a live connection test.

In plain words
What is it for?
Use it after the Minecraft mod is running and its health check succeeds, when you need to register and verify the world connection.
Why use it?
It completes the setup so Claude can access the world tools, using the correct server address and any required security token.

Skill for Claude CodeCodex

Part of the minecraft-java plugin — 28 skills, 2 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/chapmanjw/minecraft-java-fabric-claude-plugin/setup-connect
Any agent
npx skills add chapmanjw/minecraft-java-fabric-claude-plugin --skill setup-connect
Clone the repo
git clone --depth 1 https://github.com/chapmanjw/minecraft-java-fabric-claude-plugin

Made for: Claude Code, Codex.

Or install minecraft-java, the plugin that ships this one along with the rest of its 28 skills, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/chapmanjw/minecraft-java-fabric-claude-plugin/setup-connect.svg)](https://agentmods.dev/skills/chapmanjw/minecraft-java-fabric-claude-plugin/setup-connect)
Your own site
<a href="https://agentmods.dev/skills/chapmanjw/minecraft-java-fabric-claude-plugin/setup-connect"><img src="https://agentmods.dev/badge/skills/chapmanjw/minecraft-java-fabric-claude-plugin/setup-connect.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,286 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00074 $0.02286
Opus 5 $0.00037 $0.01143
Sonnet 5 $0.00015 $0.00457
Haiku 4.5 $0.00007 $0.00229

Measured 4d ago against content hash 95d12e62780b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

setup-connect scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

write `.mcp.json` with the token pulled from an environment variable instead of
skills/setup-connect/SKILL.md · 221 lines

How it starts

The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Connect Claude to the Minecraft world (Step 4 of 4)

This is the final phase of the Minecraft Java MCP setup. It assumes Phase 3 (setup-server) is done: the mod is running and /healthz returns OK.

Before starting, get from the user:

  • The /mcp URLhttp://<host>:<port>/mcp, e.g. http://localhost:8765/mcp. Use localhost only if Claude runs on the same machine as Minecraft; otherwise the host's LAN IP or hostname. If the mod uses TLS, the scheme is https.
  • The bearer token — only for a dedicated/remote setup (the token captured in Phase 3). A single-player localhost setup has no token.

Name the server minecraft-java. The builder agent and skills in this plugin expect MCP tools under that name (mcp__minecraft-java__*). Use exactly minecraft-java as the server name below.

One or two servers? (world + inspection)

The mod exposes two MCP servers from one jar. Connect whichever match the user's setup:

  • minecraft-java — the world server (read/write the world: level_*, block_*, entity_*, …). Runs wherever a Minecraft server runs — a dedicated server, or single-player's integrated server. Default http://localhost:8765/mcp. Always connect this.
  • minecraft-java-client — the inspection server: SEE the world the way a player does. view_capture returns the player's actual first-person frame as a PNG; sense_crosshair / sense_raycast / sense_entities / sense_screen / client_status read client-side perception. Runs inside a real, rendered client. Default http://localhost:8766/mcp. Connect this only when a real client is running (see patterns below). Name it exactly minecraft-java-clientexec-inspect looks for mcp__minecraft-java-client__*.

The three supported patterns:

Pattern What's running Connect
Server-only a dedicated/headless server minecraft-java only
Client-only a single-player client (its integrated server runs too) both — one process serves 8765 (world) + 8766 (inspection)
Server + client combo a dedicated server + a separate client joined to it both — minecraft-java on the server host:8765, minecraft-java-client on the client host:8766

Read the full file on GitHub · 221 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 221 lines · 74 tokens per session scan B 95d12e62780b

Subscribe to this mod's changes

setup-connect is a skill published in the GitHub repository chapmanjw/minecraft-java-fabric-claude-plugin (6 stars, last pushed 7d ago), licensed MIT. It adds 74 tokens to every session and 2,286 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

minecraft-dev

Use this skill whenever the user wants to look up Minecraft source, mod source, mod loader source, mappings, registries, versions, version differences, access transformers, mixin information, documentation, or code search results with minecraft-dev-cli. Also use it for Fabric, Forge, Quilt, and NeoForge source lookups.

MCDxAI/minecraft-dev-mcp · 68 tokens

1211-neoforge-modding

Minecraft 1.21.1 NeoForge Moddingに関する開発支援。Modの新規作成、Block/Item/Entityの追加、 DataGen、ネットワーク処理(Payload System)、レシピ・進捗・ルートテーブルの生成、 Capability/Data Component/Data Attachmentの実装、クラッシュ対応など。 Minecraft 1.21.1 NeoForge Moddingに関するタスクや、ModDevGradleのセットアップ、 Registry/Event/sidednessに関する質問があった際に使用する。.

code-onigiri/mc-modding-skill · 127 tokens

1201-forge-modding

Minecraft 1.20.1 Forge Moddingに関する開発支援。Modの新規作成、Block/Item/Entityの追加、 DataGen、ネットワーク処理、レシピ・進捗・ルートテーブルの生成、Capabilityの実装、 クラッシュ対応など。Minecraft 1.20.1 Moddingに関するタスクや、Gradle/MDKのセットアップ、 Registry/Event/sidednessに関する質問があった際に使用する。.

code-onigiri/mc-modding-skill · 118 tokens

1201-mods-exsample

Minecraft 1.20.1 Forge Moddingにおける実践的な実装パターン集。 エネルギー・GUI・ネットワーク・マルチブロック・レシピ・レンダリング・ スペル/AI/スクリプトなどの設計パターンを、17の主要Modの実装から抽出して解説。 Addon作成に使える部分は各Modトピックとして維持しつつ、Modに依存しない アーキテクチャ知識として整理する。.

code-onigiri/mc-modding-skill · 130 tokens

1211-mods-exsample

Minecraft 1.21.1 NeoForge Moddingにおける実践的な実装パターン集。 エネルギー・GUI・ネットワーク・マルチブロック・レシピ・レンダリング・ スペル/AI/スクリプトなどの設計パターンを、16の主要Modの実装から抽出して解説。 Forge 1.20.1 → NeoForge 1.21.1 の移行差分(Data Component・Payload System・ Data Attachment)を加味したNeoForge版パターン集。.

code-onigiri/mc-modding-skill · 135 tokens

minecraft-mixin

Minecraft 1.20.1 Forge / 1.21.1 NeoForge ModdingにおけるMixinの実装支援。既存のMinecraft/Forge/NeoForge/他Modのクラスに対する コード挿入・置換・フィールドアクセス・メソッド呼び出しなど。Mixinのセットアップから @Inject/@Redirect/@Shadow/@Accessorなど各アノテーションの使い方、競合回避、トラブルシューティングまで。.

code-onigiri/mc-modding-skill · 111 tokens