@segnals/mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@segnals/mcpHow are my bots performing?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@segnals/mcp
Manage your Segnals trading bots, strategies, PnL, and the strategy marketplace from any AI agent (Claude, Cursor, Claude Code, Windsurf, Copilot, etc.) โ securely, by just talking.
Built by Segnals ยท Secure Algorithmic Trading Ecosystem
Table of Contents
See It in Action
Here is how a conversation with an MCP-enabled agent flows:
Use Case 1: Checking Portfolio Performance
User: How are my bots performing this month?
Agent: (Calls
segnals_get_pnl_summary)Agent: You have 3 active bots running. For the current calendar month:
Total Net PnL: +$245.50 (+3.4% account gain)
Win Rate: 68% (17 winning trades, 8 losing trades)
Drawdown: 1.2% maximum
Top Performer: Trend Scalper Gold (+$180.20 PnL)
Use Case 2: Strategy Creation with Two-Step Confirmation Gate
User: Set up a new Conservative EURUSD Forex bot with 2:1 Reward ratio.
Agent: (Calls
segnals_create_strategywithconfirm: false)Agent: โ Preview Strategy Configuration:
Name: Conservative EURUSD Trend
Symbol: EURUSD
Asset Class: Forex (MetaTrader 5)
Leverage: 1:30
Risk Parameters: Stop Loss = 20 pips, Take Profit = 40 pips (2:1 Ratio)
Estimated Drawdown Warning: 1.5%
To proceed and save this bot to your dashboard, please reply with "confirm".
User: Confirm
Agent: (Calls
segnals_create_strategywithconfirm: true)Agent: โ Strategy has been created successfully. You can find it on your dashboard or manage it here by asking me to list your bots.
What Is This? / What Is Segnals?
Segnals is an institutional-grade, multi-tenant algorithmic trading and AI ecosystem. It enables retail traders and quants to write, backtest, and deploy high-frequency trading (HFT) bots across cryptocurrency exchanges (via CCXT) and Forex brokers (via a custom MetaTrader 5 Redis bridge).
The Segnals MCP Server is a thin, secure gateway designed for the Model Context Protocol (MCP). It exposes a set of strictly typed developer APIs as tools to large language models (LLMs). This allows AI agents to read trading statistics, create strategies, modify parameters, and manage marketplace listings on behalf of the user, using secure, cryptographically hashed user keys.
๐ Security Boundaries (Can / Can't Do)
WHAT IT CAN DO:
Fetch account balance, statistics, and historical PnL logs.
List, query, and monitor active trading bot statuses.
Create, modify, start, stop, restart, or delete trading bots.
Browse the Strategy Marketplace and copy/purchase strategies.
Modify notification preferences and query market prices/sentiment.
WHAT IT CANNOT DO (Strict Hard Exclusions):
โ No Fund Movement: Cannot deposit, withdraw, or transfer funds.
โ No Secret Retrieval: Cannot read, export, or enter API secrets for Bybit/MetaTrader 5. All exchange secrets are configured exclusively in the web dashboard.
โ No Administrative Overrides: Cannot modify user profile settings, credentials, passwords, or emails.
Features & Capability Overview
The server exposes 36 distinct tools structured across the following trading features:
Account & Meta: Retrieve subscription tiers, feature flags, active limitations, and system statuses.
Stats & Drawdowns: Access current balance, historical performance analytics, and trade-by-trade logs.
Life Cycle Control: Create, update, start, stop, restart, and delete bots.
Forex & MT5: Inspect broker connectivity and Metatrader 5 account status.
Indicators & Filters: Bind custom filters (e.g. Bias Engine, Bollinger, EMA cross) to strategy pipelines.
Copy Trading & Marketplace: Browse listings, copy paid or free strategies, and manage public offerings.
Market Feed & Knowledge: Query real-time prices, fetch sentiment rankings, and search onboarding guides.
For inputs, outputs, and JSON examples for each tool, see the Tool Reference Guide.
Quickstart (60 Seconds)
1. Get an API Key
Log in to your dashboard at segnals.com, navigate to Settings โ API Keys, generate a key, and select the desired scopes (e.g., read:account, read:bots). Copy the token (sk_live_... or sk_test_...).
2. Configure Claude Desktop
Open your Claude Desktop configuration file (see location directories below) and add the server:
{
"mcpServers": {
"segnals-mcp": {
"command": "npx",
"args": ["-y", "@segnals/mcp"],
"env": {
"SEGNALS_API_KEY": "sk_live_your_actual_key_here"
}
}
}
}3. Verify Connection
Restart Claude Desktop and ask the agent:
"Use segnals_whoami to verify who I am connected as on Segnals."
Getting Your API Key (Onboarding)
To integrate your agent with your account, you must mint a Developer API Key:
Navigate to Settings โ API Keys on your dashboard.
Click Generate Key and assign a descriptive label.
Select Scopes: It is recommended to choose only read-only scopes (
read:account,read:stats,read:bots) for your first setup. Add write permissions as needed.Specify an optional IP allowlist or expiration date if desired.
Click Generate.
Copy Token: Copy the displayed token (
sk_live_...) immediately. It will only be shown once.
API Key Safety: NEVER paste your raw API key in a chat prompt. Agents might accidentally save it or leak it in subsequent sessions. Always inject keys securely through environment variables (SEGNALS_API_KEY) as shown in the configurations.
For more details, see the Onboarding Guide.
Installation
You can run the Segnals MCP server using three methods:
Method A: npx (Recommended)
This is the simplest way to run the server. It will download and run the latest version automatically:
export SEGNALS_API_KEY=sk_live_your_key_here
npx -y @segnals/mcpMethod B: From Source (For Developers)
Requires Node.js >= 18.
git clone https://github.com/eidostein/segnals-mcp.git
cd segnals-mcp
npm ci
npm run build
export SEGNALS_API_KEY=sk_live_your_key_here
node dist/index.jsMethod C: Docker
We maintain a public Docker image on GHCR:
docker run --rm -it -e SEGNALS_API_KEY=sk_live_your_key_here ghcr.io/eidostein/segnals-mcp:latestClient Configuration
The server runs on standard input/output (stdio) streams. Depending on your editor or chat interface, add the following configuration:
1. Claude Desktop
File locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add this entry to your mcpServers object:
{
"mcpServers": {
"segnals-mcp": {
"command": "npx",
"args": ["-y", "@segnals/mcp"],
"env": {
"SEGNALS_API_KEY": "${env:SEGNALS_API_KEY}"
}
}
}
}(Note: Replace ${env:SEGNALS_API_KEY} with your actual key or define it in your shell profile).
2. Cursor
Navigate to Settings โ Features โ MCP:
Click + Add New MCP Server.
Name:
segnalsType:
commandCommand:
npx -y @segnals/mcpEnvironment Variables: Key =
SEGNALS_API_KEY, Value =sk_live_...
3. Claude Code (CLI)
Install and connect directly from the command line:
claude mcp add segnals-mcp -- npx -y @segnals/mcpFor more details, see the Configuration Guide.
Authentication & Scopes
The server utilizes scoped access tokens to restrict API permissions. The following scopes can be bound to your API key:
Scope | Category | Description / Enforced Permissions |
| Account | Access account profiles, billing details, and subscription tiers. |
| Performance | View PnL statistics, drawdown ratios, and trade logs. |
| Bots | View current active/inactive trading bots and their configs. |
| Bots | Create, configure, and modify trading bots. |
| Bots | Start, stop, restart, and delete trading bots. |
| Strategies | Save and update trading strategy configurations. |
| Marketplace | Search public listings and view pricing details. |
| Marketplace | Publish strategies and manage personal marketplace offerings. |
| Market Feed | Retrieve news tickers, sentiment ratings, and market indicators. |
| Support | Query internal support knowledge base documents. |
| Notifications | Fetch and save bot alerts and channel preferences. |
For detailed information, see the Authentication Documentation.
Tool Reference
The following table summarizes the 36 tools exposed by the Segnals MCP server:
Tool Name | Operation | Description | Required Scope | Confirmation |
| Read | Fetch current user details and verification status. |
| No |
| Read | List active features and system constraints. |
| No |
| Read | Fetch active subscription end dates and details. |
| No |
| Read | Retrieve active trading account summaries and configurations. |
| No |
| Read | Access overview dashboard counters. |
| No |
| Read | Retrieve PnL summaries, drawdown, and win rates. |
| No |
| Read | Analyze a specific bot's performance metrics. |
| No |
| Read | Retrieve historical trade executions. |
| No |
| Read | List saved broker and exchange connection status. |
| No |
| Read | List all user bots. |
| No |
| Read | Retrieve config parameters for a specific bot. |
| No |
| Read | Read output log files for a specific bot. |
| No |
| Read | Fetch parameters schema validation rules. |
| No |
| Write | Spawn a new trading bot. |
| โ Yes |
| Write | Modify configurations for an existing bot. |
| โ Yes |
| Control | Remove a bot from the workspace. |
| โ Yes |
| Control | Resume a paused bot. |
| โ Yes |
| Control | Pause an active bot. |
| โ Yes |
| Control | Reboot a bot container instance. |
| โ Yes |
| Write | Save a new custom strategy. |
| โ Yes |
| Write | Add indicator filters (RSI, Bollinger) to a bot. |
| โ Yes |
| Read | Request explanation of a strategy's parameters. |
| No |
| Read | Search marketplace strategy listings. |
| No |
| Read | Retrieve pricing details for a marketplace item. |
| No |
| Read | List strategies published by you. |
| No |
| Write | Sell a custom strategy in the marketplace. |
| โ Yes |
| Write | Copy/purchase a marketplace strategy. |
| โ Yes |
| Read | View linked follower accounts. |
| No |
| Write | Toggle copy trading states. |
| โ Yes |
| Read | Retrieve news tickers. |
| No |
| Read | Fetch coin and stock sentiment metrics. |
| No |
| Read | Fetch live assets tickers. |
| No |
| Read | Search help documentation. |
| No |
| Read | Retrieve alert configurations. |
| No |
| Write | Update alert delivery target. |
| No |
| Read | Fetch the legal platform disclaimer. | None | No |
For complete usage specifications, see docs/TOOLS.md.
Security Model
The Segnals MCP integration enforces safety guidelines:
Hashed Key Storage: API keys are hashed with SHA-256 at rest. Plaintext keys are never stored in the database.
Explicit Scope Restrictions: Keys are restricted to their defined scopes. If a key is leaked, it can be revoked or rotated instantly without affecting main account passwords.
Two-Step Confirmation Gating: Destructive or financially significant tools (e.g.,
create_bot,start_bot,copy_strategy) require aconfirm: trueparameter. Calling them withoutconfirm: truereturns a safe JSON preview.Exchange Credentials Isolation: Exchange API secrets and MT5 passwords never leave the primary Segnals servers. AI agents can configure where a bot executes, but can never see or export credentials.
Per-Key Rate Limiting: The backend limits keys to a default of 120 requests/minute to prevent loop bugs from overloading the API.
Immutable Exclusions: Admin functions, billing details, and withdrawal routes are hard-excluded from the API Key pathway.
For further information, see the Safety & Limitations Guide.
Safety & Disclaimer
Financial & Trading Risk: Segnals is a software-as-a-service platform that provides algorithmic trading tools. All trades executed using this platform are at your own risk. Past performance does not guarantee future results. This software is not financial advice, and the authors of the Segnals MCP server do not take responsibility for financial losses incurred due to trading bot executions, configuration mistakes, or AI agent interactions. Configure stop losses carefully and evaluate your strategies in a test environment first.
Example Use-Cases & Prompt Library
You can copy and paste the following prompts to guide your agent:
Strategy Design & Deployment
"Check my active connection status. If connected, list all strategy schemas and help me design a low-risk Grid bot for BTCUSDT on Bybit." Requires:
read:bots,write:bots
Performance Review
"Retrieve a summary of my bot performances. Identify which bot has the highest drawdown this week, pull its execution logs, and suggest parameter updates." Requires:
read:stats,read:bots
Marketplace Discovery
"Browse the Strategy Marketplace for low-risk, high-rating Forex strategies. Explain the parameters of the top-performing item and copy it to my workspace." Requires:
read:marketplace,write:marketplace
Architecture
The Segnals MCP Server acts as an intermediate translator between your local agent and the remote Segnals platform:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AI Agent / IDE โ (Claude Desktop, Cursor, etc.)
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
โ
โ stdio (std_in / std_out)
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Segnals MCP Server (Local) โ
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
โ
โ HTTPS (REST API) + Bearer API Key
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Segnals REST API (Remote) โ (Enforces Rate-Limits, Scopes, and Auditing)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโCompatibility Matrix
Server Version | Segnals API | MCP SDK | Node.js | Supported Clients | Status |
|
|
|
| Claude Desktop, Claude Code, Cursor, Windsurf, Copilot | Current |
Troubleshooting
1. The Server Does Not Appear in Claude Desktop
Cause: Invalid path configuration or Node.js missing from system path.
Fix: Verify your Node.js installation by running
node -v. Check that the command is configured as"command": "npx"and theargsinclude"-y", "@segnals/mcp". Check the Claude Desktop log files at%APPDATA%\Claude\logs\mcp.logor~/Library/Logs/Claude/mcp.log.
2. Error Code: 401 Unauthorized
Cause: Malformed, expired, or incorrect API key format.
Fix: Ensure your environment key is correctly configured as
export SEGNALS_API_KEY=sk_live_...and that the prefix is correct. Make sure the key has not been revoked on the dashboard.
3. Error Code: 403 Forbidden
Cause: The API key lacks the required scopes for the executed tool.
Fix: Verify the scope required by the tool (see Tool Reference) and generate a new key on the dashboard with the appropriate scope.
4. Error Code: 429 Too Many Requests
Cause: Request rate limit exceeded.
Fix: Reduce the frequency of commands. AI loops can occasionally flood the API. Check that your client logic is not stuck in an execution loop.
For more details, see the Troubleshooting Guide.
For AI Agents
๐ค If you are an AI Agent: Read AGENTS.md and llms.txt first. These files contain specific context on tool naming rules, safety disclaimers, the mandatory confirmation workflow, and advice on choosing the correct API endpoint.
Roadmap
Phase 4b: Remote OAuth Integration: Connect your account via OAuth 2.1 protocol for zero-install clients. (Planned)
Advanced Backtesting: Run backtest jobs directly from the command line. (Planned)
Dynamic Telemetry WebSocket Stream: Fetch sub-millisecond price changes. (Planned)
Contributing & Support
We welcome contributions to the Segnals MCP server:
Report bugs and request features in GitHub Issues.
Read CONTRIBUTING.md and CODE_OF_CONDUCT.md.
For security reports, please refer to SECURITY.md to report vulnerabilities privately.
Contact support at
support@segnals.com.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/eidostein/segnals-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server