Posts

Springing into AI - Part 16: MCP Server - Prompts Playground

Image
Project For a sample playground, we being the owners of Hobbits Inc will be creating pre-defined prompts to aid end users that they can use directly to query with the LLM. Since we do not have our own MCP Client yet, we will be testing the prompt capabilities that we provide using 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 ( Prompts ) can be viewed  here Project Demo:     Youtube ( MCP Server - Prompts )  here   Demo Screenshots We have a generic greeting prompt, which is usually good prompt in real world to provide to the end user should they wish to use with LLM. Samp...

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,...