0 views
Which transports are used in MCP, and how do they differ?
Asked at
AI answer
MCP uses two main transports:
- stdio — the client launches the MCP server as a local process and exchanges messages with it through standard input and output. Suitable for local integrations; protocol output should not be mixed with diagnostic messages.
- Streamable HTTP — the client connects to the server over HTTP. Suitable for remote services and network deployments; it supports streaming responses, while session management depends on the implementation and specification.
The HTTP+SSE transport was used previously; it is considered a legacy option, and Streamable HTTP is generally chosen for new integrations.
Also asked at ОптТорг
- What types of registers are there in 1C, how many are there, and what are they used for?
- What is MCP’s architecture, and which protocol/message format underlies it instead of the REST API?
- 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?
Similar questions
- What is MCP, and what problem does it solve?
- How do you set up an MCP server on the 1C side, and why can’t you use stdio directly with a 1C server?
- In your own words, what does asynchronous data exchange mean?
- What is a one-way data flow, and how do systems interact in that case (does one system request data from the other, and is confirmation required)?
- 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?