Connecting the MCP server
Use the iwasthere API in natural language from MCP-capable AI tools like Claude and Cursor.
Issue an API key
Sign in and create a key on the developer page. The raw key is shown only once: /dashboard/developer
Available tools
Documentation search tools and organizer action tools.
- search_docs, get_page
- create_event, list_events, get_event, get_event_status, patch_event, delete_event
- upload_photo, complete_upload, get_share_link, get_plan_and_limits
Configuration
Add the following to your MCP client config and insert your API key:
{
"mcpServers": {
"iwasthere": {
"url": "https://7y62bns2zdo3xfpm6azyelalxq0gbelo.lambda-url.ap-northeast-2.on.aws/",
"headers": { "Authorization": "Bearer iwt_YOUR_KEY" }
}
}
}Scenario examples
When users ask in natural language, the agent chains tools. E.g. "Create a July workshop event and give me the share link" → create_event → get_share_link. "Upload these photos" → upload_photo (presign) → PUT → complete_upload. "What's that event's status?" → get_event_status (status + photo count in one call). "How many more events can I create this month?" → get_plan_and_limits.
"Create a July workshop and give me the share link"
→ create_event(name:"July workshop")
→ get_share_link(eventId)
"Upload these photos to the event"
→ upload_photo(eventId, files:[{name,size,type}])
↳ returns: uploads[].url (presigned) + contentType + photoId + s3Key
→ host PUTs each original image to its url
(Content-Type header = returned contentType, else 403)
→ complete_upload(eventId, uploaded:[{photoId,s3Key,fileSize}])
* presign & complete are MCP tools; only the binary PUT runs outside tools.
"What's that event's status?"
→ get_event_status(eventId) # status + photo count in one call
"How many more events can I create this month?"
→ get_plan_and_limits() # plan / activeEventCount / planLimitsThe upload_photo tool returns presigned URLs plus a contentType per file. Do the actual file upload (HTTP PUT to each url, with the Content-Type header set to that contentType — a mismatch returns 403) outside MCP tools, then call the complete_upload tool to add them to the album. Check status with get_event_status.