{"protocolVersion":"0.3.0","name":"The Margin","version":"1.0.0","description":"The life OS your AI can run. Delegate planning, research and inbox triage against a user's own boards, notes, habits and expenses. Every task runs scoped to the one user and workspace the access token was granted for.","url":"https://themarginapp.com/api/a2a","preferredTransport":"JSONRPC","provider":{"organization":"The Margin","url":"https://themarginapp.com"},"documentationUrl":"https://themarginapp.com/auth.md","iconUrl":"https://themarginapp.com/icon-512.png","supportedInterfaces":[{"url":"https://themarginapp.com/api/a2a","transport":"http"}],"capabilities":[{"id":"delegation","name":"Task delegation","description":"Hand a task to a specialist agent and receive its result synchronously, or enqueue it and poll."},{"id":"workspace-scoped-write","name":"Workspace-scoped read and write","description":"Read and write the authorising user's boards, cards, notes, habits and expenses, never another tenant's."},{"id":"streaming","name":"Asynchronous jobs","description":"Long tasks can be submitted with async_mode and collected by job id."}],"skills":[{"id":"create_plan","name":"Create a plan","description":"Lay out a week or a project across the user's boards, with due dates on real cards.","tags":["planning","tasks"]},{"id":"refine_plan","name":"Refine a plan","description":"Rebalance an existing plan when something slips, moving and rescheduling the cards that already exist.","tags":["planning","tasks"]},{"id":"research_topic","name":"Research a topic","description":"Search the web and the user's own notes on a subject and return a sourced summary.","tags":["research","web"]},{"id":"analyze_document","name":"Analyse a document","description":"Read a note or document and return its structure, claims and open questions.","tags":["research","notes"]},{"id":"compare_options","name":"Compare options","description":"Weigh several options against stated criteria and return the trade-offs.","tags":["research","decisions"]},{"id":"process_item","name":"Triage an inbox capture","description":"Turn one captured item into the right thing: a card on a board, a note, or nothing.","tags":["inbox","triage"]},{"id":"batch_process","name":"Triage the inbox","description":"Work through a backlog of captures in one pass.","tags":["inbox","triage"]}],"defaultInputModes":["application/json","text/plain"],"defaultOutputModes":["application/json","text/plain"],"securitySchemes":{"oauth2":{"type":"oauth2","description":"OAuth 2.1 with PKCE and dynamic client registration. See /auth.md.","flows":{"authorizationCode":{"authorizationUrl":"https://themarginapp.com/api/oauth/authorize","tokenUrl":"https://themarginapp.com/api/oauth/token","scopes":{"read":"List and read resources","write":"Create, update and delete resources","mcp":"Full tool access"}}}}},"security":[{"oauth2":["write"]}]}