URL
Connect your client
Add the server
Use the snippet for your client below. They all point at the same remote URL
over streamable HTTP.
Add Cursor’s entry to its MCP config (Settings → MCP, or
mcp.json), and
Codex’s to its MCP servers config. Exact file locations vary by client
version — check that client’s MCP docs.Sign in
The first time the client connects, it opens a hosted AskFutures sign-in page
in your browser. Sign in there and approve access. Your client stores the
resulting token and rotates it automatically — you won’t be asked again until
it expires. See Authentication for the details.
Verify the tools are available
Ask your agent to list the AskFutures tools, or check your client’s MCP panel.
You should see tools for creating strategies, running backtests, and
optimizing. If you only see them after signing in but calls fail, your account
likely needs MCP access granted.
Local option (advanced)
The MCP server can also run locally over stdio instead of connecting to the remote URL. This is mainly for development and self-hosting — most people should use the remote endpoint above, which is managed and always up to date. The remote connection is the supported path and what the rest of these docs assume.What to do next
Once you’re connected, the workflow is create → wait → optimize: tools that do heavy work return a task you poll until it’s done. The overview explains the async model, and the recipes show full end-to-end examples.Next steps
Authentication
Sign-in flow, token lifetimes, and getting access enabled.
MCP tools
Every tool, what it does, and what it returns.
Recipes
End-to-end examples: build, backtest, optimize, compare.