Posts

Springing into AI - Part 15: MCP Server - Tools Playground ( Notifications )

Image
Project For a sample playground, we being the owners of Hobbits Inc will be creating a  dumb hobbit food party planner tool that emulates a long running task and provides notification to user in terms of overall percentage completed for a task at certain checkpoints. This is extremly powerful and a very good user experience as certain task processing can delay a bit in providing response especially when there are lot of external system interactions. The notification that we generate will be seen in the MCP Inspector. An architecture overview of our tools playground is shown below: Setup Our project setup encompasses the following: Java:                     17 Spring AI :           1.1.2 Spring Boot:        4.0.3 Testing tool :         MCP Inspector Source code:        MCP Server ( Notifications ) can be viewed  here Project Demo:...

Springing into AI - Part 14: MCP Server - Tools Playground ( Sampling )

Image
Project For a sample playground, we being the owners of Hobbits Inc will be creating a  dumb hobbit food recipe analyzer tool simulating interaction between MCP Server and the LLM. Since we do not have a MCP Client for it with a LLM, MCP Inspector will be used to simulate real world LLM interaction with ability to add desired content and propagate back to MCP Server where the tool will obtain data and respond back.  An architecture overview of our tools playground is shown below: Setup Our project setup encompasses the following: Java:                     17 Spring AI :           1.1.2 Spring Boot:        4.0.3 Testing tool :         MCP Inspector Source code:        MCP Server ( Sampling ) can be viewed  here Project Demo:     Youtube (MCP Server - Tools)  here   Demo Screenshots   We select...

Springing into AI - Part 13: MCP Server - Tools Playground ( Elicitation )

Image
Project For the elicitation sample playground, we being the owners of Hobbits Inc will be creating a  dumb hobbit travel planner tool where they chose the source and destination in middle earth, The MCP Server will then present the user a choice of two options for a desired route. This will demonstrate user involvment in task fullfillment process by involving them for getting feedback so the task can continue to completion.   An architecture overview of our tools playground is shown below: Setup Our project setup encompasses the following: Java:                     17 Spring AI :           1.1.2 Spring Boot:        4.0.3 Testing tool :         MCP Inspector Source code:        MCP Server ( Elicitation ) can be viewed  here Project Demo:     Youtube (MCP Server - Tools)  here Demo Screenshots In this tool,...

Springing into AI - Part 12: MCP Server - Resources Playground

Image
Project For a sample playground, we being the owners of Hobbits Inc will be providing resource based information from our Gen AI application about hobbits. In this dummy playground, we will be showcasing demonstration of static and dynamic resources that we in ideal world would be exposing to the MCP Client or LLM. The static resources will list the resources we expose from our file path. The dynamic resource will provide hobbit requested information, be it their profile description or their mugshot. MCP Inspector will be used as a testing tool for validating our sanity of the project. Some of the other capabilities would also include auto completing. An architecture overview is shown below: Setup Our project setup encompasses of the following setup: Java:                    17 Spring AI :           1.1.2 Spring Boot:        4.0.3 Testing tool :        MCP Inspector So...