bamin0422/mcp_business_check_server
If you are the rightful owner of mcp_business_check_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP Business Check Server is designed to verify and retrieve information about business registration numbers using the Model Context Protocol (MCP).
check_business_number
Verifies the authenticity of a business registration number and retrieves related information.
register_api_key
Registers an API key for accessing public data portal services.
MCP Business Check Server
μ¬μ μλ±λ‘λ²νΈ μ§μ λ° μ 보 μ‘°ν MCP (Model Context Protocol) μλ²μ λλ€.
ποΈ μν€ν μ²
μ΄ νλ‘μ νΈλ MVC (Model-View-Controller) ν¨ν΄μ μ¬μ©νμ¬ κ΅¬μ‘°νλμ΄ μμ΅λλ€:
src/
βββ models/ # λ°μ΄ν° λͺ¨λΈ μ μ
βββ services/ # λΉμ¦λμ€ λ‘μ§
βββ controllers/ # μμ²/μλ΅ μ²λ¦¬
βββ middleware/ # λ―Έλ€μ¨μ΄ (μΈμ¦, κ²μ¦, λ‘κΉ
)
βββ routes/ # λΌμ°ν° μ μ
βββ utils/ # μ νΈλ¦¬ν° ν¨μ
βββ server.ts # λ©μΈ μ ν리μΌμ΄μ
π κΈ°λ₯
MCP λꡬ
check_business_number
: μ¬μ μλ±λ‘λ²νΈ μ§μ νμΈ λ° μ 보 μ‘°νregister_api_key
: 곡곡λ°μ΄ν°ν¬νΈ API μΈμ¦ν€ λ±λ‘
REST API μλν¬μΈνΈ
GET /
: API μ 보GET /health
: μλ² μν νμΈPOST /register-key
: μΈμ¦ν€ λ±λ‘GET /check-business/:bizNumber
: μ¬μ μλ±λ‘λ²νΈ νμΈ
π μꡬμ¬ν
- Node.js 18+
- pnpm
- 곡곡λ°μ΄ν°ν¬νΈ API μΈμ¦ν€
π οΈ μ€μΉ λ° μ€ν
λ‘컬 κ°λ°
# μμ‘΄μ± μ€μΉ
pnpm install
# TypeScript λΉλ
pnpm build
# κ°λ° λͺ¨λ μ€ν (Express + MCP)
pnpm start
# MCP μ μ© λͺ¨λ μ€ν
MCP_SERVER=true pnpm start
Docker μ€ν
# Docker μ΄λ―Έμ§ λΉλ
docker build -t mcp-business-check-server .
# Docker 컨ν
μ΄λ μ€ν
docker run -it mcp-business-check-server
π§ μ€μ
νκ²½ λ³μ
PORT
: Express μλ² ν¬νΈ (κΈ°λ³Έκ°: 3000)MCP_SERVER
: MCP μ μ© λͺ¨λ νμ±ν (true/false)NODE_ENV
: μ€ν νκ²½ (development/production)
μΈμ¦ν€ λ±λ‘
# REST APIλ‘ λ±λ‘
curl -X POST http://localhost:3000/register-key \
-H "Content-Type: application/json" \
-d '{"apiKey": "your-api-key-here"}'
# MCP λκ΅¬λ‘ λ±λ‘
# register_api_key λꡬ μ¬μ©
π§ͺ ν μ€νΈ
# API μ 보 νμΈ
curl http://localhost:3000/
# ν¬μ€μ²΄ν¬
curl http://localhost:3000/health
# μ¬μ
μλ±λ‘λ²νΈ νμΈ
curl http://localhost:3000/check-business/2208102810
π Smithery AI λ°°ν¬
μ΄ νλ‘μ νΈλ Smithery AIμμ λ°°ν¬ν μ μλλ‘ κ΅¬μ±λμ΄ μμ΅λλ€.
λ°°ν¬ νμΌ
Dockerfile
: Docker 컨ν μ΄λ λΉλ μ€μ smithery.yaml
: Smithery AI λ°°ν¬ μ€μ .dockerignore
: Docker λΉλ μ μ μΈ νμΌ
μ£Όμ μμ μ¬ν
- stdout/stderr λΆλ¦¬: MCP JSON-RPC νλ‘ν μ½κ³Ό μΆ©λ λ°©μ§
- νκ²½λ³μ μ§μ: PORT νκ²½λ³μ μ λλ‘ μ²λ¦¬
- MCP μ μ© λͺ¨λ: Express μλ² λΉνμ±ν μ΅μ
π νλ‘μ νΈ κ΅¬μ‘°
Models (λͺ¨λΈ)
BusinessInfo.ts
: μ¬μ μ μ 보 μΈν°νμ΄μ€Config.ts
: μ€μ κ΄λ ¨ μΈν°νμ΄μ€
Services (μλΉμ€)
BusinessCheckService.ts
: μ¬μ μλ±λ‘λ²νΈ νμΈ λΉμ¦λμ€ λ‘μ§ConfigService.ts
: μ€μ κ΄λ¦¬MCPService.ts
: MCP μλ² κ΄λ¦¬
Controllers (컨νΈλ‘€λ¬)
BusinessController.ts
: μ¬μ μ κ΄λ ¨ μμ² μ²λ¦¬ConfigController.ts
: μ€μ κ΄λ ¨ μμ² μ²λ¦¬HealthController.ts
: ν¬μ€μ²΄ν¬ μμ² μ²λ¦¬
Middleware (λ―Έλ€μ¨μ΄)
auth.ts
: μΈμ¦ μ²λ¦¬validation.ts
: μ λ ₯ μ ν¨μ± κ²μ¦common.ts
: CORS, λ‘κΉ , μλ¬ μ²λ¦¬
Routes (λΌμ°ν°)
business.ts
: μ¬μ μ κ΄λ ¨ λΌμ°ν°config.ts
: μ€μ κ΄λ ¨ λΌμ°ν°health.ts
: ν¬μ€μ²΄ν¬ λΌμ°ν°
Utils (μ νΈλ¦¬ν°)
errors.ts
: 컀μ€ν μλ¬ ν΄λμ€validators.ts
: μ ν¨μ± κ²μ¦ ν¨μ
π API μλ΅ μμ
μ¬μ μλ±λ‘λ²νΈ νμΈ μλ΅
{
"isValid": true,
"businessName": "ν
μ€νΈ κΈ°μ
",
"ownerName": "νκΈΈλ",
"address": "μμΈμ κ°λ¨κ΅¬",
"status": "κ΅μΈμ²μ λ±λ‘λ μ¬μ
μμ
λλ€.",
"raw": {
"b_no": "2208102810",
"b_stt": "κ³μμ¬μ
μ",
"tax_type": "κ΅μΈμ²μ λ±λ‘λ μ¬μ
μμ
λλ€."
},
"timestamp": "2025-07-20T04:13:28.985Z",
"requestId": "vla2g0r4y"
}
π€ κΈ°μ¬
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
π λΌμ΄μ μ€
μ΄ νλ‘μ νΈλ MIT λΌμ΄μ μ€ νμ λ°°ν¬λ©λλ€.
π μ§μ
λ¬Έμ κ° λ°μνκ±°λ μ§λ¬Έμ΄ μμΌμλ©΄ μ΄μλ₯Ό μμ±ν΄ μ£ΌμΈμ.