Useful agent tools need clear boundaries.
Documents, images, transports, and browser sessions in my AWS Labs MCP contributions.
AWS Labs MCP: configurable document loading and slide images
AWS Labs MCP AI workflows
At a glance
Expand what an agent can do while keeping the inputs, execution, and session lifecycle understandable.
The Model Context Protocol, or MCP, gives an AI application a standard way to call software tools. The useful question is what each tool actually makes possible and which decisions it leaves with the person operating it.
My AWS Labs MCP work spans richer document ingestion, document-image extraction, network transport, and isolated browser sessions. These are separate capabilities, but they share a design concern: expose useful work without hiding the limits around the input, the environment, or the lifetime of the session.
Keep the useful parts of a document.
A presentation or report can communicate through layout, diagrams, and images as much as through text. The document-loader contribution adds slide and page extraction as images, along with a configurable file-size limit. That gives an application another way to work with the content while keeping the input limit an operator choice.
Four independent capability windows stay in place. The upper-left document window is highlighted for this paragraph.
Document content and slide images belong to the same input, with an explicit size limit.
The Documents window is highlighted. Images, Connection and Session remain distinct, unconnected windows. A separate plate represents operator-managed browser infrastructure.
Diagram key
- Upper-left windowDocuments
- Choose loading limits and preserve page or slide images.
- Wide plate below the windowsBrowser infrastructure
- Its lifetime is separate from the temporary browser session.
As I put it on LinkedIn when the change landed, sometimes the decisive idea in a document is not written at all, on LinkedIn, opens in a new tab. It sits in a chart or a diagram.
Choose the images before creating output.
The public asset-extraction implementation goes further by separating inspection from extraction. An application can first discover embedded images and their properties, then choose which assets to write. That two-step shape makes the work easier to inspect before creating output.
The upper-right image window is highlighted. An outlined asset is selected before a separate output appears.
Discover an image, choose it, then create bounded output. Inspection alone does not write a file.
The contact sheet shows what is present; only a deliberate selection becomes an output. Infrastructure in the separate operator-managed pane is not part of that action.
Only the Images window is highlighted. A selected image stays inside its own inspection and extraction frame.
Diagram key
- Left side of the image windowInspect assets
- Identify the image content before choosing an output.
- Dashed box, right sideSelected output
- Extraction is an explicit choice, separate from inspection.
Inspect before extracting.
- Discover document assets
- Choose the useful images
- Write bounded output
Discovery and output creation are distinct decisions in the asset-extraction implementation.
Let the deployment shape be explicit.
A tool running beside an application and a tool reached over a network have different operational surroundings. My transport implementation adds a selectable interface and host and port controls while retaining the existing local default. The transport is a deployment decision, not a reason to change the tool's core meaning.
Only the lower-left connection window is highlighted. The selector moves between a local default and a network option.
Local and network interfaces are a deployment choice with their own supported boundaries.
Only the Connection window activates. Local and network ports sit inside that window without joining the other capabilities.
Diagram key
- Left connection pinLocal default
- Keep the existing local connection available.
- Right connection pinNetwork option
- Select the interface, host and port for the supported server.
- Within the same windowTool purpose
- A different entry point does not change what the tool does.
The contribution records exceptions and the boundary of its transport support. I prefer that specificity to a broad claim that every server behaves identically. A platform is easier to adopt when a reader can see the supported path and the parts that need a different integration.
Give a session a beginning and an end.
The AgentCore Browser MCP implementation provides session discovery, creation, inspection, live-view access, profile saving, and termination. It uses the normal AWS credential chain and leaves browser infrastructure creation and deletion to infrastructure tooling rather than placing those actions in the agent workflow.
The lower-right browser session closes. The wide browser-infrastructure plate stays in place; the other capability windows are not steps in that operation.
A temporary browser session can close without deleting the infrastructure beneath it.
Only the Session window is highlighted. Its temporary aperture closes while the browser-infrastructure plate and other windows remain intact.
Diagram key
- Closing browser window, lower rightSession ends
- The temporary browser session closes.
- Wide plate below the windowsInfrastructure remains
- The operator-managed browser infrastructure stays in place.
That separation keeps the lifecycle understandable. The agent can work with a session; the operator still decides which browser infrastructure exists and how it is configured. For me, a good tool surface makes useful actions easy to discover and keeps the boundaries around them equally visible.
I wrote about where that kind of authority actually lives in Your agent's permissions live in the parameters, on LinkedIn, opens in a new tab.
For a closer technical look
- Slide-image extraction is integrated in AWS Labs MCP. The document-asset, transport, and browser-session reviews describe the corresponding public implementations.
- The transport review records server-specific exceptions; it is not evidence of uniform remote support across every server.
- Browser-session operations are distinct from creating or deleting the underlying browser infrastructure.
What I take from it
Expose document loading, image extraction, connections, and browser sessions as separate tools, each with clear input and lifecycle controls.
Code and further reading
- AWS Labs MCP: configurable document loading and slide images , opens in a new tab
- The document-asset extraction implementation , opens in a new tab
- The selectable transport implementation , opens in a new tab
- The AgentCore Browser session implementation , opens in a new tab
Covers work from March 2026Posted