salesforce-mcp-mdapi-calls-must-be-async-wrapped
All simple-salesforce mdapi calls are synchronous and block the event loop if called directly in async tool handlers. Every mdapi.deploy(), mdapi.retrieve(), mdapi.check_deploy_status(), and mdapi.check_retrieve_status() must be wrapped with asyncio.to_thread() to prevent event loop starvation in FastMCP.
Related
- mdapi-deploy-blocking-requires-asyncio-to-thread
- mdapi-sync-calls-require-asyncio-to-thread-wrapping
- salesforce
- simple-salesforce-mdapi-methods-return-tuples-not-dicts
- fastmcp
- simple-salesforce-all-mdapi-calls-are-synchronous-must-wrap
- simple-salesforce-mdapi-sync-calls-need-asyncio-to-thread
- mdapi-sync-calls-in-async-functions-require-asyncio-to-threa
- simple-salesforce-mdapi-sync-must-wrap-asyncio-to-thread