Machine-Readable Portfolio Interface

Hamish Marshall Dawson — API & Agent Docs

Final-year MEng Software Engineering student at Heriot-Watt, University Prize winner (highest grade in my year) and AI/ML Engineer Intern at STMicroelectronics. I build perception-to-control robotics, publish human-robot interaction research and run quantised local AI pipelines on constrained hardware.

← Back to interactive portfolio · Download CV (PDF) · Markdown profile

Endpoints

EndpointMethodContent-TypeDescription
/api/portfolio.jsonGETapplication/jsonFull portfolio dataset (profile, experience, projects, education, hackathons, toolkit).
/api/projects.jsonGETapplication/jsonAll 11 projects and 4 category definitions.
/api/status.jsonGETapplication/health+jsonService health and endpoint directory.
/api/openapi.jsonGETapplication/openapi+jsonOpenAPI 3.1.0 specification.
/.well-known/api-catalogGETapplication/linkset+jsonRFC 9727 API catalog linkset.
/ (with Accept: text/markdown) or /index.mdGETtext/markdownComplete Markdown version of the portfolio (includes x-markdown-tokens).
/mcpPOSTapplication/jsonStreamable HTTP Model Context Protocol (MCP) JSON-RPC 2.0 server.
/.well-known/mcp/server-card.jsonGETapplication/jsonMCP Server Card (SEP-1649) metadata.
/.well-known/agent-skills/index.jsonGETapplication/jsonAgent Skills Discovery v0.2.0 index with SHA-256 digests.
/.well-known/ai-catalog.jsonGETapplication/jsonAgentic Resource Discovery (ARD) manifest.

MCP Server & WebMCP Browser Tools

Remote agents can connect to POST /mcp (no authentication required, read-only). Browser-based agents visiting the homepage also receive five imperative document.modelContext tools (get_profile, list_projects, get_experience_and_education, navigate_section, open_project_dossier) plus declarative WebMCP attributes on the contact form (toolname="contact_hamish").

# Initialize MCP session
curl -s -X POST https://hamishmarshalldawson.com/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'

# List MCP tools
curl -s -X POST https://hamishmarshalldawson.com/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'

# Request Markdown representation of homepage
curl -s -H 'Accept: text/markdown' https://hamishmarshalldawson.com/