CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

langchain4j-mcp-server-patterns

Provides Model Context Protocol (MCP) server implementation patterns with LangChain4j. Use when building MCP servers to extend AI capabilities with custom tools, resources, and prompt templates.

54

Quality

68%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/developer-kit-java/skills/langchain4j-mcp-server-patterns/SKILL.md

The canonical home for this skill is giuseppe-trisciuoglio/developer-kit

SKILL.md
Quality
Evals
Security

Quality

Content

50%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body delivers broad, mostly concrete coverage of MCP server implementation with real runnable-looking Java code, but it is heavily padded: four code blocks are duplicated verbatim, basics of MCP are re-explained, and no validation steps anchor the workflow. Reorganization around the existing (good) reference files would fix most issues.

Suggestions

Deduplicate: keep each code sample once — remove the repeated WeatherToolProvider/CompanyResourceProvider/security-filter/Spring Boot blocks (Instructions vs. Implementation Patterns vs. Quick Start vs. Security sections) and keep only one canonical copy per pattern.

Cut the "Overview" and "Core Concepts" explanations of what MCP is; Claude knows MCP — retain only the LangChain4j-specific component names and the one-line architecture diagram.

Add a validation checkpoint to the Instructions workflow, e.g. after server.start(): verify with an MCP client (listTools()/executeTool()) before proceeding, and reference assets/mcp-server-template.java so the template asset is discoverable.

DimensionReasoningScore

Conciseness

Noticeable redundancy: the WeatherToolProvider, CompanyResourceProvider, security filter, and Spring Boot bean code blocks each appear verbatim twice, and the "Overview"/"Core Concepts" sections explain what MCP is and how it works — concepts Claude already knows. Several sections could be cut or collapsed without losing information.

2 / 5

Actionability

Most guidance is concrete Java code (ToolProvider, MCPServer builder, transports, McpToolProvider filters, application.yml config) plus three input/output examples, but there are minor gaps: helpers like loadResourceContent(), applyTemplate(), and isAdmin() are undefined and executeTool bodies are stubbed with "// Parse arguments and execute tool logic".

4 / 5

Workflow Clarity

The 5-step "Instructions" section gives a clear sequence (tool provider → server → resources → Spring Boot → security), but there are no validation or verification checkpoints (no test of the running server, no check that tool schemas resolve) and the Quick Start duplicates the sequence without adding checks, matching the "sequence present but checkpoints missing" anchor.

3 / 5

Progressive Disclosure

References to examples.md and api-reference.md are real, clearly signaled, and one level deep, but the body inlines large code blocks (resource provider, security filter, server setup) that duplicate the reference files, and assets/mcp-server-template.java is never referenced from SKILL.md at all — content that belongs in separate files sits inline in the overview.

3 / 5

Total

12

/

20

Passed

Description

73%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A solid, appropriately concise description with an explicit trigger clause and a clearly distinct niche. Its main weakness is that the capability statement is domain-level ("provides implementation patterns") rather than enumerating concrete actions, and the "when" clause mirrors the "what" instead of adding differentiated trigger conditions.

Suggestions

Replace "Provides ... implementation patterns" with concrete verbs, e.g. "Builds and configures MCP servers in LangChain4j: tool providers, resources, prompt templates, stdio/HTTP transports, and Spring Boot integration."

Differentiate the "when" clause from the "what" by adding distinct triggers, e.g. "Use when the user wants to expose Java tools/resources via MCP, integrate LangChain4j with an MCP server, or wire MCP into Spring Boot."

DimensionReasoningScore

Specificity

The description names the domain ("Model Context Protocol (MCP) server implementation patterns with LangChain4j") and lists the extension targets ("custom tools, resources, and prompt templates"), but "Provides ... implementation patterns" is a domain statement rather than a concrete action, so coverage is not comprehensive as required for 4-5.

3 / 5

Completeness

Both a "what" ("Provides MCP server implementation patterns with LangChain4j") and an explicit "when" ("Use when building MCP servers to extend AI capabilities...") are present, but the "when" clause largely restates the "what" rather than adding distinct concrete trigger phrases, so it falls short of the level-5 anchor.

4 / 5

Trigger Term Quality

Good natural keyword coverage ("MCP", "MCP servers", "Model Context Protocol", "LangChain4j", "tools, resources, and prompt templates") that users of this niche would actually say, though a few common variations (e.g., Java, Spring Boot) are missing.

4 / 5

Distinctiveness Conflict Risk

The pairing of MCP server implementation with LangChain4j carves out a clear niche with distinct triggers and minimal conflict risk against generic tooling or document skills.

5 / 5

Total

16

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (568 lines); consider splitting into references/ and linking

Warning

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

Total

14

/

16

Passed

Repository

fernandezbaptiste/developer-kit

Path

plugins/developer-kit-java/skills/langchain4j-mcp-server-patterns/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.