What is the TakeProfit MCP Server?

LLMs can now write, convert, validate, and explain Indie code using the TakeProfit MCP Server. Get AI-Powered Indie Development Help:
  • Ask LLM to write complete indicators from scratch based on your trading ideas
  • Get explanations of complex algorithm combinations and how they work together
Interactive Learning:
  • Ask “how would I implement X indicator?” and get working code examples
  • Understand the logic behind technical analysis through code explanations
  • Learn Indie best practices through AI-guided development
Examples:
  • “Create a momentum indicator that combines RSI and MACD divergence”
  • “Help me build a support/resistance detector using price action”
  • “Explain how to implement a custom volatility-based stop loss”
  • “Write an indicator that detects chart patterns like triangles”

Step-by-Step Setup Instructions

Claude desktop integration

Step 1: Install Node.js

  1. Go to the official Node.js website: https://nodejs.org/en/download/
  2. Download the LTS (Long-Term Support) version for your operating system — it’s the stable version recommended for most users
  3. Run the installer — no need to change settings during installation
You can ignore the PowerShell window that may appear and close itself after installation. If in doubt, restart your computer and continue.

Step 2: Open Claude Desktop Configuration

  1. If you haven’t already, download and install Claude Desktop
  2. Open the Claude application
  3. Navigate to File → Settings → Developer
  4. Click “Edit Config” — this will open the configuration file in a text editor

Step 3: Edit Configuration File

Open the config file, which will be located at:
  • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
If the file is empty or contains only {}:
Replace the file contents with:
{
 "mcpServers": {
  "TakeProfit": {
   "command": "npx",
   "args": [
    "-y",
    "mcp-remote@latest",
    "https://mcp.takeprofit.com/mcp"
   ]
  }
 }
}
If the file already contains other MCP servers:
Add the TakeProfit server to the existing mcpServers block. For example, if the file looks like this:
{
 "mcpServers": {
  "OtherServer1": {
   "command": "..."
  },
  "OtherServer2": {
   "command": "...",
   "args": [...]
  }
 }
}
Then change it to:
{
 "mcpServers": {
  "OtherServer1": {
   "command": "..."
  },
  "OtherServer2": {
   "command": "...",
   "args": [...]
  },
  "TakeProfit": {
   "command": "npx",
   "args": [
    "-y",
    "mcp-remote@latest",
    "https://mcp.takeprofit.com/mcp"
   ]
  }
 }
}

Step 4: Save and Restart

  1. Save the configuration file (Ctrl+S on Windows, Cmd+S on Mac)
  2. Completely close Claude Desktop
  3. Launch Claude Desktop again

Step 5: Verify Functionality

After restarting, you should see a tools icon in the bottom left corner of the chat input box. Click on it to open the “Search and tools” menu. If the TakeProfit MCP server is working correctly, you should see “TakeProfit” listed in the tools menu.

Claude code CLI integration

MacOS/Linux only, Claude code is not supported on Windows yet

Step 1: Install NodeJS 18+ if it is not already installed

  1. Go to the official Node.js website: https://nodejs.org/en/download/
  2. Download the LTS (Long-Term Support) version for your operating system — it’s the stable version recommended for most users
  3. Run the installer — no need to change settings during installation
You can ignore the PowerShell window that may appear and close itself after installation. If in doubt, restart your computer and continue.

Step 2: Install claude code

Run in the terminal: npm install -g @anthropic-ai/claude-code

Step 3: Add the integration

Execute the command claude mcp add --transport http takeprofit https://mcp.takeprofit.com/mcp/ in your terminal (not in claude chat).

Step 4: Run and use

Run claude code with claude command. If this is the first run of the claude code, the setup wizard will appear and you need to complete the authorization, subscription, and configuration steps. Then ask to get the Indie docs TOC using MCP or to generate SMA indicator on Indie language and validate this using MCP to verify functionality.

Claude code VSCode extension integration

MacOS/Linux only, Claude code is not supported on Windows yet

Step 1: Install claude code extension to your VSCode IDE

Download and install from marketplace or just install it in the VSCode window on the Extensions tab.

Step 2: Add the integration

Execute the command /claude mcp add --transport http takeprofit https://mcp.takeprofit.com/mcp/ (with leading slash) just in claude code chat. Then terminate the current chat and reopen it to apply new setting.

Step 3: Run and use

Open the chat using the ctrl+shift+p (cmd+shift+p for Mac) and Run Claude Code command or by clicking on the Claude code icon in the upper-right corner of the IDE window.
Write /mcp to the chat to see integration info. Then ask to get the Indie docs TOC using MCP or to generate SMA indicator on Indie language and validate this using MCP to verify functionality.

Cursor integration

Step 1: Install the cursor IDE

Download cursor from official site, run it and do the initial setup.

Step 2: Add the integration

  1. Open Cursor Setting -> Tools & Integrations
  2. Press the “Add Custom MCP” button and paste this to mcp.json config:
{
  "mcpServers": {
    "TakeProfit": {
      "url": "https://mcp.takeprofit.com/mcp"
    }
  }
}
Or just add the TakeProfit server to the list if you already have other servers:
{
  "mcpServers": {
    "OtherServer1": {
      ...
    },
    "OtherServer2": {
      ...
    },
    "TakeProfit": {
      "url": "https://mcp.takeprofit.com/mcp"
    }
  }
}
  1. Open Cursor Setting -> Models and choose a model that can work with the MCP, for example claude-4-sonnet

Step 3: Open the chat and use

Toggle AI Pane to open a chat and use new integration: ask to get the Indie docs TOC using MCP or to generate SMA indicator on Indie language and validate this using MCP. If you are not logged in to cursor yet, you will be redirected to the authorization page. NOTE: cursor will wait for approve from you when using the mcp for the first time, you will need to press the “Run tool” button so that it can access the MCP

Test Your Setup

Try asking LLM one of these questions to test the connection: “Can you show me the documentation for the RSI algorithm?” “Help me create a simple moving average indicator in Indie” “Validate this code: [paste some Indie code]” “What algorithms are available for calculating Bollinger Bands?” If the MCP server is working correctly, LLM will respond using Indie documentation and logic. Once you receive generated code, test it by pasting it into the IDE widget on the TakeProfit platform to verify that it runs without errors.

Notes

Claude Account Requirements

  • You’ll need a Claude account to use this integration. While it technically works with any account, having a paid plan is strongly recommended so that Claude can properly handle longer prompts and return complete responses:
    • Claude Pro ($20/month): Suitable for most scripts and general usage
    • Claude Max ($100/month): Provides the largest context window, ideal for longer or complex scripts
💡 Check current pricing plans here: https://www.anthropic.com/pricing

Performance Notes

  • Works best for code up to ~200-300 lines
  • If your script is too long, try splitting it across multiple prompts or chats
  • Modern LLM can usually finish or patch incomplete scripts when prompted correctly

Common Issues and Solutions

”node not found” Error

  • Make sure Node.js is installed correctly
  • Restart your computer after installation
  • On Windows, check that Node.js is in your PATH environment variables

MCP Server Won’t Connect

  • Check your internet connection
  • Make sure the configuration file is saved correctly
  • Try restarting the application
  • Verify Node.js is working by running node --version in command line