mcp-drg-iris.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. {
  2. "name": "drg-iris-mcp",
  3. "description": "DRG医保控费预警系统IRIS数据库MCP集成",
  4. "version": "1.0.0",
  5. "type": "mcp-server",
  6. "configurations": {
  7. "production": {
  8. "server_url": "http://172.16.2.15:52773",
  9. "namespace": "USER",
  10. "credentials": {
  11. "username": "_system",
  12. "password": "pryk@2020"
  13. },
  14. "api_endpoint": "/csp/drg/sysInternalMutiple",
  15. "timeout": 30000,
  16. "retry_count": 3
  17. },
  18. "development": {
  19. "server_url": "http://172.16.2.15:52773",
  20. "namespace": "USER",
  21. "credentials": {
  22. "username": "_system",
  23. "password": "SYS"
  24. },
  25. "api_endpoint": "/csp/drg/sysInternalMutiple",
  26. "timeout": 30000,
  27. "retry_count": 3
  28. }
  29. },
  30. "tools": [
  31. {
  32. "name": "invoke_drg_interface",
  33. "description": "调用DRG系统IRIS接口",
  34. "parameters": {
  35. "interface_code": {
  36. "type": "string",
  37. "description": "接口代码,如02010001",
  38. "required": true
  39. },
  40. "params": {
  41. "type": "array",
  42. "description": "接口参数数组",
  43. "required": false
  44. },
  45. "session_data": {
  46. "type": "object",
  47. "description": "会话信息(可选,默认使用内置session)",
  48. "required": false
  49. },
  50. "pagination": {
  51. "type": "object",
  52. "description": "分页参数(可选)",
  53. "required": false
  54. }
  55. }
  56. },
  57. {
  58. "name": "query_drg_warning_records",
  59. "description": "查询DRG预警记录",
  60. "parameters": {
  61. "start_date": {
  62. "type": "string",
  63. "description": "开始日期(YYYY-MM-DD)",
  64. "required": false
  65. },
  66. "end_date": {
  67. "type": "string",
  68. "description": "结束日期(YYYY-MM-DD)",
  69. "required": false
  70. },
  71. "warning_level": {
  72. "type": "string",
  73. "description": "预警级别:高、中、低",
  74. "required": false
  75. },
  76. "page": {
  77. "type": "number",
  78. "description": "页码",
  79. "required": false,
  80. "default": 1
  81. },
  82. "limit": {
  83. "type": "number",
  84. "description": "每页数量",
  85. "required": false,
  86. "default": 20
  87. }
  88. }
  89. },
  90. {
  91. "name": "analyze_profit_data",
  92. "description": "进行DRG盈亏数据分析",
  93. "parameters": {
  94. "analysis_type": {
  95. "type": "string",
  96. "description": "分析类型:dept(科室)、doctor(医生)、disease(病种)",
  97. "required": true
  98. },
  99. "time_range": {
  100. "type": "object",
  101. "description": "时间范围:开始日期、结束日期",
  102. "required": false
  103. },
  104. "filter_criteria": {
  105. "type": "object",
  106. "description": "过滤条件",
  107. "required": false
  108. }
  109. }
  110. },
  111. {
  112. "name": "manage_system_users",
  113. "description": "管理系统用户",
  114. "parameters": {
  115. "operation": {
  116. "type": "string",
  117. "description": "操作类型:query(查询)、add(新增)、update(更新)、delete(删除)",
  118. "required": true
  119. },
  120. "user_data": {
  121. "type": "object",
  122. "description": "用户数据",
  123. "required": false
  124. },
  125. "filters": {
  126. "type": "object",
  127. "description": "过滤条件",
  128. "required": false
  129. }
  130. }
  131. }
  132. ],
  133. "resources": [
  134. {
  135. "name": "iris_database_connection",
  136. "description": "IRIS数据库连接资源",
  137. "uri": "iris://172.16.2.15:52773/USER",
  138. "metadata": {
  139. "server_type": "InterSystems IRIS",
  140. "database_version": "2023.1+",
  141. "namespace": "USER",
  142. "last_verified": "2026-04-09"
  143. }
  144. },
  145. {
  146. "name": "drg_interface_documentation",
  147. "description": "DRG系统接口文档",
  148. "uri": "file://../接口服务说明/00-接口总览.md",
  149. "mimeType": "text/markdown",
  150. "metadata": {
  151. "format": "markdown",
  152. "last_updated": "2026-03-20"
  153. }
  154. },
  155. {
  156. "name": "drg_data_model",
  157. "description": "DRG数据模型定义",
  158. "uri": "file://../后端数据库结构开发/DRG后端表结构/",
  159. "metadata": {
  160. "type": "directory",
  161. "file_count": 30
  162. }
  163. }
  164. ],
  165. "connection": {
  166. "type": "http",
  167. "base_url": "http://172.16.2.15:52773",
  168. "auth": {
  169. "type": "basic",
  170. "username": "_system",
  171. "password": "pryk@2020"
  172. },
  173. "headers": {
  174. "Accept": "application/json",
  175. "Content-Type": "application/json"
  176. },
  177. "timeout": 30000
  178. },
  179. "security": {
  180. "api_key": "drg-mcp-access-key-2026",
  181. "allowed_origins": ["http://localhost:5173", "http://localhost:8090"],
  182. "rate_limiting": {
  183. "enabled": true,
  184. "requests_per_minute": 60
  185. }
  186. },
  187. "monitoring": {
  188. "enabled": true,
  189. "metrics_endpoint": "/mcp/metrics",
  190. "health_check_endpoint": "/mcp/health",
  191. "log_level": "info"
  192. },
  193. "metadata": {
  194. "project": "DRG医保控费预警系统",
  195. "environment": "production",
  196. "deployment": {
  197. "server": "内网服务器",
  198. "ip_address": "172.16.2.15",
  199. "port": 52773,
  200. "ssh_port": 22
  201. },
  202. "integration_type": "database",
  203. "last_updated": "2026-04-09",
  204. "version": "1.0.0"
  205. }
  206. }