An MCP client in ColdFusion manages communication with MCP servers and provides structured methods for interacting with tools, prompts, and resources.
Overview
An MCP client in ColdFusion is an object created using MCPClient(configData). It acts as the protocol adapter between your ColdFusion application and one or more MCP servers.
The MCP client performs the following functions:
Manages a connection to one or more MCP servers.
Performs the initial handshake to exchange capabilities and server information.
Exposes ColdFusion-friendly methods such as listTools(), callTool(), listResources(), readResource(), listPrompts(), and getPrompt().
Optionally forwards sampling requests to your LLM integration and elicitation requests to your UI code.
Allows configuration through a struct, enabling natural integration with Application.cfc and environment-driven configuration patterns.
Share this page
Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.