PageSourceSearch

https://sarveshtalele-personal-finance-mcp.hf.space/_next/static/chunks/app/connect/page-9beb4463e223dfb4.js

js sarveshtalele-personal-finance-mcp.hf.space collected 2026-10-03 10:21:47 UTC 5,259 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[580],{9615:function(e,s,n){Promise.resolve().then(n.bind(n,1657))},1657:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return l}});var r=n(7437),c=n(2265);function i(e){let{children:s}=e,[n,i]=(0,c.useState)(!1);return(0,r.jsxs)("div",{className:"codeblock",children:[(0,r.jsx)("button",{className:"copy",onClick:()=>{var e;null===(e=navigator.clipboard)||void 0===e||e.writeText(s),i(!0),setTimeout(()=>i(!1),1400)},children:n?"copied ✓":"copy"}),(0,r.jsx)("pre",{style:{margin:0,whiteSpace:"pre-wrap"},children:s})]})}function l(){let[e,s]=(0,c.useState)("https://your-space.hf.space");(0,c.useEffect)(()=>{s(window.location.origin)},[]);let n="".concat(e,"/mcp");return(0,r.jsxs)("div",{className:"container",children:[(0,r.jsxs)("div",{className:"page-head",children:[(0,r.jsx)("h1",{children:"Connect in 60 seconds"}),(0,r.jsx)("p",{children:"One streamable-HTTP endpoint. Add it anywhere that speaks MCP — all 77 tools show up instantly."})]}),(0,r.jsxs)("div",{className:"section",style:{paddingTop:24,maxWidth:820},children:[(0,r.jsxs)("div",{className:"note",style:{marginBottom:28},children:["Your connector URL: ",(0,r.jsx)("strong",{children:n})]}),(0,r.jsxs)("div",{className:"step",children:[(0,r.jsx)("div",{className:"step-num",children:"1"}),(0,r.jsxs)("div",{style:{flex:1},children:[(0,r.jsx)("h4",{children:"Claude Desktop — custom connector (easiest)"}),(0,r.jsxs)("p",{children:["Settings → ",(0,r.jsx)("strong",{children:"Connectors"})," → ",(0,r.jsx)("strong",{children:"Add custom connector"})," → paste the URL:"]}),(0,r.jsx)(i,{children:n})]})]}),(0,r.jsxs)("div",{className:"step",children:[(0,r.jsx)("div",{className:"step-num",children:"2"}),(0,r.jsxs)("div",{style:{flex:1},children:[(0,r.jsx)("h4",{children:"Claude Code (CLI)"}),(0,r.jsx)("p",{children:"One command adds it as an HTTP server:"}),(0,r.jsx)(i,{children:"claude mcp add --transport http personal-finance ".concat(n)})]})]}),(0,r.jsxs)("div",{className:"step",children:[(0,r.jsx)("div",{className:"step-num",children:"3"}),(0,r.jsxs)("div",{style:{flex:1},children:[(0,r.jsx)("h4",{children:"Cursor / VS Code / any IDE"}),(0,r.jsxs)("p",{children:["Add to your ",(0,r.jsx)("code",{children:"mcp.json"})," (or the IDE’s MCP settings):"]}),(0,r.jsx)(i,{children:'{\n  "mcpServers": {\n    "personal-finance": {\n      "url": "'.concat(n,'",\n      "transport": "http"\n    }\n  }\n}')})]})]}),(0,r.jsxs)("div",{className:"step",children:[(0,r.jsx)("div",{className:"step-num",children:"4"}),(0,r.jsxs)("div",{style:{flex:1},children:[(0,r.jsx)("h4",{children:"Claude Desktop via config file (stdio bridge)"}),(0,r.jsxs)("p",{children:["If you prefer the config file, bridge the remote server with ",(0,r.jsx)("code",{children:"mcp-remote"}),". Edit ",(0,r.jsx)("code",{children:"claude_desktop_config.json"}),":"]}),(0,r.jsx)(i,{children:'{\n  "mcpServers": {\n    "personal-finance": {\n      "command": "npx",\n      "args": ["mcp-remote", "'.concat(n,'"]\n    }\n  }\n}')})]})]}),(0,r.jsxs)("div",{className:"step",children:[(0,r.jsx)("div",{className:"step-num",children:"5"}),(0,r.jsxs)("div",{style:{flex:1},children:[(0,r.jsx)("h4",{children:"Run it locally (stdio, fully offline)"}),(0,r.jsx)("p",{children:"Clone the repo and point Claude Desktop at the local process:"}),(0,r.jsx)(i,{children:'pip install -e .\n# claude_desktop_config.json\n{\n  "mcpServers": {\n    "personal-finance": {\n      "command": "python",\n      "args": ["-m", "src"]\n    }\n  }\n}'})]})]}),(0,r.jsxs)("div",{className:"step",children:[(0,r.jsx)("div",{className:"step-num",children:"6"}),(0,r.jsxs)("div",{style:{flex:1},children:[(0,r.jsx)("h4",{children:"Other IDEs & MCP clients"}),(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:"Cursor / Windsurf / Zed"})," — add an HTTP MCP server in ",(0,r.jsx)("code",{children:"mcp.json"})," (or the app’s MCP settings):"]}),(0,r.jsx)(i,{children:'{\n  "mcpServers": {\n    "personal-finance": { "url": "'.concat(n,'", "transport": "http" }\n  }\n}')}),(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:"Continue"})," (",(0,r.jsx)("code",{children:"~/.continue/config.yaml"}),"):"]}),(0,r.jsx)(i,{children:"mcpServers:\n  - name: personal-finance\n    transport: streamable-http\n    url: ".concat(n)}),(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:"Cline"})," (VS Code) — MCP Servers panel → ",(0,r.jsx)("em",{children:"Add remote server"})," → paste ",(0,r.jsx)("code",{children:n}),". If a client only supports stdio, bridge it with ",(0,r.jsxs)("code",{children:["npx mcp-remote ",n]}),"."]})]})]}),(0,r.jsx)("h3",{style:{marginTop:40},children:"Try these prompts"}),(0,r.jsx)("div",{className:"grid grid-2",children:["I'm 32, earn ₹1.2L/month, spend ₹70k, have a ₹25k home-loan EMI. Build me a financial plan.","How much SIP do I need to reach ₹2 crore in 18 years at 12%?","Price a 1-year ATM call on a ₹100 stock with 20% volatility.","Compare PPF vs a 7% FD for ₹1.5L/year over 15 years."].map(e=>(0,r.jsx)("div",{className:"card",children:(0,r.jsxs)("p",{style:{margin:0},children:["“",e,"”"]})},e))})]})]})}}},function(e){e.O(0,[971,117,744],function(){return e(e.s=9615)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.