Yes—APIs are still needed after MCP. An API exposes data or operations for software to use; the Model Context Protocol (MCP) standardizes how compatible AI applications discover and invoke capabilities offered by MCP servers. An MCP tool can call an existing API, so the two often work together rather than replace one another.
What is the difference between MCP and an API?
An API is an interface through which one software system requests data or an operation from another. MCP is an open protocol for communication between an AI application and an MCP server that offers context or capabilities. In practice, an API commonly connects the service to software, while MCP can provide a consistent AI-facing layer for discovering and using that service.
| Question | Direct API integration | MCP integration |
|---|---|---|
| What does it standardize? | How software accesses an API’s data or operations. | How a compatible AI client communicates with a server and discovers its capabilities. |
| How does the client learn what it can do? | The application implements an integration using the API’s interface and documentation. Some APIs also offer machine-readable descriptions. | The client can request a list of tools with names, descriptions, and input schemas. |
| What performs the service operation? | The API and its underlying service. | The MCP server handles the AI-facing request; a tool may call an existing API to perform the operation. |
| Can the integration move between clients? | Portability depends on how each application implements the API integration. | A common protocol can make capabilities available to compatible clients, but support for features, transports, and authentication varies by client. |
This is a difference in roles, not a claim that APIs cannot describe themselves or that every MCP server is backed by an API. MCP standardizes the AI-client connection; what a server does behind that connection depends on its implementation.
How does MCP work with an API?
An MCP server exposes a tool such as get_weather. Its description and input schema tell the client what the tool does and what arguments it accepts. The client can list available tools, make them available to a model, and, when the model selects one, send the tool name and structured arguments to the server. The server can validate the request, call a weather API, and return a result.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Repair Windows errors before they cause bigger problems3Fix the driver behind crashes, sound loss and screen glitches#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
The model may select a tool based on context, but MCP does not require a particular user interface or guarantee that a tool will be called automatically. The client application controls how it presents tools and handles the model’s selection.
Runnable example: an MCP weather tool that calls an HTTP API
This minimal Python example uses the official MCP Python SDK and the public Open-Meteo geocoding and forecast endpoints. The MCP tool is the AI-facing interface; the HTTP requests fetch the location and forecast. It demonstrates the server side of the arrangement, not a model-connected client. The forecast API request asks for the current temperature and weather code; the result is returned as JSON text.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Save this as weather_server.py. Install the SDK with python -m pip install "mcp[cli]", then run python weather_server.py. The server uses stdio, so it is intended to be launched by a compatible local MCP client, not accessed as a normal web server.
from urllib.parse import urlencode
from urllib.request import urlopen
import json
from mcp.server.fastmcp import FastMCP
mcp = FastMCP("Weather")
def get_json(url: str) -> dict:
"""Fetch a JSON response from an HTTPS API."""
with urlopen(url, timeout=15) as response:
return json.loads(response.read().decode("utf-8"))
@mcp.tool()
def get_weather(location: str) -> str:
"""Get the current temperature and weather code for a named location."""
if not location.strip():
raise ValueError("location must not be empty")
geocode_query = urlencode({"name": location, "count": 1, "language": "en", "format": "json"})
places = get_json(f"https://geocoding-api.open-meteo.com/v1/search?{geocode_query}")
results = places.get("results", [])
if not results:
return json.dumps({"error": f"No matching location found for {location!r}"})
place = results[0]
forecast_query = urlencode({
"latitude": place["latitude"],
"longitude": place["longitude"],
"current": "temperature_2m,weather_code",
})
forecast = get_json(f"https://api.open-meteo.com/v1/forecast?{forecast_query}")
return json.dumps({
"location": place["name"],
"country": place.get("country"),
"current": forecast.get("current"),
"units": forecast.get("current_units"),
})
if __name__ == "__main__":
mcp.run(transport="stdio")
To try it, add the script to a compatible local MCP client’s server configuration using the absolute path to the file and the Python executable available in that client’s environment. The exact configuration format and UI differ by client. After connecting, ask the client to list the server’s tools; it should expose get_weather. A client that supports tool execution can then invoke it with an argument such as {"location":"Lisbon"}. The server returns the API response as structured JSON text. Internet access is required for the two HTTP requests.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
What does MCP add beyond a direct API integration?
- Tool discovery: A client can request available tools and their descriptions and input schemas at runtime, rather than depending solely on a separately hard-coded list of actions.
- A shared AI-facing interface: A server can expose capabilities through a common protocol to compatible clients, reducing the need to design a different AI integration for every client.
- More than tools: MCP servers can expose resources and prompts as well as tools. Which capabilities a particular client supports is a separate product-level question.
- Reuse of existing systems: A tool can wrap an API or other implementation. MCP does not require rebuilding the underlying service.
These benefits do not eliminate the work of operating the API or service. The server still needs to define useful capabilities, validate inputs, handle errors, and enforce appropriate access controls.
How MCP transports and messages work
The MCP specification describes a JSON-RPC-based data layer and transport bindings that deliver messages between client and server. The protocol semantics are shared across transports; the connection method differs.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
| Transport | How messages are delivered | Typical fit |
|---|---|---|
| stdio | Newline-delimited messages over the standard input and output streams of a subprocess launched by the client. | Local servers managed by a desktop or development client. |
| Streamable HTTP | Messages are sent to one HTTP endpoint. The server returns a JSON object or a request-scoped server-sent events (SSE) stream. | Remote servers reachable over HTTP. |
These transport details come from the MCP project’s specification documentation dated July 28, 2026. Choose a transport supported by both the server and the client; using MCP does not mean every client can connect to every server.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.When should you use MCP, an API, or both?
- Use an API directly when an application needs a conventional service interface and you are building a specific integration for that application.
- Add MCP when AI clients need a standardized way to discover and invoke a set of capabilities, and your intended clients support the server’s transport and features.
- Use both when an existing API remains the service interface and an MCP server should make selected operations available to AI clients. Keep the API as the backend and put validation and access control in the appropriate layers.
For a production remote server, OpenAI’s developer guidance recommends a stable HTTPS endpoint using Streamable HTTP. It also recommends the MCP authorization flow when tools access private user data or perform actions for users. These are OpenAI’s deployment recommendations, not guarantees imposed by MCP itself.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallBest Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Check client support before you build
“Supports MCP” does not necessarily mean a product supports every MCP capability, transport, or server setup. For example, Anthropic’s documented MCP connector for its Messages API supports tool calls, requires a remote HTTP-exposed server, and supports Streamable HTTP and SSE; it does not directly connect to local stdio servers. That limitation applies to this connector, not to MCP as a whole.
- Confirm whether the client supports tools, resources, and prompts—or only a subset.
- Check which transports it accepts and whether it can launch local subprocesses or connect only to remote servers.
- Review its authentication requirements before exposing private data or actions.
- Ensure the server’s input validation and authorization match the risk of each tool.
Do we still need APIs after MCP?
Yes. MCP is not a replacement for APIs: it standardizes an AI application’s connection to server capabilities, while APIs remain interfaces software can use to access data and operations. An MCP tool may call an existing API, and a service may expose an API without offering MCP at all. Add MCP when compatible AI clients benefit from its discovery and invocation layer; keep the API wherever the service or other software still needs it.
Quick Recap
Sources
- Model Context Protocol: Architecture (documentation dated July 28, 2026).
- Model Context Protocol: Tools specification (July 28, 2026).
- Model Context Protocol: Transports overview (July 28, 2026).
- OpenAI Developers: MCP server — Plugins (accessed October 4, 2026).
- Anthropic: MCP connector — Claude Platform Docs (accessed October 4, 2026).
- Anthropic: Introducing the Model Context Protocol (November 25, 2024).
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

