🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@2oolkit/toss-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@2oolkit/toss-cli - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+1
-1
dist/index.js

@@ -1298,3 +1298,3 @@ #!/usr/bin/env node

"CLI for the Toss Securities (\uD1A0\uC2A4\uC99D\uAD8C) Open API \u2014 query KR/US stock data, manage your account, and place orders"
).version("0.1.0");
).version("0.1.1");
program.exitOverride((err) => {

@@ -1301,0 +1301,0 @@ if (err.code === "commander.helpDisplayed" || err.code === "commander.version") {

@@ -1053,3 +1053,3 @@ #!/usr/bin/env node

name: "toss-mcp",
version: "0.1.0"
version: "0.1.1"
});

@@ -1056,0 +1056,0 @@ registerMarketTools(server);

{
"name": "@2oolkit/toss-cli",
"version": "0.1.0",
"version": "0.1.1",
"description": "CLI & MCP server for the Toss Securities (토스증권) Open API — query KR/US stock prices, manage your account, and place orders",

@@ -5,0 +5,0 @@ "author": "haeminmoon",

@@ -145,4 +145,6 @@ # toss-cli

MCP 클라이언트(Claude Desktop / Cursor / Windsurf) 설정에 추가:
### Claude Desktop / Cursor / Windsurf (JSON)
MCP 클라이언트 설정에 추가:
```json

@@ -153,3 +155,3 @@ {

"command": "npx",
"args": ["-y", "@2oolkit/toss-cli", "toss-mcp"],
"args": ["-y", "-p", "@2oolkit/toss-cli", "toss-mcp"],
"env": {

@@ -165,4 +167,21 @@ "TOSS_CLIENT_ID": "tsck_live_xxx",

이미 `toss-cli config init`을 실행했다면 `env` 블록은 생략 가능합니다 — 서버도 `~/.toss-cli/config.json`을 읽습니다.
### Codex CLI (TOML)
`~/.codex/config.toml`에 추가:
```toml
[mcp_servers.toss]
command = "npx"
args = ["-y", "-p", "@2oolkit/toss-cli", "toss-mcp"]
[mcp_servers.toss.env]
TOSS_CLIENT_ID = "tsck_live_xxx"
TOSS_CLIENT_SECRET = "tssk_live_yyy"
TOSS_ACCOUNT_SEQ = "1"
```
> **참고:** 패키지에 bin이 2개(`toss-cli`, `toss-mcp`)라, npx로 MCP 서버를 띄울 땐 반드시 `-p`로 패키지를 지정해야 합니다 (`npx -y -p @2oolkit/toss-cli toss-mcp`). `-p` 없이 `npx @2oolkit/toss-cli toss-mcp`로 쓰면 CLI가 실행되며 `unknown command 'toss-mcp'` 에러가 납니다.
이미 `toss-cli config init`을 실행했다면(또는 `~/.toss-cli/config.json`이 있으면) 위의 `env` 블록은 생략 가능합니다 — 서버가 해당 파일에서 크리덴셜을 읽습니다.
**툴 목록:** `get_prices`, `get_orderbook`, `get_trades`, `get_price_limits`, `get_candles`, `get_stocks`, `get_stock_warnings`, `get_exchange_rate`, `get_market_calendar`, `get_accounts`, `get_holdings`, `get_buying_power`, `get_sellable_quantity`, `get_commissions`, `list_orders`, `get_order`, `create_order`, `modify_order`, `cancel_order`.

@@ -169,0 +188,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display