{"_id":"@aihubmix/mcp","_rev":"8-9e624e43db709ea3102b88a7b08b0280","name":"@aihubmix/mcp","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.1":{"name":"@aihubmix/mcp","version":"0.0.1","keywords":["mcp","server","ai","tools"],"author":{"name":"chenxue"},"license":"MIT","_id":"@aihubmix/mcp@0.0.1","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://github.com/inferera/aihubmix#readme","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"aihubmix-mcp":"build/server.js"},"dist":{"shasum":"aca192a302de4544a339687a7efd6578071597d2","tarball":"https://registry.npmjs.org/@aihubmix/mcp/-/mcp-0.0.1.tgz","fileCount":44,"integrity":"sha512-Dw18AObdvtCA1pl7+garg/KIr/metuONFnioM57218tKcxAsTQIsH6MMKomRlVfFwv7qikI1gte2fR3fl/U5iw==","signatures":[{"sig":"MEYCIQDnjFZbv2XZP8o0K4UUViKxwvzb3RT5rNExnk2ICIpsCwIhAKH7+I2KzLv2iOUHS9vo/m22tMj0QUSqx7a7obz3oVkw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66203},"main":"build/server.js","type":"module","types":"./build/server.d.ts","engines":{"node":">=16.0.0"},"gitHead":"aa02c6acee892df1fd9e3ec2963a478601924b58","scripts":{"dev":"tsx src/server.ts","lint":"eslint src/**/*.ts","test":"vitest","build":"tsc && chmod 755 build/server.js","clean":"rm -rf build","start":"node --experimental-specifier-resolution=node build/server.js","inspect":"npx @modelcontextprotocol/inspector","prepack":"npm run build","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Custom MCP Server with file operations and API tools","directories":{},"_nodeVersion":"20.19.2","dependencies":{"zod":"^3.22.0","winston":"^3.11.0","form-data":"^4.0.3","node-fetch":"^3.0.0","@modelcontextprotocol/sdk":"^0.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/winston":"^2.4.4"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.1_1754490506383_0.1804868528980461","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@aihubmix/mcp","version":"0.0.2","keywords":["mcp","server","ai","tools"],"author":{"name":"chenxue"},"license":"MIT","_id":"@aihubmix/mcp@0.0.2","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://github.com/inferera/aihubmix#readme","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"aihubmix-mcp":"build/server.js"},"dist":{"shasum":"19357a08d612214e69363cfd83b18fc134abb5aa","tarball":"https://registry.npmjs.org/@aihubmix/mcp/-/mcp-0.0.2.tgz","fileCount":44,"integrity":"sha512-Eb1ySCbpw9Mm9LybPlLIPky8JV74Hra1Dl12Fy22duMZgc+z/mS+w6ib4hmmqJKSCiDAsV2vg+4Vedq543+aig==","signatures":[{"sig":"MEUCIQDjqltGld1HuhuxLB5afx0xHqGQlOmnrEgfG5q7zthRtQIgLBW1UsfCTBK/CGhJZnZAj91NLi3jBB4q3h5j+SBfteY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75376},"main":"build/server.js","type":"module","types":"./build/server.d.ts","engines":{"node":">=16.0.0"},"gitHead":"aa02c6acee892df1fd9e3ec2963a478601924b58","scripts":{"dev":"tsx src/server.ts","lint":"eslint src/**/*.ts","test":"vitest","build":"tsc && chmod 755 build/server.js","clean":"rm -rf build","start":"node --experimental-specifier-resolution=node build/server.js","inspect":"npx @modelcontextprotocol/inspector","prepack":"npm run build","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Custom MCP Server with file operations and API tools","directories":{},"_nodeVersion":"20.19.2","dependencies":{"zod":"^3.22.0","winston":"^3.11.0","form-data":"^4.0.3","node-fetch":"^3.0.0","@modelcontextprotocol/sdk":"^0.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/winston":"^2.4.4"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.2_1754492752803_0.13189929518081378","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@aihubmix/mcp","version":"0.0.3","keywords":["mcp","server","ai","tools"],"author":{"name":"chenxue"},"license":"MIT","_id":"@aihubmix/mcp@0.0.3","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://github.com/inferera/aihubmix#readme","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"aihubmix-mcp":"build/server.js"},"dist":{"shasum":"fbc5fba5c6739515070a82d5b72ae2084668f954","tarball":"https://registry.npmjs.org/@aihubmix/mcp/-/mcp-0.0.3.tgz","fileCount":44,"integrity":"sha512-tKy5771FIDY+XJtDfyjllvkDHAEOptJzD/+2UWsZfivW23SQ3LgUH6W2cgJ3Eca4s7I7RmEAQudHlolBHOdb4Q==","signatures":[{"sig":"MEUCIH+8oWpq3zT8woGjiHcsRzYQ8JyWcJBnjmvFQ9ll1T9OAiEAlxxpWw7S7OSHozLUUL8uL6c4vjj7TxGpzH/5KIQR/bQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75429},"main":"build/server.js","type":"module","types":"./build/server.d.ts","engines":{"node":">=16.0.0"},"gitHead":"26a72d3a1f30394affc4393581dc5263a5b38434","scripts":{"dev":"tsx src/server.ts","lint":"eslint src/**/*.ts","test":"vitest","build":"tsc && chmod 755 build/server.js","clean":"rm -rf build","start":"node --experimental-specifier-resolution=node build/server.js","inspect":"npx @modelcontextprotocol/inspector","prepack":"npm run build","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Custom MCP Server with file operations and API tools","directories":{},"_nodeVersion":"20.19.2","dependencies":{"zod":"^3.22.0","winston":"^3.11.0","form-data":"^4.0.3","node-fetch":"^3.0.0","@modelcontextprotocol/sdk":"^0.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/winston":"^2.4.4"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.3_1754494732719_0.588221518647496","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@aihubmix/mcp","version":"0.0.4","keywords":["mcp","server","ai","tools"],"author":{"name":"chenxue"},"license":"MIT","_id":"@aihubmix/mcp@0.0.4","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://github.com/inferera/aihubmix#readme","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"aihubmix-mcp":"build/server.js"},"dist":{"shasum":"035baff2726928ab5a49d7a0f2aad49097ba3763","tarball":"https://registry.npmjs.org/@aihubmix/mcp/-/mcp-0.0.4.tgz","fileCount":44,"integrity":"sha512-bPWmGyZwoARwzffkLVR9AIhpNlEpzJEY5eGT0mTS02a6IgVY0fQuumTAtOudq45p8FhaAkOhn9B6c2LgNYhywg==","signatures":[{"sig":"MEUCIQDXQzx9HNsEMMtJh0whq0OdF6mVOMcZBeZ5QpXTBO4FGgIgOPaKInqb59fvjp/Exx0R35urrC//nnadV57AKL7p+UA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75429},"main":"build/server.js","type":"module","types":"./build/server.d.ts","engines":{"node":">=16.0.0"},"gitHead":"2bf4104be48c91a7d034b9624330652f3386c084","scripts":{"dev":"tsx src/server.ts","lint":"eslint src/**/*.ts","test":"vitest","build":"tsc && chmod 755 build/server.js","clean":"rm -rf build","start":"node --experimental-specifier-resolution=node build/server.js","inspect":"npx @modelcontextprotocol/inspector","prepack":"npm run build","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Custom MCP Server with file operations and API tools","directories":{},"_nodeVersion":"20.19.2","dependencies":{"zod":"^3.22.0","winston":"^3.11.0","form-data":"^4.0.3","node-fetch":"^3.0.0","@modelcontextprotocol/sdk":"^0.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/winston":"^2.4.4"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.4_1754734015235_0.8164641831606434","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@aihubmix/mcp","version":"0.0.5","keywords":["mcp","server","ai","tools"],"author":{"name":"chenxue"},"license":"MIT","_id":"@aihubmix/mcp@0.0.5","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://github.com/inferera/aihubmix#readme","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"aihubmix-mcp":"build/server.js"},"dist":{"shasum":"86decba008a54ac4ea473d55f92681f87cb95f3b","tarball":"https://registry.npmjs.org/@aihubmix/mcp/-/mcp-0.0.5.tgz","fileCount":44,"integrity":"sha512-vASEesagS78NkqqKd9ngd0ujB+FiDk/LfwcCQBberuKhDtNanufihGG3ex43ZMOyptKF9HIfAYjRzQHWFwsO6Q==","signatures":[{"sig":"MEQCIGp5MsMqGyB0tNLtKdt4hV+mUSZsMobJDzDHm4v947TsAiAtVSwJ9Vfcz7zE/24UbH4a+HR0xzRgljCDWMNn56oXdQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74970},"main":"build/server.js","type":"module","types":"./build/server.d.ts","engines":{"node":">=16.0.0"},"gitHead":"243a6342ed142f0ded5705a65a4f6c43a420e051","scripts":{"dev":"tsx src/server.ts","lint":"eslint src/**/*.ts","test":"vitest","build":"tsc && chmod 755 build/server.js","clean":"rm -rf build","start":"node --experimental-specifier-resolution=node build/server.js","inspect":"npx @modelcontextprotocol/inspector","prepack":"npm run build","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Custom MCP Server with file operations and API tools","directories":{},"_nodeVersion":"20.19.2","dependencies":{"zod":"^3.22.0","winston":"^3.11.0","form-data":"^4.0.3","node-fetch":"^3.0.0","@modelcontextprotocol/sdk":"^0.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/winston":"^2.4.4"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.5_1754829780556_0.943741579687251","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@aihubmix/mcp","version":"0.0.6","keywords":["mcp","server","ai","tools"],"author":{"name":"chenxue"},"license":"MIT","_id":"@aihubmix/mcp@0.0.6","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://github.com/inferera/aihubmix#readme","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"aihubmix-mcp":"build/server.js"},"dist":{"shasum":"7357cff32e0c5d44c9974b8f214b3f96519cf194","tarball":"https://registry.npmjs.org/@aihubmix/mcp/-/mcp-0.0.6.tgz","fileCount":44,"integrity":"sha512-ZfmMYvCUx8OMymKiLtZvgK0/sj4uibfRxaAY3ar8oP7Qym0fhhujv6GdnBMgVgQIFHhNVkvOqBk4sfHWq0aKsQ==","signatures":[{"sig":"MEQCIHpi1Bf+cQInu/K9aFccWhC3D24AFMZIPVrjem699Z1OAiBXrQdmLypDWOWgB6YrWJIWRJAH2e1wgnYWjGN9rH5YWw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75082},"main":"build/server.js","type":"module","types":"./build/server.d.ts","engines":{"node":">=16.0.0"},"gitHead":"aef60a201ba80d298a6a649146f2c543433bf4b4","scripts":{"dev":"tsx src/server.ts","lint":"eslint src/**/*.ts","test":"vitest","build":"tsc && chmod 755 build/server.js","clean":"rm -rf build","start":"node --experimental-specifier-resolution=node build/server.js","inspect":"npx @modelcontextprotocol/inspector","prepack":"npm run build","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Custom MCP Server with file operations and API tools","directories":{},"_nodeVersion":"20.19.2","dependencies":{"zod":"^3.22.0","winston":"^3.11.0","form-data":"^4.0.3","node-fetch":"^3.0.0","@modelcontextprotocol/sdk":"^0.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/winston":"^2.4.4"},"_npmOperationalInternal":{"tmp":"tmp/mcp_0.0.6_1754830670652_0.3930538817100291","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@aihubmix/mcp","version":"1.0.0","keywords":["mcp","server","ai","tools"],"author":{"name":"chenxue"},"license":"MIT","_id":"@aihubmix/mcp@1.0.0","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"homepage":"https://github.com/inferera/aihubmix#readme","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"bin":{"aihubmix-mcp":"build/server.js"},"dist":{"shasum":"25a2482a076f00e1cac8e809e3ca8d3fe1d325e1","tarball":"https://registry.npmjs.org/@aihubmix/mcp/-/mcp-1.0.0.tgz","fileCount":45,"integrity":"sha512-K0YESSurIviBxLg3Hua+Ca/AV2amhAsjw29Gum95R57slMnQmauWx/cJN554Kw3PlXHjDsYtX7h5x+z1B7rI4w==","signatures":[{"sig":"MEUCIAH2dHlT8/R6YDSuylOA9Hs6e7WAfuwY22rt9PqyGYH3AiEA44uUZ6rT6l+3YilJCxFB+uJHt/zhTDhsh73el42lnd8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86406},"main":"build/server.js","type":"module","_from":"file:aihubmix-mcp-1.0.0.tgz","types":"./build/server.d.ts","engines":{"node":">=16.0.0"},"scripts":{"dev":"tsx src/server.ts","lint":"eslint src/**/*.ts","test":"vitest","build":"tsc && chmod 755 build/server.js","clean":"rm -rf build","start":"node --experimental-specifier-resolution=node build/server.js","inspect":"npx @modelcontextprotocol/inspector","release":"npm run build && npm publish"},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"_resolved":"/private/var/folders/cb/fhpf9vn568nfgb006_2p2_yr0000gn/T/25c7d28ddd699ddcdb4a293d41088932/aihubmix-mcp-1.0.0.tgz","_integrity":"sha512-K0YESSurIviBxLg3Hua+Ca/AV2amhAsjw29Gum95R57slMnQmauWx/cJN554Kw3PlXHjDsYtX7h5x+z1B7rI4w==","repository":{"url":"git+https://github.com/inferera/aihubmix.git","type":"git"},"_npmVersion":"10.8.2","description":"Custom MCP Server with file operations and API tools","directories":{},"_nodeVersion":"20.17.0","dependencies":{"zod":"^3.22.0","winston":"^3.11.0","form-data":"^4.0.3","node-fetch":"^3.0.0","@modelcontextprotocol/sdk":"^0.4.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.0.0","eslint":"^8.0.0","vitest":"^1.0.0","typescript":"^5.0.0","@types/node":"^20.0.0","@types/winston":"^2.4.4"},"_npmOperationalInternal":{"tmp":"tmp/mcp_1.0.0_1769938858683_0.7201270597884235","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@aihubmix/mcp","version":"1.1.0","description":"Custom MCP Server with file operations and API tools","main":"build/server.js","type":"module","engines":{"node":">=16.0.0"},"bin":{"aihubmix-mcp":"build/server.js"},"dependencies":{"@aihubmix/media-adapters":"^0.2.2","@modelcontextprotocol/sdk":"^0.4.0","form-data":"^4.0.3","node-fetch":"^3.0.0","winston":"^3.11.0","zod":"^3.22.0"},"devDependencies":{"@types/node":"^20.0.0","@types/winston":"^2.4.4","eslint":"^8.0.0","tsx":"^4.0.0","typescript":"^5.0.0","vitest":"^1.0.0"},"keywords":["mcp","server","ai","tools"],"author":{"name":"chenxue"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/inferera/aihubmix.git"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"build":"tsc && chmod 755 build/server.js","start":"node --experimental-specifier-resolution=node build/server.js","dev":"tsx src/server.ts","test":"vitest","lint":"eslint src/**/*.ts","clean":"rm -rf build","inspect":"npx @modelcontextprotocol/inspector","release":"npm run build && npm publish"},"_id":"@aihubmix/mcp@1.1.0","types":"./build/server.d.ts","bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"homepage":"https://github.com/inferera/aihubmix#readme","_integrity":"sha512-bDRI1gTh/te9qSTyLVA8muBypA6rVMm7Mn5pyHrOcze9ibMv5nV5sEYjwrrISDNgBm/MJz9AovbB2arw1kn8vg==","_resolved":"/private/var/folders/7k/hgbqzhxj70z_lnvks8xqbrhc0000gn/T/062066bac1b7bbf3f83b6eae1d509a89/aihubmix-mcp-1.1.0.tgz","_from":"file:aihubmix-mcp-1.1.0.tgz","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-bDRI1gTh/te9qSTyLVA8muBypA6rVMm7Mn5pyHrOcze9ibMv5nV5sEYjwrrISDNgBm/MJz9AovbB2arw1kn8vg==","shasum":"75959f6c6ba169bbe0c08743a894bda48324cf46","tarball":"https://registry.npmjs.org/@aihubmix/mcp/-/mcp-1.1.0.tgz","fileCount":45,"unpackedSize":122750,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD7NlplgsfUttgIU9/q/uk2oVQMD13yIAB4PSTdPxE+TQIhAK2wQfGI/9UPPWYVcBsBRo5pDUu4lN7qEEMGvHRUqVDB"}]},"_npmUser":{"name":"chenxue","email":"450907240@qq.com"},"directories":{},"maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_1.1.0_1782889757984_0.8021108280950224"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-06T14:28:26.317Z","modified":"2026-07-01T07:09:18.252Z","0.0.1":"2025-08-06T14:28:26.555Z","0.0.2":"2025-08-06T15:05:53.009Z","0.0.3":"2025-08-06T15:38:52.894Z","0.0.4":"2025-08-09T10:06:55.432Z","0.0.5":"2025-08-10T12:43:00.722Z","0.0.6":"2025-08-10T12:57:50.827Z","1.0.0":"2026-02-01T09:40:58.823Z","1.1.0":"2026-07-01T07:09:18.147Z"},"bugs":{"url":"https://github.com/inferera/aihubmix/issues"},"author":{"name":"chenxue"},"license":"MIT","homepage":"https://github.com/inferera/aihubmix#readme","keywords":["mcp","server","ai","tools"],"repository":{"type":"git","url":"git+https://github.com/inferera/aihubmix.git"},"description":"Custom MCP Server with file operations and API tools","maintainers":[{"name":"chenxue","email":"450907240@qq.com"}],"readme":"# @aihubmix/mcp\n\n## 使用教程\n客户端 mcp配置，更改后重启客户端生效\n```json\n{\n  \"mcpServers\": {\n    \"aihubmix-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@aihubmix/mcp\"],\n      \"env\": {\n        \"AIHUBMIX_API_KEY\": \"<AIHUBMIX_API_KEY>\"\n      }\n    }\n  }\n}\n```\n\n## 环境变量\n\n| 变量 | 必填 | 默认值 | 说明 |\n| --- | --- | --- | --- |\n| `AIHUBMIX_API_KEY` | 是 | - | AIHubMix API Key |\n| `AIHUBMIX_BASE_URL` | 否 | `https://aihubmix.com` | API 基础地址，只填协议 + 域名（不含 `/v1`），末尾斜杠会自动去除 |\n\n### 更换域名（base URL）\n\n默认请求 `https://aihubmix.com`。如需指向其它同构域名（自建网关、专属域名或测试环境），\n在 `env` 中加入 `AIHUBMIX_BASE_URL`，填入 `https://<你的域名>` 即可，无需带 `/v1` 路径：\n\n```json\n{\n  \"mcpServers\": {\n    \"aihubmix-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@aihubmix/mcp\"],\n      \"env\": {\n        \"AIHUBMIX_API_KEY\": \"<AIHUBMIX_API_KEY>\",\n        \"AIHUBMIX_BASE_URL\": \"https://<你的域名>\"\n      }\n    }\n  }\n}\n```\n\n工具会在此基础上自动拼接接口路径（图片 `/v1/models/...`、视频 `/v1/videos`、Gemini `/gemini/...`），\n所以只需提供到域名一级。\n\n其他可选变量：`AIHUBMIX_VIDEO_POLL_TIMEOUT_MS`（视频轮询超时，默认 `480000`，即 8 分钟；超时仍未完成会返回任务 id 供后续查询）。\n\n## 工具\n\n### `image_generate` — 图片生成\n\n| 模型 key | 上游模型 | 主要参数 |\n| --- | --- | --- |\n| `nano-banana-pro` *(默认)* / `nano-banana-2` | Google Gemini 原生 | `aspect_ratio`、`size`(1K/2K/4K)、`google_search` |\n| `gpt-image-1.5` / `gpt-image-1` / `gpt-image-1-mini` / `dall-e-3` | OpenAI | `size`、`n`、`quality`、`background`、`output_format` |\n| `imagen-4.0-ultra` / `imagen-4.0` / `imagen-4.0-fast` / `imagen-3.0` | Google Imagen | `aspect_ratio`、`n` |\n| `flux-2-pro` / `flux-2-flex` | Black Forest Labs | `aspect_ratio`、`seed` |\n| `ideogram-v3` | Ideogram | `rendering_speed`、`aspect_ratio` |\n| `seedream-5.0-lite` / `seedream-4.5` / `seedream-4.0` | Doubao | `size`(1K/2K/4K)、`watermark`、`seed` |\n| `wan2.7-image-pro` / `wan2.7-image` / `wan2.6-image` | Alibaba Wan | `size`、`aspect_ratio`、`n`、`seed`、`thinking_mode`、`prompt_extend`、`negative_prompt` |\n| `qwen-image-2.0-pro` / `qwen-image-2.0` / `qwen-image-max` / `qwen-image` | Alibaba Qwen | `size`、`n`、`seed` |\n\n必填：`model`、`prompt`。支持的模型可传 `input_reference`（参考图 URL）进行图生图。\n\n### `video_generate` — 视频生成（异步：提交任务后自动轮询直到完成）\n\n| 模型 key | 上游模型 | 时长 | 主要参数 |\n| --- | --- | --- | --- |\n| `seedance-2.0` *(默认)* / `seedance-2.0-fast` | ByteDance SeeDance | 4–15s | `resolution`(480p/720p)、`aspect_ratio`、`watermark`、`seed`、`camera_fixed`、`generate_audio` |\n| `wan-2.7` / `wan-2.6` / `wan-2.5` | Alibaba Wan | 2–15s / 5·10s | `size`(WxH) |\n| `sora-2` / `sora-2-pro` | OpenAI Sora | 4/8/12s | `size`(720x1280…1792x1024) |\n| `jimeng-3.0-pro` / `jimeng-3.0` | ByteDance Jimeng | 5/10s | `size`、`aspect_ratio` |\n\n必填：`model`、`prompt`。`seedance` / `wan-2.6` / `wan-2.5` / `sora` / `jimeng` 支持 `input_reference`（参考图 URL）进行图生视频。返回任务 id、状态与鉴权下载地址（`GET {base}/v1/videos/{id}/content`，需带 `Authorization: Bearer <AIHUBMIX_API_KEY>`）。\n\n或以如下方式安装：\n全局安装 `@aihubmix/mcp` 包\n```bash\nnpm install -g @aihubmix/mcp\n```\n\n客户端 mcp 配置\n```json\n{\n  \"mcpServers\": {\n    \"aihubmix-mcp\": {\n      \"command\": \"path/to/node\",\n      \"args\": [\"path/to/@aihubmix/mcp/build/server.js\"],\n      \"env\": {\n         \"BRAVE_KEY\": \"...\"\n      }\n    }\n  }\n}\n```\n例如：\n```json\n{\n  \"mcpServers\": {\n    \"aihubmix-mcp\": {\n      \"command\": \"/Users/zhaochenxue/.nvm/versions/node/v16.20.0/bin/node\",\n      \"args\": [\"/Users/zhaochenxue/.nvm/versions/node/v16.20.0/lib/node_modules/@aihubmix/mcp/build/server.js\"],\n      \"env\": {\n        \"AIHUBMIX_API_KEY\": \"<AIHUBMIX_API_KEY>\"\n      }\n    }\n  }\n}\n```\n\n## 使用案例\n\n1、Cursor 中使用：\n\n```json\n{\n  \"mcpServers\": {\n    \"aihubmix-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@aihubmix/mcp\"],\n      \"env\": {\n        \"AIHUBMIX_API_KEY\": \"<AIHUBMIX_API_KEY>\"\n      }\n    }\n  }\n}\n```\n\n![cursor](https://www.resource.nestsound.cn/mcp/cursor.jpg)\n\n2、Cherry Studio 中使用：\n\n注意📢：npx 需使用全路径，例如： /Users/zhaochenxue/.nvm/versions/node/v16.20.0/bin/npx\n其他问题： https://github.com/CherryHQ/cherry-studio/issues/3264\n\n```json\n{\n  \"mcpServers\": {\n    \"aihubmix-mcp\": {\n      \"command\": \"/Users/zhaochenxue/.nvm/versions/node/v16.20.0/bin/npx\",\n      \"args\": [\"-y\", \"@aihubmix/mcp\"],\n      \"env\": {\n        \"AIHUBMIX_API_KEY\": \"<AIHUBMIX_API_KEY>\"\n      }\n    }\n  }\n}\n```\n\n![cherry studio](https://www.resource.nestsound.cn/mcp/cherry.jpg)\n\n\n3、Claude Desktop 中使用：\n\n```bash\nnpm install -g @aihubmix/mcp\n```\n\n```json\n{\n  \"mcpServers\": {\n    \"aihubmix-mcp-server\": {\n      \"command\": \"/Users/zhaochenxue/.nvm/versions/node/v16.20.0/bin/node\",\n      \"args\": [\"/Users/zhaochenxue/.nvm/versions/node/v16.20.0/lib/node_modules/aihubmix-mcp-server/build/server.js\"],\n      \"env\": {\n        \"AIHUBMIX_API_KEY\": \"<AIHUBMIX_API_KEY>\"\n      }\n    }\n  }\n}\n```\n\n![claude](https://www.resource.nestsound.cn/mcp/claude.jpg)\n\n","readmeFilename":"README.md"}