-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.py
More file actions
47 lines (38 loc) · 1.06 KB
/
server.py
File metadata and controls
47 lines (38 loc) · 1.06 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
#!/usr/bin/env python3
"""IIS Migration MCP Server — entry point.
Exposes PowerShell-based IIS migration scripts as MCP tools for
GitHub Copilot (and any MCP-compatible client) via stdio transport.
Usage:
python server.py
VS Code integration (.vscode/mcp.json):
{
"servers": {
"iis-migration": {
"command": "python",
"args": ["server.py"],
"cwd": "${workspaceFolder}"
}
}
}
"""
# Import the shared server instance, then import each tool module
# so the @server.tool() decorators register the tools.
from tools import server
import tools.discover
import tools.assess
import tools.package
import tools.generate_settings
import tools.migrate
import tools.suggest
import tools.assessment_router
import tools.assess_source
import tools.recommend
import tools.install_script
import tools.generate_adapter_arm
import tools.plan_deployment
import tools.confirm_migration
import tools.configure
def main() -> None:
server.run(transport="stdio")
if __name__ == "__main__":
main()