Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Java and Spring Boot demo showing how to build, debug, test, and extend an MCP-enabled app in VS Code with GitHub Copilot, Spring AI, Playwright, and the Copilot coding agent.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Both catalog entries mention github.
MCP design system validator for agentic coding. Detects design drift in agent-built UI.
Both catalog entries mention github.
GitHub MCP proxy server — bridges the official @modelcontextprotocol/server-github with Alfe OAuth credentials (Pattern A multi-account)
Both catalog entries mention github.
GitHub MCP proxy server — bridges the official @modelcontextprotocol/server-github with Alfe OAuth credentials (Pattern A multi-account)
Fetched from the repository for this visit.
Open the series → | Watch the full video playlist
This repository exists to teach Java development in VS Code with GitHub Copilot. The series takes this sample from a cloned folder to an app Copilot can call and test. Each chapter stands on its own, explains the concepts alongside the steps, and ends with a working result.
| # | Chapter | What you build | Video |
|---|---|---|---|
| 1 | Build and Run Your First Spring Boot App | Install the two extension packs, read the project structure, then build and run the app with Maven and the Spring Boot Dashboard. | Watch on YouTube |
| 2 | Debug and Inspect a Spring Boot Request | Pause a live request in the Java debugger, step across the class boundary, then check health and live memory. | Watch on YouTube |
| 3 | Expose Your Java Operations to Copilot with MCP | Publish the service operations as MCP tools and drive them from Copilot Chat. | Watch on YouTube |
| 4 | Let Copilot Test Your App with Playwright | Hand Copilot browser tools and have it test the UI end to end with Playwright. | Watch on YouTube |
Prefer the actions without the explanation? scripts/script.md covers the same four topics as a condensed step-by-step table.
flowchart LR
UI["Web UI<br/>Thymeleaf · /"] --> SVC
MCP["MCP server<br/>/mcp"] --> SVC
SVC["TodoService<br/>(shared logic)"]
[!IMPORTANT] This repository is a local development and demonstration sample, not a production deployment. Todos are stored in memory, the MCP mutation tools are unauthenticated, and Actuator returns detailed health information. Do not expose port 8080 to untrusted networks. Before deploying, add authentication, authorization, persistent storage, and production-appropriate Actuator settings.
java -version should report version 25)Maven does not need to be installed separately; the repository includes the Maven Wrapper.
Windows (PowerShell):
.\mvnw.cmd spring-boot:run
macOS or Linux:
./mvnw spring-boot:run
The web app has four controller methods: show, add, toggle, and delete. See TodoController.java and index.html.
Each method in TodoTools is annotated with @McpTool and delegates to TodoService:
@McpTool(name = "add_todo", description = "Create a new todo item with the given title.")
public Todo addTodo(@McpToolParam(description = "The title of the new todo", required = true) String title) {
return service.add(title);
}
Five tools are exposed: list_todos, get_todo, add_todo, complete_todo, delete_todo.
One critical setting in application.properties:
spring.ai.mcp.server.protocol=STREAMABLE
The WebMVC MCP starter defaults to the older SSE transport. Without
protocol=STREAMABLE,POST /mcpreturns 404. On startup the log confirms:Registered tools: 5.
.vscode/mcp.json points VS Code at the server:
{ "servers": { "todo-mcp": { "type": "http", "url": "http://localhost:8080/mcp" } } }
Start the app first, then Start the server via the code-lens in .vscode/mcp.json.
In the Chat view (Agent mode), enable the todo-mcp tools and ask, e.g.:
"Use the todo-mcp tools to add a todo called 'Email the stakeholders', then list all todos."
The Start action connects VS Code to the already-running HTTP endpoint; it does not launch the Spring Boot application.
Run the Java tests with the Maven Wrapper.
Windows (PowerShell):
.\mvnw.cmd test
macOS or Linux:
./mvnw test
The UI exposes stable data-testid hooks (new-todo-input, add-todo, todo-item,
delete-todo) so a Playwright run can drive add → complete → delete end to end.
Install the Playwright MCP server directly in VS Code:
@mcp playwright.The Install action adds the server to your VS Code user profile, making it available across workspaces. It does not add Playwright to this repository's .vscode/mcp.json. The separate Install in Workspace action is what writes a server configuration to the workspace file.
With the app running, ask Copilot Chat in Agent mode:
Use the Playwright tools to open http://localhost:8080. Add a todo called "Verify the browser flow", find that todo's row, complete it and verify it is checked, then delete it and verify it is gone.
Review the Playwright tool calls and final verification in Copilot Chat.
MIT License. See LICENSE for details.
Loading reviews...
GitHub checked 255h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.