[{"data":1,"prerenderedAt":485},["ShallowReactive",2],{"\u002Fdocs\u002Fapi\u002Fmcp":3,"docs-api-navigation":392,"\u002Fdocs\u002Fapi\u002Fmcp-surround":480},{"id":4,"title":5,"body":6,"description":383,"extension":384,"meta":385,"navigation":386,"path":388,"seo":389,"stem":390,"__hash__":391},"docs\u002F1.docs\u002F2.api\u002F7.mcp.md","MCP server",{"type":7,"value":8,"toc":376},"minimark",[9,13,16,31,34,52,57,75,86,90,97,264,267,271,313,322,326,335,342,346,372],[10,11,12],"p",{},"The same data as the REST API, exposed so an AI assistant can use it on its own.",[10,14,15],{},"You connect ShowMyTrades once, then ask questions in plain language:",[17,18,19],"blockquote",{},[10,20,21,25,28],{},[22,23,24],"em",{},"\"How did my Weltrade account do in August?\"",[22,26,27],{},"\"Which of my strategies has the worst drawdown?\"",[22,29,30],{},"\"Find me verified accounts with over a year of history that never dropped more than 10%.\"",[10,32,33],{},"The assistant works out which calls to make. You do not write any code.",[35,36,37],"note",{},[10,38,39,43,44,47,48,51],{},[40,41,42],"strong",{},"REST or MCP?"," Same data, same permissions, same key — the difference is who reads the\ninstructions. With the REST API ",[22,45,46],{},"you"," read this documentation and write the code. With MCP the\n",[40,49,50],{},"model"," reads the tool descriptions, every conversation, and decides what to call.\nUse REST for a script or a dashboard; use MCP to ask questions.",[53,54,56],"h2",{"id":55},"endpoint","Endpoint",[58,59,64],"pre",{"className":60,"code":61,"language":62,"meta":63,"style":63},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","https:\u002F\u002Fshowmytrades.com\u002Fapi\u002Fv1\u002Fmcp\n","bash","",[65,66,67],"code",{"__ignoreMap":63},[68,69,72],"span",{"class":70,"line":71},"line",1,[68,73,61],{"class":74},"sBMFI",[10,76,77,78,81,82,85],{},"Streamable HTTP, stateless, protocol version ",[65,79,80],{},"2025-06-18",". Authentication is the same\n",[65,83,84],{},"Authorization: Bearer"," header as the REST API — your Developer API Key.",[53,87,89],{"id":88},"connecting-claude-desktop","Connecting Claude Desktop",[10,91,92,93,96],{},"Add this to your ",[65,94,95],{},"claude_desktop_config.json",", then restart Claude:",[58,98,102],{"className":99,"code":100,"filename":95,"language":101,"meta":63,"style":63},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"mcpServers\": {\n    \"showmytrades\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\", \"mcp-remote\",\n        \"https:\u002F\u002Fshowmytrades.com\u002Fapi\u002Fv1\u002Fmcp\",\n        \"--header\", \"Authorization: Bearer smt_live_YOUR_KEY\"\n      ]\n    }\n  }\n}\n","json",[65,103,104,110,129,144,170,185,208,220,240,246,252,258],{"__ignoreMap":63},[68,105,106],{"class":70,"line":71},[68,107,109],{"class":108},"sMK4o","{\n",[68,111,113,116,120,123,126],{"class":70,"line":112},2,[68,114,115],{"class":108},"  \"",[68,117,119],{"class":118},"spNyl","mcpServers",[68,121,122],{"class":108},"\"",[68,124,125],{"class":108},":",[68,127,128],{"class":108}," {\n",[68,130,132,135,138,140,142],{"class":70,"line":131},3,[68,133,134],{"class":108},"    \"",[68,136,137],{"class":74},"showmytrades",[68,139,122],{"class":108},[68,141,125],{"class":108},[68,143,128],{"class":108},[68,145,147,150,154,156,158,161,165,167],{"class":70,"line":146},4,[68,148,149],{"class":108},"      \"",[68,151,153],{"class":152},"sbssI","command",[68,155,122],{"class":108},[68,157,125],{"class":108},[68,159,160],{"class":108}," \"",[68,162,164],{"class":163},"sfazB","npx",[68,166,122],{"class":108},[68,168,169],{"class":108},",\n",[68,171,173,175,178,180,182],{"class":70,"line":172},5,[68,174,149],{"class":108},[68,176,177],{"class":152},"args",[68,179,122],{"class":108},[68,181,125],{"class":108},[68,183,184],{"class":108}," [\n",[68,186,188,191,194,196,199,201,204,206],{"class":70,"line":187},6,[68,189,190],{"class":108},"        \"",[68,192,193],{"class":163},"-y",[68,195,122],{"class":108},[68,197,198],{"class":108},",",[68,200,160],{"class":108},[68,202,203],{"class":163},"mcp-remote",[68,205,122],{"class":108},[68,207,169],{"class":108},[68,209,211,213,216,218],{"class":70,"line":210},7,[68,212,190],{"class":108},[68,214,215],{"class":163},"https:\u002F\u002Fshowmytrades.com\u002Fapi\u002Fv1\u002Fmcp",[68,217,122],{"class":108},[68,219,169],{"class":108},[68,221,223,225,228,230,232,234,237],{"class":70,"line":222},8,[68,224,190],{"class":108},[68,226,227],{"class":163},"--header",[68,229,122],{"class":108},[68,231,198],{"class":108},[68,233,160],{"class":108},[68,235,236],{"class":163},"Authorization: Bearer smt_live_YOUR_KEY",[68,238,239],{"class":108},"\"\n",[68,241,243],{"class":70,"line":242},9,[68,244,245],{"class":108},"      ]\n",[68,247,249],{"class":70,"line":248},10,[68,250,251],{"class":108},"    }\n",[68,253,255],{"class":70,"line":254},11,[68,256,257],{"class":108},"  }\n",[68,259,261],{"class":70,"line":260},12,[68,262,263],{"class":108},"}\n",[10,265,266],{},"For any other MCP client, point it at the endpoint above and set the same header.",[53,268,270],{"id":269},"the-tools","The tools",[272,273,274,285,291,297,303],"field-group",{},[275,276,278],"field",{"name":277},"list_my_accounts",[10,279,280,281,284],{},"Your accounts and portfolios, private ones included. This is where the assistant gets the\n",[40,282,283],{},"slug"," that every other tool needs.",[275,286,288],{"name":287},"get_account",[10,289,290],{},"One account with its headline performance. Optional heavier sections: equity curve, monthly\nreturns, per-instrument and per-strategy breakdowns, advanced statistics.",[275,292,294],{"name":293},"list_trades",[10,295,296],{},"Closed trades of one account, with an optional date range.",[275,298,300],{"name":299},"list_open_positions",[10,301,302],{},"Positions currently open, with their floating profit.",[275,304,306],{"name":305},"search_public_accounts",[10,307,308,309,312],{},"Search accounts other people have published. Requires the ",[65,310,311],{},"public:read"," scope.",[10,314,315,316,318,319,321],{},"The assistant only sees the tools your key has the scope for: a key without ",[65,317,311],{},"\nis not offered ",[65,320,305],{}," at all.",[53,323,325],{"id":324},"what-it-can-and-cannot-do","What it can and cannot do",[327,328,329],"caution",{},[10,330,331,334],{},[40,332,333],{},"The MCP server is read-only, like the rest of the API."," No tool can rename, publish or\ndelete anything, and none can place or close a trade. Whatever you ask, the assistant can only\nread.",[10,336,337,338,341],{},"It also cannot look up ",[40,339,340],{},"people",". It searches accounts; of an owner it sees a public slug and\nbrand name, never a personal name, email or contact detail.",[53,343,345],{"id":344},"things-worth-knowing","Things worth knowing",[272,347,348,354,360,366],{},[275,349,351],{"name":350},"It sees what you see",[10,352,353],{},"Your own accounts come through unfiltered. Accounts belonging to other people arrive with\nwhatever their owner chose to hide already removed — the assistant will simply find those\nfields empty.",[275,355,357],{"name":356},"Ask for a summary, not for everything",[10,358,359],{},"\"Summarise my year\" is answered from monthly returns in one call. Asking the assistant to\npage through several thousand trades is slower and no more accurate.",[275,361,363],{"name":362},"Check the units in the answer",[10,364,365],{},"The tools tell the model that percentages are in percent and drawdown is positive. If an\nanswer looks off by a factor of 100, say so — models do occasionally reformat numbers.",[275,367,369],{"name":368},"Treat it as a reader, not an oracle",[10,370,371],{},"It reports what your account did. It does not know your intentions, your risk limits or what\nhappens next.",[373,374,375],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":63,"searchDepth":112,"depth":112,"links":377},[378,379,380,381,382],{"id":55,"depth":112,"text":56},{"id":88,"depth":112,"text":89},{"id":269,"depth":112,"text":270},{"id":324,"depth":112,"text":325},{"id":344,"depth":112,"text":345},"Connect ShowMyTrades to Claude, ChatGPT or any MCP client and ask about your trading in plain language.","md",{},{"icon":387},"i-lucide-sparkles","\u002Fdocs\u002Fapi\u002Fmcp",{"title":5,"description":383},"1.docs\u002F2.api\u002F7.mcp","zj3da6vhJHYbZzhjaUc23N7mx-Q6qdwhRaKlqCfHaDs",[393],{"title":394,"path":395,"stem":396,"children":397,"page":416},"Docs","\u002Fdocs","1.docs",[398,417,456],{"title":399,"path":400,"stem":401,"children":402,"icon":416},"Getting Started","\u002Fdocs\u002Fgetting-started","1.docs\u002F1.getting-started\u002F1.index",[403,406,411],{"title":404,"path":400,"stem":401,"icon":405},"Introduction","i-lucide-house",{"title":407,"path":408,"stem":409,"icon":410},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","1.docs\u002F1.getting-started\u002F2.installation","i-lucide-download",{"title":412,"path":413,"stem":414,"icon":415},"Usage","\u002Fdocs\u002Fgetting-started\u002Fusage","1.docs\u002F1.getting-started\u002F3.usage","i-lucide-sliders",false,{"title":418,"path":419,"stem":420,"children":421,"icon":455},"API Reference","\u002Fdocs\u002Fapi","1.docs\u002F2.api\u002F1.index",[422,424,429,434,439,444,449,450],{"title":404,"path":419,"stem":420,"icon":423},"i-lucide-book-open",{"title":425,"path":426,"stem":427,"icon":428},"Authentication","\u002Fdocs\u002Fapi\u002Fauthentication","1.docs\u002F2.api\u002F2.authentication","i-lucide-key",{"title":430,"path":431,"stem":432,"icon":433},"Conventions","\u002Fdocs\u002Fapi\u002Fconventions","1.docs\u002F2.api\u002F3.conventions","i-lucide-ruler",{"title":435,"path":436,"stem":437,"icon":438},"Accounts","\u002Fdocs\u002Fapi\u002Faccounts","1.docs\u002F2.api\u002F4.accounts","i-lucide-wallet",{"title":440,"path":441,"stem":442,"icon":443},"Trades & positions","\u002Fdocs\u002Fapi\u002Ftrades","1.docs\u002F2.api\u002F5.trades","i-lucide-arrow-left-right",{"title":445,"path":446,"stem":447,"icon":448},"Search","\u002Fdocs\u002Fapi\u002Fsearch","1.docs\u002F2.api\u002F6.search","i-lucide-search",{"title":5,"path":388,"stem":390,"icon":387},{"title":451,"path":452,"stem":453,"icon":454},"Errors","\u002Fdocs\u002Fapi\u002Ferrors","1.docs\u002F2.api\u002F8.errors","i-lucide-triangle-alert","i-lucide-code-xml",{"title":457,"path":458,"stem":459,"children":460,"page":416},"Essentials","\u002Fdocs\u002Fessentials","1.docs\u002F2.essentials",[461,466,470,475],{"title":462,"path":463,"stem":464,"icon":465},"Markdown Syntax","\u002Fdocs\u002Fessentials\u002Fmarkdown-syntax","1.docs\u002F2.essentials\u002F1.markdown-syntax","i-lucide-heading-1",{"title":467,"path":468,"stem":469,"icon":455},"Code Blocks","\u002Fdocs\u002Fessentials\u002Fcode-blocks","1.docs\u002F2.essentials\u002F2.code-blocks",{"title":471,"path":472,"stem":473,"icon":474},"Prose Components","\u002Fdocs\u002Fessentials\u002Fprose-components","1.docs\u002F2.essentials\u002F3.prose-components","i-lucide-component",{"title":476,"path":477,"stem":478,"icon":479},"Images and Embeds","\u002Fdocs\u002Fessentials\u002Fimages-embeds","1.docs\u002F2.essentials\u002F4.images-embeds","i-lucide-image",[481,483],{"title":445,"path":446,"stem":447,"description":482,"icon":448,"children":-1},"Search across every account published on ShowMyTrades.",{"title":451,"path":452,"stem":453,"description":484,"icon":454,"children":-1},"Status codes, the error shape, and what to do about each one.",1788228306794]