feat: refactor imports in ExecuteService and MCP Gateway items

This commit is contained in:
jade
2026-07-14 16:56:18 +09:00
parent 1eddc1eb36
commit cdd61393fe
11 changed files with 719 additions and 66 deletions

24
test.py Normal file
View File

@@ -0,0 +1,24 @@
import urllib.request
import json
url = 'http://localhost:8281/mcp'
data = {
"jsonrpc": "2.0",
"id": "1",
"method": "tools/call",
"params": {
"name": "other_register_vacation",
"arguments": {
"date": "2026-07-15",
"employeeId": "010-9999-1111",
"unknownData": "이건 차단되어야 해"
}
}
}
req = urllib.request.Request(url, data=json.dumps(data).encode('utf-8'), headers={'Content-Type': 'application/json'})
try:
with urllib.request.urlopen(req) as response:
print(response.read().decode('utf-8'))
except Exception as e:
print(e)