Documentation Index
Fetch the complete documentation index at: https://takeprofit.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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
Claude Сode
Cursor
VSCode
mcp-remote
Claude and Claude Desktop integration
Step 1: Add custom connector
-
Download, install & sign in / sign up to Claude Desktop or login using web-interface of Claude
-
Go to Settings -> Connectors in Claude or Claude Desktop and click “Add custom connector”
-
Enter the
TakeProfit name and url https://mcp.takeprofit.com/mcp
-
Press
Configure button for new connector, make sure all the tools are turned on and choose Allow unsupervised for all tools
Step 2: Verify Functionality
- Exit the settings and return to the chat window
- Ask to
get the Indie docs TOC using TakeProfit MCP or to generate SMA indicator in Indie language and validate this using TakeProfit MCP and watch the AI execute the technical workflow for you.
Claude code CLI integration
MacOS/Linux only, Claude code is not supported on Windows yetStep 1: Install NodeJS 18+ if it is not already installed
- Go to the official Node.js website: https://nodejs.org/en/download/
- Download the LTS (Long-Term Support) version for your operating system — it’s the stable version recommended for most users
- 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-codeStep 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 yetStep 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 on 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
- Open Cursor Setting -> Tools & Integrations (or Cursor Setting -> MCP depends on Cursor version)
- 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"
}
}
}
- 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 MCPVSCode integration
Step 1: Download and install the VSCode IDE
Download VSCode from official site and install this. Make sure you’re using a recent version with agent mode.Step 2: Add the integration
- Or manual:
- press
Ctrl + Shift + P (Cmd + Shift + P on Mac) to open VSCode command line and execute the MCP: Open User Configuration command
- paste this to
mcp.json config:
{
"servers": {
"TakeProfit": {
"url": "https://mcp.takeprofit.com/mcp/"
}
}
}
Or just add the TakeProfit server to the list if you already have other servers:{
"servers": {
"OtherServer1": {
...
},
"OtherServer2": {
...
},
"TakeProfit": {
"url": "https://mcp.takeprofit.com/mcp/"
}
}
}
Step 3: Open the chat and use
- press
Ctrl + Alt + I (Cmd + Option + I on Mac) to open chat or execute Chat: Open chat command in VSCode command line (Ctrl + Shift + P on Windows, Cmd + Shift + P on Mac)
- set up Copilot and authorize using your github account if VScode asks
- write any first message to start the chat
- select agent mode, choose a model that can work with the MCP, for example
Claude Sonnet (enable access to the Claude model if VScode asks)
- press the Tools button to view the list of available tools and enable the TakeProfit tools
- enter a prompt to use MCP, for example
get the Indie docs TOC using TakeProfit MCP. VSCode will wait for approve to use MCP, allow this (press Continue button) and watch the AI execute the technical workflow for you.
mcp-remote integration
Some AI applications do not support remote mcp, but can only work with local mcp tools. In this case, you can use the npm package mcp-remote.For example, if you have a free claude account, integration with the remote mcp may not be available, but you can configure it with a local mcp.Step 1: Install Node.js
- Go to the official Node.js website: https://nodejs.org/en/download/
- Download the LTS (Long-Term Support) version for your operating system — it’s the stable version recommended for most users
- 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
- If you haven’t already, download and install Claude Desktop
- Open the Claude application
- Navigate to File → Settings → Developer
- 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
- Save the configuration file (Ctrl+S on Windows, Cmd+S on Mac)
- Completely close Claude Desktop
- 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.Similarly, you can use the mcp-remote in other situations where it is convenient.
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
- 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