MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Quarkus-Mcp-Server-Sse

Quarkus-Mcp-Server-Sse是一款code方向的AI技能,核心价值是Quarkus and MCP Server with HTTP SSE transport development standards and instructions,可用于解决开发者在code领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

Quarkus and MCP Server with HTTP SSE transport development standards and instructions

Last verified on: 2026-05-30
mkdir -p ./skills/quarkus-mcp-server-sse && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/quarkus-mcp-server-sse/SKILL.md -o ./skills/quarkus-mcp-server-sse/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Quarkus MCP Server


Build MCP servers with Java 21, Quarkus, and HTTP SSE transport.


Stack


- Java 21 with Quarkus Framework

- MCP Server Extension: `mcp-server-sse`

- CDI for dependency injection

- MCP Endpoint: `http://localhost:8080/mcp/sse`


Quick Start


bash
quarkus create app --no-code -x rest-client-jackson,qute,mcp-server-sse your-domain-mcp-server

Structure


- Use standard Java naming conventions (PascalCase classes, camelCase methods)

- Organize in packages: `model`, `repository`, `service`, `mcp`

- Use Record types for immutable data models

- State management for immutable data must be managed by repository layer

- Add Javadoc for public methods


MCP Tools


- Must be public methods in `@ApplicationScoped` CDI beans

- Use `@Tool(name="tool_name", description="clear description")`

- Never return `null` - return error messages instead

- Always validate parameters and handle errors gracefully


Architecture


- Separate concerns: MCP tools → Service layer → Repository

- Use `@Inject` for dependency injection

- Make data operations thread-safe

- Use `Optional<T>` to avoid null pointer exceptions


Common Issues


- Don't put business logic in MCP tools (use service layer)

- Don't throw exceptions from tools (return error strings)

- Don't forget to validate input parameters

- Test with edge cases (null, empty inputs)

🎯 Best For

  • Claude users
  • GitHub Copilot users
  • Software engineers
  • Development teams
  • Tech leads

💡 Use Cases

  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Quarkus-Mcp-Server-Sse to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Is Quarkus-Mcp-Server-Sse compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Quarkus-Mcp-Server-Sse?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Quarkus-Mcp-Server-Sse?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/quarkus-mcp-server-sse/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills