simple-salesforce-all-mdapi-calls-are-synchronous-must-wrap-asyncio
All simple-salesforce SfdcMetadataApi methods (deploy, retrieve, check_deploy_status, check_retrieve_status) are blocking synchronous calls. In async FastMCP tool handlers they must be wrapped with asyncio.to_thread() to avoid blocking the event loop. Omitting this causes event loop starvation under concurrent requests.
Related
- salesforce-mcp-mdapi-calls-must-be-async-wrapped
- mdapi-deploy-blocking-requires-asyncio-to-thread
- mdapi-sync-calls-require-asyncio-to-thread-wrapping
- simple-salesforce-mdapi-deploy-sandbox-positional-arg
- simple-salesforce-deploy-sandbox-positional-arg-required
- simple-salesforce-mdapi-sync-calls-need-asyncio-to-thread
- simple-salesforce-mdapi-methods-return-tuples-not-dicts