GraphQL, LLM, Java, Spring, API
In this hands-on workshop, you'll go from an empty project to a working GraphQL API that an LLM agent can discover and query on its own. No prior GraphQL experience required; basic Spring Boot knowledge is a hard requirement! We build incrementally with Spring for GraphQL: schema design, resolvers, relationships, solving the N+1 problem with DataLoaders, and adding field-level authorisation and validation so the API is safe to expose. Then comes the agentic turn. After a short primer on the Model Context Protocol (MCP), we wrap our API as an MCP server and connect a real LLM client. You'll watch an agent introspect the schema, compose its own queries, and return answers with no hand-written integration code, then add guardrails to keep it honest. You'll leave with a service you built yourself and the judgment to know when this approach is a good fit.
4 hours (including a break)
Workshop Plan