Upgrade to Pro — share decks privately, control downloads, hide ads and more …

SPRING MCP SERVER TALK @ AGILEBD

SPRING MCP SERVER TALK @ AGILEBD

SPRING AI LLM MCP SERVER TOOLS API CHAT PROMPT

Avatar for M. M. SALEH

M. M. SALEH

October 27, 2025

Other Decks in Programming

Transcript

  1. What we will do 1. Use of MCP Client -

    Claude Desktop 2. Use of MCP Third party Servers postgres, filesystem and github 3. Build and use our own MCP Server called { agilebd } 4. Explain Spring MCP related libs and our { agilebd } source code 5. Show use of Tools we have in our { agilebd } MCP server 6. Question Answer then END
  2. How Journey Started 1. AI => ML => DL =>

    GAI => AAI 2. NLP => LM => LLM
  3. So LLMs in the Scene ChatGPT was launched on Nov

    30 2022 It crossed 1 Million users in 5 days Then it crossed 100 Million users in 2 months Is it simply Not another software launch ??
  4. LLM and Function Calling OpenAI introduced function calling in mid

    2023 Function Calling is a way using which LLMs can call ext functions
  5. Multiple Tools Connection Factors N*M Development Integration Multi authentication methods

    Different data formats and API patterns Debug and error handling
  6. Problem and Every AI tool was building its own way

    to call every API. Solution Github builds an integration that can be used by any AI Tool
  7. Benefits of MCP 1. Server is powerful and scalable, debug,

    data format, auth etc. 2. N clients and M servers = M + N integrations 3. Reduced cost and time 4. Better security 5. Finally MCP Ecosystem
  8. MCP Concepts Tools - Functions that can be called by

    the LLM (with user approval) - We Demonstrate IT Resources - File-like data that can be read by clients (like API responses or file contents) Prompts - Pre-written templates that help users accomplish specific tasks
  9. MCP Data Communication In MCP, JSON RPC 2.0 serves as

    the foundation of the data communication
  10. MCP Server Types A local server is a program running

    on your own computer. -> STDIO A remote server is a program running on another computer (somewhere else on the network or internet) that you connect to over a network. -> HTTP/SSE
  11. LLM

  12. Demonstration postgres MCP Server Claude Desktop + Claude’s LLM like

    Sonet filesystem MCP Server LLM github MCP Server { agilebd } Own MCP Server Tools -> Google Drive -> Google Calendar -> Local Database
  13. Who Am I I am M. M. SALEH , a

    Software Engineer, Software Engineering Consultant, Trainer / Instructor of Core Java Abroad & Home Keep Touch With Me Here Linkedin - https://www.linkedin.com/in/javagrails Facebook - https://www.facebook.com/learnersdays LearnersDay - https://chat.whatsapp.com/Gs1U2HRDkqQCUwMiO3VJyK LD-3DIGITSHOW - https://chat.whatsapp.com/GUAS1UC5Gus7NTy6P0UvzU
  14. MCP Debug and Error Handling Error handling in MCP is

    how the Host (client) and Server signal that something went wrong with a request MCP inherits JSON RPC’s standard error object format Causes of Error Unsupported or mismatched protocol version. Internal server failure while processing a request. Calling a method for a capability that wasn’t negotiated. Timeout exceeded → client cancels request. Invalid arguments to a tool Malformed JSON-RPC messages.
  15. MCP Error Object Structure code → integer code that categorizes

    the error. message → short human-readable explanation. data → (optional) extra structured data for debugging or context.