Search context
collectionRead, collectionCreate, collectionWrite, storyRead, storyWrite, dimensionsRead, dimensionsWrite
A Homi collection carries the story, shortlist, comments, and decisions behind a move. With the user's permission, an agent can pick up that context and keep the search moving through typed MCP tools.
Brooklyn Apartment Search
Example agent session
collectionReadBrooklyn Apartment SearchSearch story
Two people work from home. A quiet second room matters more than a larger kitchen. Evenings should feel calm.
I found four homes that preserve the quiet-room requirement. Two have new comments from the group.
tools/listBuilt for agent work
Homi keeps the human context beside the homes, so every tool call starts with the collection the user already understands.
Quickstart
Homi supports Dynamic Client Registration, authorization code with PKCE, refresh tokens, and the homi:all scope. The user sees and approves the grant.
Fetch the protected-resource document. Follow its authorization_servers link to the path-aware RFC 8414 metadata.
curl https://www.homi.so/.well-known/oauth-protected-resourceUse the advertised registration endpoint, generate an S256 PKCE challenge, and request homi:all. Store refresh tokens as secrets.
Connect to the endpoint with the bearer token. The tools/list result contains the current unique names, descriptions, input schemas, output schemas, and safety annotations for function calling.
Authorization: Bearer <access-token>
MCP-Protocol-Version: 2026-07-28
Content-Type: application/jsonReference
Start with discovery, then follow the live protocol documents for the current contract.
Machine-readable transport, discovery, security, request, and response schemas.
/openapi.jsonThe canonical Streamable HTTP endpoint for Homi's typed agent tools.
/api/mcpRFC 9728 protected-resource metadata points clients to Homi's authorization server.
/.well-known/oauth-protected-resourceSetup steps, privacy boundaries, supported jobs, and starter prompts.
/connectors/homiUse tools/list as the schema authority. These groups make the public surface easier to scan while the protocol response keeps every input and output type current.
collectionRead, collectionCreate, collectionWrite, storyRead, storyWrite, dimensionsRead, dimensionsWrite
listingsRead, listingsWrite, ingestListing, listingMediaRead, listingMediaWrite, evaluationRead, evaluationWrite
locationsRead, locationsWrite, commentRead, commentWrite, tripRead, tripWrite
savedSearchesRead, savedSearchesWrite, scoutingRead, scoutingWrite
Every MCP call is bound to the Homi user in the verified access token. Agents reach only collections that user can access. Homi expects source attribution for saved listings and explicit user intent before durable writes.
Homi currently has one production MCP resource. Integration QA uses a separate test collection on the free plan. Standard MCP clients and the Model Context Protocol Inspector can exercise the endpoint. An isolated sandbox or packaged CLI needs a separate product release.
| Status | Meaning | Recovery |
|---|---|---|
| 400 | Invalid MCP or JSON-RPC request | Validate against the negotiated protocol and tool schema. |
| 401 | Missing, expired, or invalid token | Follow WWW-Authenticate and refresh or repeat OAuth. |
| 404 | Unknown public API route | Read /api or /openapi.json for canonical paths. |
| 429 | Rate limit reached | Back off before retrying. |
Public HTTP errors use JSON with a stable code, message, resolution, and documentation link. Tool-level failures also return structured content with a machine-readable code and suggested action.