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.
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- When to Use
- Quick Start
- Basic MCP Server
- Spring Boot Integration
- Core Concepts
- MCP Architecture
- Key Components
- Implementation Patterns
- Tool Provider Pattern
- Resource Provider Pattern
- Prompt Template Pattern
- Transport Configuration
- Stdio Transport
- HTTP Transport
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.
