What is MCP’s architecture, and which protocol/message format underlies it instead of the REST API?
Asked at
AI answer
MCP is a client-server protocol: the host application manages MCP clients, which connect to MCP servers that provide tools, resources, and prompts. Message exchange is based on JSON-RPC 2.0, not REST: it uses requests, responses, and notifications. The transport is usually stdio for local servers or Streamable HTTP for remote ones; when a connection is established, the parties negotiate capabilities.
Also asked at ОптТорг
- What types of registers are there in 1C, how many are there, and what are they used for?
- Which compilation directives are used on the client and server in a managed form module, and how many are there in total?
- Where does code run in a managed application? On the client and on the server. What must not be done on the client?
- What cost calculation methods in ERP do you know?
- How do you check balances in the “Goods in Warehouses” accumulation register when posting a document?
Similar questions
- What is MCP, and what problem does it solve?
- Which transports are used in MCP, and how do they differ?
- How do you set up an MCP server on the 1C side, and why can’t you use stdio directly with a 1C server?
- Which MCP did you use—did you build your own or use an off-the-shelf one? And how did the agents make changes if the MCP was read-only?
- In your own words, what does asynchronous data exchange mean?