Connecting to and Using an Existing MCP Server
Overview
Using an existing server shows how MCP reduces integration work. The process is to select a server, connect it to a compatible host, inspect the capabilities it exposes, and then ask the host to use those capabilities.
A market-data server is a practical example. It can expose functions for intraday prices, daily prices, historical series, symbol search, and global quotes. The server's configuration is added to the host so the MCP client can reach it. Once connected, the host can discover the server's functions.
The user can then make a natural-language request such as plotting coffee prices over the previous ten years. The model identifies the historical-price function, the host shows that it wants to use the server tool, and the user can approve the call. The server returns the data, and the host creates the requested analysis or visualization.
This process demonstrates that the host does not require custom code for every function in the underlying market service. The MCP server presents the available functions through a consistent interface, and the host uses the same protocol it would use for a calculator, database, email tool, or another server.
The host can also be changed. A server connected to a coding application can be connected instead to a workflow platform, desktop assistant, or custom AI application. The server continues to expose the same capabilities even though the user interface and model workflow have changed.
Capability discovery is important. A connected agent can learn what tools the new server makes available rather than relying on special instructions for each integration. This makes it possible to add a server with a new capability and allow the host to incorporate it into its available tool set.
User approval remains part of the interaction. In the examples, the host displays the name of the function or tool it intends to use and gives the user an option to allow it once. This is particularly important for tools that send messages, modify records, or perform another external action.