-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmcp-registry.json
More file actions
107 lines (107 loc) · 3.47 KB
/
mcp-registry.json
File metadata and controls
107 lines (107 loc) · 3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "mapper2sql",
"version": "1.0.0",
"description": "Extract SQL from MyBatis mapper XML files with parameter mocking and testing capabilities",
"author": "handsomestWei",
"license": "Apache License 2.0",
"repository": {
"type": "git",
"url": "https://github.com/handsomestWei/mybatis-mapper2sql-mcp-server"
},
"keywords": [
"mybatis",
"sql",
"mapper",
"xml",
"extraction",
"testing",
"mcp"
],
"tools": [
{
"name": "parse_mapper",
"description": "Parse MyBatis mapper XML files and extract SQL statements with placeholders (no parameter mocking)",
"inputSchema": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "Path to mapper XML file or directory"
}
},
"required": [
"filePath"
]
}
},
{
"name": "parse_mapper_and_mock",
"description": "Parse MyBatis mapper XML files and extract SQL statements and mock parameters",
"inputSchema": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "Path to mapper XML file or directory"
}
},
"required": [
"filePath"
]
}
},
{
"name": "parse_mapper_and_run_test",
"description": "Parse MyBatis mapper XML files, extract SQL statements with parameter mocking, and test execution",
"inputSchema": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "Path to mapper XML file or directory"
}
},
"required": [
"filePath"
]
}
}
],
"examples": [
{
"name": "Basic SQL Extraction",
"description": "Extract SQL from a MyBatis mapper XML file with placeholders",
"tool": "parse_mapper",
"arguments": {
"filePath": "/path/to/UserMapper.xml"
}
},
{
"name": "SQL Extraction with Parameter Mocking",
"description": "Extract SQL with automatically mocked parameters",
"tool": "parse_mapper_and_mock",
"arguments": {
"filePath": "/path/to/UserMapper.xml"
}
},
{
"name": "SQL Testing",
"description": "Extract SQL, mock parameters, and test execution",
"tool": "parse_mapper_and_run_test",
"arguments": {
"filePath": "/path/to/UserMapper.xml"
}
}
],
"installation": {
"type": "jar",
"downloadUrl": "https://github.com/handsomestWei/mybatis-mapper2sql-mcp-server/releases/download/v1.0.0/mapper2sql-mcp-server-1.0.0.jar",
"requirements": {
"java": ">=11",
"memory": "512MB"
}
},
"documentation": {
"url": "https://github.com/handsomestWei/mybatis-mapper2sql-mcp-server/blob/main/README.md"
}
}