Consume
Consume what Part 1 to 3 built: calling an MCP server and its async side from Claude Code and from a langchain4j agent.
Consuming an MCP Server from Claude Code
A human points Claude Code at a packaged MCP tool server, discovers its tool, resource and prompt surface, and drives it, the same surface a scripted client exercises deterministically.
Building a Claude Code Skill
Packaging the knowledge and helper scripts an agent needs to operate an API as a distributable Claude Code Skill, shipped both as a project skill and as a packaged bundle.
LangChain4j Agent as a Programmatic Consumer
An unattended langchain4j agent calls a remote MCP tool programmatically, and what gets recorded comes from the tool's own captured result, never from the model's retelling of it.
Consuming the Async Side
A Kafka consumer wakes a composing agent the instant a shipment is delivered, and the structured record of what happened comes from the event, never from the agent's composed reply.
The Prompt-plus-Contract Loop and Decision-Rule Review
An agent proposes an action under a contract, and a deterministic decision-rule reviewer, not the model, decides whether it takes effect.