Skip to main content

AWS Labs MCP contributions

Documents, images, transports, and browser sessions in my AWS Labs MCP contributions.

Updated 3 min readMarkdown
AWS Labs MCP contributions

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.

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.

Inspect before extracting.

  1. Discover document assets
  2. Choose the useful images
  3. 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.

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.

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.

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

Read the illustrated essay on mh0pe.github.io

About the author

  • Principal AI Architect. I help teams govern, ship, and scale AI, security, cloud, and developer systems. Illustrated essays and selected work at https://mh0pe.github.io/

No comments yet. Be the first to comment.