MCP server for kiwoom-cli — 키움증권 REST API 236종을 AI 에이전트에 연결합니다
Project description
kiwoom-mcp (server)
이 디렉터리는 kiwoom-plugin의 MCP 서버 본체입니다. 플러그인이 uvx로 이 디렉터리를 직접 실행하므로 별도 배포(PyPI/npm)가 없습니다.
kiwoom-cli 236종 API를 MCP 도구로 노출합니다. 안전장치(주문 확인 게이트, dry-run, 멱등키, envelope)는 kiwoom-cli의 것을 그대로 통과시킵니다.
단독 실행
uvx --from "git+https://github.com/gejyn14/kiwoom-plugin@v0.1.0#subdirectory=server" kiwoom-mcp
uvx --from "git+https://github.com/gejyn14/kiwoom-plugin@v0.1.0#subdirectory=server" kiwoom-mcp --allow-orders
전송·인증·안전 모델은 상위 README를 참고하세요.
개발
pip install -e ".[dev]"
pytest tests/ -q
ruff check kiwoom_mcp/
도구
| 도구 | 설명 |
|---|---|
kiwoom_describe |
명령 트리 조회 |
kiwoom_find |
키워드로 명령·API 검색 |
kiwoom_run |
임의의 kiwoom-cli 명령 실행 |
kiwoom_stream_snapshot |
실시간 스트림에서 N개 이벤트 |
kiwoom_order_validate |
주문 사전점검 (read-only) |
kiwoom_order |
주문 전송 — --allow-orders 시에만 등록 |
라이선스
Apache-2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kiwoom_mcp-0.1.0.tar.gz
(20.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kiwoom_mcp-0.1.0.tar.gz.
File metadata
- Download URL: kiwoom_mcp-0.1.0.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d846c5fd3382740927170857ced6af1692c762ea9e85bd520d48599cecd406d
|
|
| MD5 |
d8fb9282812359c45171ff5e35c321c1
|
|
| BLAKE2b-256 |
2e0444d7f21fe588da16caacfc18dae852bfc5f67634eabbf43808ac746d3066
|
File details
Details for the file kiwoom_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kiwoom_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24f1b9889c446097d431cea5bb26a09a1cd2c6536897d82b8ddc1d7ab3a03035
|
|
| MD5 |
73852afa077f3f5b2538e12315b155f7
|
|
| BLAKE2b-256 |
70f72b8da2d2e3b8c4432d7e9545af6fa9ca71e8e210e42a39132064479ed4b4
|