Agent skill · Backend & API

langchain4j-mcp-server-patterns

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill langchain4j-mcp-server-patterns --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Version: 1.1.0
Allowed tools: ReadWriteBashWebFetch
Path: skills/ai-llm/langchain4j-mcp-server-patterns/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LangChain4j MCP Server Implementation Patterns Implement Model Context Protocol (MCP) servers with LangChain4j to extend AI capabilities with standardized tools, resources, and prompt templates. ## When to Use Use this skill when building: - AI applications requiring external tool integration - Enterprise MCP servers with multi-domain support (GitHub, databases, APIs) - Dynamic tool providers with context-aware filtering - Resource-based data access systems for AI models - Prompt template servers for standardized AI interactions - Scalable AI agents with resilient tool execution - Multi-modal AI applications with diverse data sources - Spring Boot applications with MCP integration - Production-ready MCP servers with security and monitoring ## Quick Start ### Basic MCP Server Create a simple MCP server with one tool: ```java MCPServer server = MCPServer.builder() .server(new StdioServer.Builder()) .addToolProvider(new SimpleWeatherToolProvider()) .build(); server.start(); ``` ### Spring Boot Integration Configure MCP server in Spring Boot: ```java @Bean public MCPSpringConfig mcpServer(List<ToolProvider> tools) { return MCPSpringConfig.builder() .tools(tools) .server(new StdioServ

What's inside
Steps it walks through
  1. When to Use
  2. Quick Start
  3. Basic MCP Server
  4. Spring Boot Integration
  5. Core Concepts
  6. MCP Architecture
  7. Key Components
  8. Implementation Patterns
  9. Tool Provider Pattern
  10. Resource Provider Pattern
  11. Prompt Template Pattern
  12. Transport Configuration
  13. Stdio Transport
  14. HTTP Transport
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the langchain4j-mcp-server-patterns skill do?

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.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill langchain4j-mcp-server-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going