{"kind":"AgentDefinition","metadata":{"namespace":"community","name":"quarkus-mcp-server-sse","version":"0.1.0"},"spec":{"agents_md":"---\napplyTo: '*'\ndescription: 'Quarkus and MCP Server with HTTP SSE transport development standards and instructions'\n---\n# Quarkus MCP Server\n\nBuild MCP servers with Java 21, Quarkus, and HTTP SSE transport.\n\n## Stack\n\n- Java 21 with Quarkus Framework\n- MCP Server Extension: `mcp-server-sse`\n- CDI for dependency injection\n- MCP Endpoint: `http://localhost:8080/mcp/sse`\n\n## Quick Start\n\n```bash\nquarkus create app --no-code -x rest-client-jackson,qute,mcp-server-sse your-domain-mcp-server\n```\n\n## Structure\n\n- Use standard Java naming conventions (PascalCase classes, camelCase methods)\n- Organize in packages: `model`, `repository`, `service`, `mcp`\n- Use Record types for immutable data models\n- State management for immutable data must be managed by repository layer\n- Add Javadoc for public methods\n\n## MCP Tools\n\n- Must be public methods in `@ApplicationScoped` CDI beans\n- Use `@Tool(name=\"tool_name\", description=\"clear description\")`\n- Never return `null` - return error messages instead\n- Always validate parameters and handle errors gracefully\n\n## Architecture\n\n- Separate concerns: MCP tools → Service layer → Repository\n- Use `@Inject` for dependency injection\n- Make data operations thread-safe\n- Use `Optional\u003cT\u003e` to avoid null pointer exceptions\n\n## Common Issues\n\n- Don't put business logic in MCP tools (use service layer)\n- Don't throw exceptions from tools (return error strings)\n- Don't forget to validate input parameters\n- Test with edge cases (null, empty inputs)\n","description":"Quarkus and MCP Server with HTTP SSE transport development standards and instructions","import":{"commit_sha":"541b7819d8c3545c6df122491af4fa1eae415779","imported_at":"2026-05-18T20:05:35Z","license_text":"MIT License\n\nCopyright GitHub, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","owner":"github","repo":"github/awesome-copilot","source_url":"https://github.com/github/awesome-copilot/blob/541b7819d8c3545c6df122491af4fa1eae415779/instructions/quarkus-mcp-server-sse.instructions.md"},"manifest":{}},"content_hash":[74,89,46,60,56,112,42,238,166,27,13,175,54,181,232,212,39,118,212,189,203,173,86,20,155,199,49,129,83,53,140,155],"trust_level":"unsigned","yanked":false}
