add_external_dll
Downloads external DLLs from a URL and installs them under Assets, enabling native plugins and libraries to be added to a Unity project without a UPM package.
Instructions
Downloads a raw DLL (or any binary asset) from a URL and installs it under the Unity project's Assets//. Use this for native plugins, NuGet DLLs, and CDN-hosted libraries that aren't published as Unity packages — e.g. zxing.unity.dll, Newtonsoft.Json.dll, custom .so/.aar bundles. The Node MCP server downloads the URL to a temp file and asks the Unity Editor to copy it into the Assets tree and refresh the AssetDatabase. Use add_package (source=github) for git-hosted UPM packages instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"destinationFolder": "<destinationFolder>"
},
"name": "add_external_dll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Direct download URL for the DLL or binary asset. | |
| fileName | No | File name to save as (including extension). Defaults to the last segment of the URL. | |
| overwrite | No | Overwrite an existing file at the destination. Default true. | |
| destinationFolder | Yes | Folder under Assets/ to place the file in. Will be created if missing. Example: "Plugins/ZXing". |