tahamajs/CPS / Files /ComputerAssignments /CA2 /create_plugins.py
tahamajs's picture
download
raw
1.19 kB
import os
import json
plugins_dir = os.path.expanduser("~/.gemini/config/plugins")
os.makedirs(plugins_dir, exist_ok=True)
mcps = [
"android-adb",
"adb-mcp-bridge",
"android-mcp",
"scrcpy-mcp",
"open-mobile-mcp",
"uiautomator2",
"mcp-android-python",
"mcp-mobile-server",
"mobile-mcp",
"mobile-device-mcp",
"mobile-debug-mcp",
"awesome-ionic-mcp",
"cts-single-sensor",
"cts-parameter-range",
"cts-input-device",
"sensor-fusion-aosp",
"robolectric-mcp",
"sensor-kinetics",
"phyphox-mcp",
"privisense-mcp",
"serialtest-mcp",
"sockets-test-mcp",
"octopus-mcp",
"pyautogui-test-suite",
"autoctl-mcp",
"trace-based-metrics",
"record-android-trace",
"perfetto-quickstart",
"mockito-mcp",
"espresso-mcp",
"frida-mcp"
]
for name in mcps:
config = {
"mcpServers": {
name: {
"command": "npx",
"args": ["-y", f"mcp-{name}"]
}
}
}
file_path = os.path.join(plugins_dir, f"{name}.json")
with open(file_path, "w") as f:
json.dump(config, f, indent=2)
print("Plugins generated.")

Xet Storage Details

Size:
1.19 kB
·
Xet hash:
8a4c0272f3c1687555d1f190e2f4b564491c07696a2a0a904c0c18cbeab887f2

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.