setup-connect

setup-connect is a skill for Claude Code 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 Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

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

Good fit Use it after the Minecraft mod is running and its health check succeeds, when you need to register and verify the world connection.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chapmanjw/minecraft-java-fabric-claude-plugin/setup-connect
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.

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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-connect

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00074 $0.02286
Opus 5.5 $0.00030 $0.00914
Sonnet 5.5 $0.00015 $0.00457
Haiku 4.5 $0.00007 $0.00229

Measured 1mo ago against content hash 95d12e62780b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 URL — http://<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-client — exec-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. 1mo 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 (8 stars, last pushed 1mo ago), licensed MIT. It adds 74 tokens to every session and 2,286 once invoked, about $0.0003 per session on Opus 5.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

A development guide for creating Minecraft 1.21.1 mods with NeoForge, a Minecraft modding framework. It covers registering content, generating data, networking, capabilities, and crash diagnosis.

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

1201-forge-modding

A development guide for making Minecraft 1.20.1 mods with the Forge modding framework. It covers adding blocks, items, entities, recipes, network handling, and other standard mod features.

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

1201-mods-exsample

A reference for practical design patterns in Minecraft 1.20.1 Forge mod development. It draws examples from major mods and covers areas such as block entities, energy, interfaces, networking, recipes, rendering, spells, artificial intelligence, and scripting.

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

1211-mods-exsample

A reference for practical design patterns in Minecraft 1.21.1 NeoForge mod development. It also explains migration differences from Forge 1.20.1, including newer approaches to saved data, capabilities, and network messages.

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

minecraft-mixin

A guide for changing existing Minecraft classes with Mixin, a system for inserting or replacing code in Minecraft, Forge, NeoForge, or other mods. It covers setup, annotations, compatibility, conflicts, and troubleshooting for Minecraft 1.20.1 Forge and 1.21.1 NeoForge.

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