Add MCP server for AI agents
Expose webshare_search, webshare_get_link, and webshare_login_check over stdio via the Model Context Protocol SDK. Document client configuration.
This commit is contained in:
10
package.json
10
package.json
@@ -1,20 +1,26 @@
|
||||
{
|
||||
"name": "webshare-api",
|
||||
"version": "1.0.0",
|
||||
"description": "Webshare.cz HTTP API: Torznab indexer + fake qBittorrent client + stream redirect for Sonarr/Radarr",
|
||||
"description": "Webshare.cz HTTP API: Torznab indexer, fake qBittorrent client, and MCP server for AI agents",
|
||||
"main": "src/index.js",
|
||||
"bin": {
|
||||
"webshare-mcp": "src/mcp.js"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node src/index.js",
|
||||
"mcp": "node src/mcp.js",
|
||||
"test": "jest --coverage --runInBand"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.30.0",
|
||||
"axios": "^1.7.0",
|
||||
"express": "^4.19.0",
|
||||
"multer": "^1.4.5-lts.1",
|
||||
"xml2js": "^0.6.0"
|
||||
"xml2js": "^0.6.0",
|
||||
"zod": "^4.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jest": "^30.4.2",
|
||||
|
||||
Reference in New Issue
Block a user