AI / Agentic AI Interview Questions II
Explain the internal working of MCP's client-server orchestration model?
- The MCP client, which hosts the LLM runtime and agent reasoning logic, connects to one or more MCP servers
- It requests the list of available tools, and each server responds with its tool schemas, names, descriptions, and expected parameters
- The agent's planner selects a tool based purely on that returned name and description, without inspecting how the tool is actually implemented on the server side
- The client sends a tool call to the server using JSON-RPC, and because MCP supports long-lived, stateful sessions, results can stream back progressively rather than arriving only once at the very end
- The server itself typically remains stateless and reusable, with the actual decision-making and session logic living in the client
This design keeps servers simple, swappable providers of capability, while concentrating orchestration intelligence in the client, which is also why production deployments increasingly route multiple MCP servers through a centralized gateway to manage authentication, rate limiting, and tool exposure consistently.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
