Skip to content

Add cubrik MCP server - #792

Open
muratkaragozgil wants to merge 2 commits into
Kilo-Org:mainfrom
target1m:add-cubrik
Open

muratkaragozgil wants to merge 2 commits into
Kilo-Org:mainfrom
target1m:add-cubrik

Conversation

@muratkaragozgil

Copy link
Copy Markdown

Adds a marketplace entry for cubrik, which runs AI trading agents on the brokers and exchanges a person connects to their cubrik account. Its hosted Streamable HTTP MCP server lets an agent work with that account.

I'm on the team behind cubrik.

  • New: mcps/cubrik/MCP.yaml (category: business, which the category list defines as finance, payments, contracts and other specialized business operations; mcps/composer-trade is there too). It has one streamable-http option, Remote OAuth, with only the URL: the client signs in through OAuth 2.1 (PKCE, dynamic client registration or a client ID metadata document). cubrik has no API key or personal token, so there is no header option and no parameters. The prerequisites name the plan, the OAuth client support and, for trading, a broker connected in cubrik.
  • The description is 263 characters, inside the length of the existing entries.
  • mcps/marketplace.yaml is not touched: it is the output of bin/generate-mcps-marketplace.ts, which needs pnpm install in bin/ and was not run here; the generate-marketplace workflow regenerates it. I checked the file against the generator's rules by hand (valid category, no tags, no suggest_for, requirements or skills) and that the YAML and the embedded JSON parse.

What it does

The server has 40 tools plus each connected platform's own (named <platform>_<tool>):

  • Create, test, start, pause and delete agents; new and copied agents are created paused, and a test is a dry run that places nothing
  • Backtest a rule-based idea on historical candles (changes nothing on any account)
  • Read balances, open positions, closed trades, results and Analytics advice, and apply a piece of advice to an agent
  • Copy ready-made agents from cubrik's Library
  • Read prices, candles, news and the economic calendar
  • Place, change and close orders and set stops and targets on the connected brokers and exchanges

Consent and safety. Every tool has a title and MCP annotations: orders, agent starts, changes and deletions are marked destructive, so a client asks before running them unless the user has auto-approved them. At sign-in the user chooses what the connection may do: read (cubrik.read), manage agents (cubrik.agents), trade (cubrik.trade); a tool outside the granted scopes is refused. Broker keys stay in cubrik and are never entered in the client, and no tool deposits, withdraws or transfers funds. The connection comes with cubrik's Intermediate plan and above (paid); agent runs use the plan's credits as they do in cubrik.

Typical prompts: "Show my balances and open positions on every platform", "Backtest a 4h EMA 20/50 crossover on BTC over the last 12 months", "Find a Library agent for gold with a drawdown under 15% and copy it", "Pause all my agents."

Access

  • Endpoint: https://mcp.cubrik.ai/mcp (Streamable HTTP)
  • Sign-in: an uncredentialed request gets 401 with WWW-Authenticate: Bearer … resource_metadata="https://mcp.cubrik.ai/.well-known/oauth-protected-resource/mcp"; the authorization server metadata is at https://api.cubrik.ai/.well-known/oauth-authorization-server
  • Docs: https://cubrik.ai/en/mcp · Repo: https://github.com/target1m/cubrik-mcp (MIT; docs, manifests and skills; the hosted server is closed-source)

Trading carries a risk of losing capital; cubrik runs strategies the user defines and does not give investment advice.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread mcps/cubrik/MCP.yaml Outdated
prerequisites:
- "A cubrik account on the Intermediate plan or above (https://cubrik.ai/en/pricing)"
- "An MCP client with remote OAuth support: at sign-in you choose what the connection may do (read, manage agents, trade)"
- "For trading: a broker or exchange connected in cubrik on its Brokers page; keys are entered there, never in the client"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[SUGGESTION]: State the real-money trading risk in the listing

The entry can place, change, and close live orders on connected brokers, but this prerequisite only describes the setup and the trade scope. Users browsing the marketplace should see that granting the trade scope lets an agent submit real orders and that trading can lose capital. Consider adding a line such as: "Trading places real orders on the connected broker or exchange; strategies can lose capital."

@kilo-code-bot

kilo-code-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Incremental Review

The only change since the previous review (2993a6cd) is line 10 of mcps/cubrik/MCP.yaml, which now states that orders are real and can lose capital. This resolves the previous SUGGESTION; no unresolved findings remain.

Files Reviewed (1 file)
  • mcps/cubrik/MCP.yaml

Verification Notes

  • Incremental diff 2993a6cd..720d6b28 touches only mcps/cubrik/MCP.yaml line 10; the YAML still parses and the prerequisites entry remains a valid list item.
  • id matches the directory name, category: business is valid, and tags, suggest_for, requirements, and skills remain absent as the generator requires.
  • Not verified: live endpoint reachability and the OAuth flow at https://mcp.cubrik.ai/mcp; exercise the client sign-in/consent flow described in CONTRIBUTING.md before merge.
Previous Review Summary (commit 2993a6c)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 2993a6c)

Status: 1 Issue Found | Recommendation: Merge after optional polish

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 1
Issue Details (click to expand)

SUGGESTION

File Line Issue
mcps/cubrik/MCP.yaml 10 Trading prerequisite does not disclose that live orders can lose real capital

Verification Notes

  • id matches the directory name, category: business is valid, and tags, suggest_for, requirements, and skills are absent as required.
  • The single streamable-http option with no headers or parameters matches existing OAuth-only remote entries (mcps/anaconda, mcps/microsoft-learn) and the generator's validation rules.
  • Not verified: live endpoint reachability and the OAuth flow at https://mcp.cubrik.ai/mcp; run the real client sign-in/consent test described in CONTRIBUTING.md before merge.
Files Reviewed (1 file)
  • mcps/cubrik/MCP.yaml - 1 suggestion

Fix these issues in Kilo Cloud


Reviewed by deepseek-v4.1-flash-1017 · Input: 47.3K · Output: 2.8K · Cached: 202K

Review guidance: REVIEW.md from base branch main

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant