Execution Boundary
How stdio servers run with Bloque
In a typical MCP setup, stdio-based servers run as child processes on the same machine as the AI agent. They can read and write local files, access local databases, and call local services directly.
With Bloque, stdio-based servers run inside Bloque's MCP Proxy infrastructure — not on your local machine.
This means:
- Stdio-based MCP server processes have no access to your local filesystem.
- They cannot read files on your computer, even if a tool appears to accept a local path.
- Network access from stdio servers goes through Bloque's infrastructure, not your local network.
Remote MCP servers (SSE/HTTP) are unaffected — they already run on remote infrastructure by nature.
The /shared filesystem
Bloque exposes a shared filesystem at /shared that is accessible to all MCP server processes running in your Hub session. You can use this as a bridge to pass files between your local machine and Bloque-hosted stdio tools.
Uploading a file to Bloque
- Call the
bloque_get_upload_urltool to get a pre-signed HTTP upload URL. - Use HTTP
PUTto upload your file to that URL. - The file is now available under
/sharedfor any MCP server in your session.
Downloading a file from Bloque
- Call
bloque_get_download_urlwith the path under/shared. - Use HTTP
GETto download the file to your local machine.
Listing files
Use standard filesystem tools (e.g. list_directory, read_file) to inspect files and directories under /shared.
Example prompt to your AI agent
When starting a task that involves local files, tell your AI agent about this boundary:
Important context: Bloque is an MCP gateway. Stdio-based MCP servers run in
Bloque's infrastructure, not on your machine. Those tools can only access files
under /shared. To move files across the boundary:
- Upload local → Bloque: bloque_get_upload_url + HTTP PUT
- Download Bloque → local: bloque_get_download_url + HTTP GET
- Browse /shared: use filesystem tools
Providing this context upfront prevents the agent from attempting to reference local paths that the MCP server process cannot reach.