nhplug-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NHPLUG_APP_KEY | Yes | Your NH Investment & Securities Open API App Key. | |
| NHPLUG_AUTH_URL | No | Token issuance URL. Default: https://api.nhplug.com:8443 (live only, not for mock). Usually leave as default. | https://api.nhplug.com:8443 |
| NHPLUG_BASE_URL | No | Base URL for REST API calls. Default: https://api.nhplug.com:8443 (live). For mock trading, use https://moapi.nhplug.com:8443. | https://api.nhplug.com:8443 |
| NHPLUG_APP_SECRET | Yes | Your NH Investment & Securities Open API App Secret. | |
| NHPLUG_SUCCESS_CODES | No | Custom comma-separated list of business success codes. Overrides default success codes (e.g., 00000,00166,00221,13578). | |
| NHPLUG_ENABLE_TRADING | No | Set to 'true' to expose trading (order) tools. Default: false. | false |
| NHPLUG_DEFAULT_ACCOUNT | No | Account number to use when omitted in balance/order shortcut tools. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_apisA | NH투자증권 Open API 에서 호출 가능한 엔드포인트 목록을 조회합니다. 자산군(domain)·카테고리·키워드로 필터링할 수 있습니다. 먼저 이 도구로 원하는 API 의 operationId 를 찾은 뒤 describe_api / call_api 로 이어가세요. 주문(거래) API 는 서버가 거래 활성화 모드일 때만 표시됩니다. |
| describe_apiA | 특정 operationId 의 입력 필드(Input_0) 스키마를 반환합니다. call_api 호출 전에 어떤 파라미터가 필요한지 확인하는 용도입니다. |
| call_apiA | operationId 와 입력값으로 NH Open API 를 실제 호출합니다. 인증/헤더/Input_0 봉투는 자동 처리됩니다. 주문(거래) API 는 서버가 거래 활성화 모드(NHPLUG_ENABLE_TRADING=true)일 때만 호출됩니다. |
| get_stock_priceA | 국내주식 현재가 시세를 조회합니다. (단축 도구 = call_api 로 krstockQuoteCurrentPrice 를 호출하는 것과 동일) |
| get_stock_balanceA | 국내주식 계좌 잔고를 조회합니다. (단축 도구 = krstockInquiryBalance) |
| list_accountsA | 로그인 자격증명(앱키/시크릿)에 연결된 보유 계좌 목록을 조회합니다. 잔고조회·주문 전에 계좌번호(act_no)를 확보하는 용도입니다. 입력값은 없습니다. (플랫폼 공통 엔드포인트 POST /n2/acctinfo) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/PLUG-OpenAPI/nhplug-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server