Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
제작자가 쓴 설명(영어 원문)
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
GAINIUM_API_KEY, GAINIUM_API_SECRET, GAINIUM_PAPER_ONLY, GAINIUM_ALLOWED_BOT_ID비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
웹, 데스크톱, 모바일의 Claude에서 쓸 수 있어요:
https://mcp.gainium.io/mcpClaude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"gainium": {
"command": "npx",
"args": [
"-y",
"gainium-mcp"
],
"env": {
"GAINIUM_API_KEY": "your-value",
"GAINIUM_API_SECRET": "your-value",
"GAINIUM_PAPER_ONLY": "your-value",
"GAINIUM_ALLOWED_BOT_ID": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add --transport http gainium https://mcp.gainium.io/mcpclaude mcp add gainium --env GAINIUM_API_KEY=your-value --env GAINIUM_API_SECRET=your-value --env GAINIUM_PAPER_ONLY=your-value --env GAINIUM_ALLOWED_BOT_ID=your-value -- npx -y gainium-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"gainium": {
"url": "https://mcp.gainium.io/mcp"
}
}
}프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"gainium": {
"command": "npx",
"args": [
"-y",
"gainium-mcp"
],
"env": {
"GAINIUM_API_KEY": "your-value",
"GAINIUM_API_SECRET": "your-value",
"GAINIUM_PAPER_ONLY": "your-value",
"GAINIUM_ALLOWED_BOT_ID": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"gainium": {
"type": "http",
"url": "https://mcp.gainium.io/mcp"
}
}
}프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"gainium": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gainium-mcp"
],
"env": {
"GAINIUM_API_KEY": "your-value",
"GAINIUM_API_SECRET": "your-value",
"GAINIUM_PAPER_ONLY": "your-value",
"GAINIUM_ALLOWED_BOT_ID": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요:
https://mcp.gainium.io/mcp메뉴 이름은 요금제나 시기에 따라 조금 다를 수 있어요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
GAINIUM_PAPER_ONLY envGAINIUM_ALLOWED_BOT_ID env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
아직 이 서버의 도구 목록을 읽지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 도메인 gainium.io 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 점검하지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요
아직 점검하지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요
아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: GAINIUM_API_KEY, GAINIUM_API_SECRET
둘 다 가능해요. 내 컴퓨터에 설치해도 되고, 클라우드 버전에 연결해도 돼요.
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(3.3.0)은 5개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되기 때문에, 원격 MCP 서버를 지원하는 앱(예: 개발자 모드의 ChatGPT)에서도 쓸 수 있어요.
같은 카테고리에는: Finance Toolkit, SolidInvoice, Korea Tax Calculator
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
An MCP (Model Context Protocol) server for Gainium — the crypto trading bot platform. Lets AI assistants manage your bots, deals, balances, and more through a standard MCP interface.
Detailed setup and connection documentation is available in docs/using-gainium-mcp.md.
Go to Gainium API Settings and create an API key pair.
Add this to your MCP configuration (VS Code, Claude Desktop, etc.):
{
"gainium-mcp": { "command": "npx", "args": ["-y", "gainium-mcp"], "env": { "GAINIUM_API_KEY": " ", "GAINIUM_API_SECRET": " " } } }
That's it. The server starts automatically when your AI assistant needs it.
This local stdio mode uses GAINIUM_API_KEY and GAINIUM_API_SECRET from the server process environment.
| Variable | Required | Default | Description |
|---|---|---|---|
GAINIUM_API_KEY | Yes | — | Your Gainium API public key |
GAINIUM_API_SECRET | Yes | — | Your Gainium API secret |
GAINIUM_API_BASE_URL | No | https://api.gainium.io | API base URL |
GAINIUM_MCP_TRANSPORT | No | stdio | Transport mode: stdio, http, streamable-http, sse, or http-sse |
GAINIUM_MCP_HOST | No | 127.0.0.1 | Bind host for HTTP mode |
GAINIUM_MCP_PORT | No | 3000 | Bind port for HTTP mode |
GAINIUM_MCP_ALLOWED_HOSTS | No | — | Comma-separated hostnames (optionally host:port) accepted in the Host/Origin headers. In HTTP mode with env credentials and no OAuth, only loopback, IP-literal and these hosts are served (DNS rebinding protection) |
GAINIUM_MCP_HTTP_PATH | No | /mcp | Streamable HTTP endpoint path |
GAINIUM_MCP_SSE_PATH | No | /sse | Deprecated SSE GET endpoint path |
GAINIUM_MCP_MESSAGES_PATH | No | /messages | Deprecated SSE POST endpoint path |
GAINIUM_OAUTH_ISSUER | No | — | Authorization-server base URL. Setting this (with MCP_INTROSPECTION_SECRET, in HTTP mode) enables OAuth protected-resource mode |
GAINIUM_INTROSPECTION_URL | No | /oauth/introspect | Token introspection endpoint |
MCP_INTROSPECTION_SECRET | No | — | Shared secret presented to the introspection endpoint (must match the auth server) |
GAINIUM_MCP_PUBLIC_URL | No | derived from request | Public base URL used in the protected-resource metadata |
OPENAI_APPS_CHALLENGE_TOKEN | No | — | When set, served as plain text at /.well-known/openai-apps-challenge for OpenAI Apps domain verification |
gainium-mcp supports three deployment models:
GAINIUM_API_KEY and GAINIUM_API_SECRET from env vars.Authorization: Bearer . See OAuth 2.1 hosted mode below.X-API-Key and X-API-Secret headers so one shared server can serve many users.In header/stdio mode, request headers take priority, falling back to GAINIUM_API_KEY / GAINIUM_API_SECRET. When OAuth mode is enabled, the Bearer token is required and the X-API-Key/X-API-Secret headers are ignored.
This is the mode used for the public https://mcp.gainium.io/mcp endpoint and the Anthropic Claude connector directory (which requires OAuth and forbids API-key headers).
Enable it by setting, in HTTP mode:
export GAINIUM_MCP_TRANSPORT=http
export GAINIUM_OAUTH_ISSUER=https://app.gainium.io # Gainium authorization server export MCP_INTROSPECTION_SECRET= # must match the auth server export GAINIUM_MCP_PUBLIC_URL=https://mcp.gainium.io # this server's public URL
node dist/server.js
When enabled, the server:
/.well-known/oauth-protected-resource and /.well-known/oauth-protected-resource/mcp, advertising the authorization server.WWW-Authenticate: Bearer resource_metadata="…" header, so clients can discover the auth server and run the OAuth flow (Dynamic Client Registration + PKCE).(apiKey, apiSecret) and per-key restrictions (read/write, paper-only, single-bot), which are still enforced server-side. Introspection results are cached briefly.The local stdio path is unaffected by these variables.
By default, gainium-mcp runs over stdio for MCP clients that spawn local processes. To run it as an HTTP server instead:
export GAINIUM_MCP_TRANSPORT=http
export GAINIUM_MCP_HOST=127.0.0.1 export GAINIUM_MCP_PORT=3000 node dist/server.js
When HTTP mode is enabled, the server exposes both transport styles:
GET|POST|DELETE /mcp for the current Streamable HTTP transportGET /sse plus POST /messages?sessionId=... for deprecated HTTP+SSE clientsThis makes one server process compatible with both modern MCP HTTP clients and older SSE-based integrations. In hosted mode, authenticate with OAuth (see OAuth 2.1 hosted mode) or, for self-hosted/legacy setups, send X-API-Key and X-API-Secret on each request.
As of v3.0.0 the toolset is consolidated: a single tool per operation, with a botType / dealType / action discriminator instead of one tool per variant. Every tool carries an MCP safety annotation — read-only tools set readOnlyHint, write tools set destructiveHint.
| Tool | Access | Description |
|---|---|---|
list_bots | read | List bots by type (dca, combo, grid) with filters and field selection |
get_bot | read | Get a single bot by id and type |
create_bot | write | Create a bot (dca, combo, or grid) |
update_bot | write | Update bot settings |
clone_bot | write | Clone a bot with optional overrides |
manage_bot | write | Lifecycle action: start, stop, archive, restore, changePairs |
| Tool | Access | Description |
|---|---|---|
list_deals | read | List deals by type (dca, combo, terminal) with filters |
get_deal | read | Get a single deal by id and type |
create_deal | write | Create a deal |
update_deal | write | Update an active deal |
manage_deal | write | Deal action: close, addFunds, reduceFunds |
| Tool | Access | Description |
|---|---|---|
run_backtest | write | Run a backtest: validate, estimate, async, or sync (request/requestSync submit a job — not read-only) |
backtest_info | read | List backtest requests or get one by ID |
| Tool | Access | Description |
|---|---|---|
discover | read | Schema discovery for bot types and indicators |
get_account | read | Balances, connected exchanges, supported exchanges, and global variables |
get_screener | read | Cryptocurrency screener with market metrics |
manage_global_variable | write | Global variable action: create, update, delete |
All GET endpoints support the fields parameter for efficient payloads:
minimal, standard (default), extended, full_id,uuid,settings.name,profit.total)Using minimal reduces payload size by ~85%.
list_*, get_*, discover, backtest_info, get_screener, list_presets)create_*, update_*, clone_bot, manage_bot, manage_deal, manage_global_variable, apply_preset, and run_backtest/mcp with GAINIUM_READONLY=true, served at mcp.gainium.io/read): exposes and allows only the 9 readOnlyHint tools — run_backtest and all write tools are excludedGAINIUM_MCP_PUBLIC_URL is set, the server treats as its RFC 8707 resource. An access token whose introspected aud is a *different* resource is rejected — a token minted for mcp.gainium.io/read can't be replayed against mcp.gainium.io/mcp, and vice versa. Tokens with no aud (legacy grants) are still accepted.# Clone and install
git clone https://github.com/gainium/gainium-mcp.git cd gainium-mcp npm install
npm run build
export GAINIUM_API_KEY=your_key export GAINIUM_API_SECRET=your_secret node dist/server.js
export GAINIUM_MCP_TRANSPORT=http export GAINIUM_MCP_PORT=3000 node dist/server.js
gainium-mcp/
├── src/ │ ├── server.ts # MCP server + tool definitions (stdio + HTTP/SSE transports) │ └── gainium-client.ts # HMAC-authenticated HTTP client for Gainium API v2 ├── dist/ # Compiled output (published to npm) ├── package.json ├── tsconfig.json └── README.md
MIT