1、IBM TechXchange 2025 conference 4823Liberty Model Context Protocol(MCP)ServerDon Bourne,IBM Application RuntimesAI&Technology Incubation ArchitectIBM TechXchange|2025 IBM Corporation1#IBMTechXchange2Your AI App Wants to Use Your Services!3You could tell your AI app to use them as is but connecting y
2、our AI app to a long,static list of services is brittle.and each service may have lots of options,which can be challenging for an LLM.and the services may not be documented in a way an LLM can understand.4 and some services return too much information5 and some services return too much information6
3、and its not always clear which combination of services to use,in which order,to achieve the desired result.7Model Context ProtocolOpen Source Standard for interaction between AI apps and supporting toolsUsing MCP,an AI enabled application can access:Tools(functions the AI can call)Resources(data/fil
4、es)PromptsAn MCP server can use different transports:Stdio*:Client launches server as a subprocess and communicates via standard input/outputStreamable HTTP:Client connects to server over network*not included in mcpServer-1.0 beta feature8MCP Tool Best Practices Describe your tools with an LLM in mi
5、ndUse clear/intuitive tool names,clear explanations of parameters,and provide guidance on when to call the tool.Be tolerant of variances in inputLLMs dont always follow instructions precisely Return only the data neededLLM performance is best with smaller responses Return LLM-friendly dataTools can
6、return unstructured or structured data.Combine common sets of actions into one callAvoid making LLMs repeatedly produce the correct orchestration of common sequences of service calls9MCP ToolsLibertyMCP Host an AI app that uses MCP ClientsMCP Client a client to connect to an MCP ServerMCP Server a s