About Toss Invest
An unofficial TypeScript SDK and local MCP server for Toss Securities Open API, intended for clients that need market and account access. It is read-only by default, with trading available only when explicitly enabled.
Key features
- 01Access to market and account APIs
- 02Automatic access-token caching and refresh
- 03Local MCP server
- 04Read-only by default; optional trading
Use cases
- 01Read Toss Securities market data
- 02View account information
- 03Call trading APIs after explicitly enabling them
MCP support
The local MCP server uses the SDK to expose Toss Securities Open API to MCP clients. Access is read-only by default; trading must be explicitly enabled.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @wi9ine/toss-invest-mcpTOSS_CLIENT_IDSecretToss Securities Open API client IDTOSS_CLIENT_SECRETSecretToss Securities Open API client secretLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
29Saved tool list · updated today
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbols | array | Yes | List of stock symbols. Example: ["005930", "AAPL"] |
Details
From the project READMEToss Securities Open API
Unofficial community project. This project is not affiliated with or endorsed by Toss Securities.
pnpm workspace for a TypeScript SDK and a local MCP server for the Toss Securities Open API. The MCP server is read-only unless trading is explicitly enabled.
Packages
packages/sdk: TypeScript SDK with automatic access-token caching and refreshapps/mcp: local MCP server built on the SDK, with opt-in trading permissions
Requirements
- Node.js 22.18 or later
- pnpm
Setup
pnpm install
cp .env.example .env
Set TOSS_CLIENT_ID and TOSS_CLIENT_SECRET in .env, then run:
pnpm check
pnpm test
pnpm test:live
The live test only performs read operations, and the MCP server defaults to read-only. See the SDK guide and MCP setup guide for usage details.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.