🔧 Use npm package in mcp registry

This commit is contained in:
OpenWaygate committed 2026-04-18 22:25:12 +08:00
1 parent 8bb22e2b1f
commit 77166c832d
2 files changed
+58 -39

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
{ {
"name": "@eat-pray-ai/yutu", "name": "@eat-pray-ai/yutu",
"version": "0.0.0", "version": "0.0.0",
"mcpName": "io.github.eat-pray-ai/yutu",
"description": "The AI-powered toolkit that grows your YouTube channel on autopilot", "description": "The AI-powered toolkit that grows your YouTube channel on autopilot",
"repository": { "repository": {
"type": "git", "type": "git",
+57 -39
View File
@@ -2,7 +2,7 @@
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"title": "yutu", "title": "yutu",
"name": "io.github.eat-pray-ai/yutu", "name": "io.github.eat-pray-ai/yutu",
"description": "A fully functional MCP server and CLI for YouTube", "description": "The AI-powered toolkit that grows your YouTube channel on autopilot",
"icons": [ "icons": [
{ {
"mimeType": "image/svg+xml", "mimeType": "image/svg+xml",
@@ -20,52 +20,64 @@
"version": "0.0.0-dev", "version": "0.0.0-dev",
"packages": [ "packages": [
{ {
"registryType": "oci", "registryType": "npm",
"identifier": "ghcr.io/eat-pray-ai/yutu:0.0.0-dev", "registryBaseUrl": "https://registry.npmjs.org",
"identifier": "@eat-pray-ai/yutu",
"version": "0.0.0-dev",
"transport": { "transport": {
"type": "streamable-http", "type": "stdio"
"url": "http://localhost:8216/mcp"
}, },
"runtimeArguments": [ "packageArguments": [
{ {
"type": "named", "type": "positional",
"name": "--user", "value": "mcp"
"value": "{user}:{group}",
"description": "UID and GID in the container to match host user",
"isRepeated": false,
"isRequired": false,
"variables": {
"user": {
"description": "The current user, output of `id -u`"
},
"group": {
"description": "The current user's primary group, output of `id -g`"
}
}
}, },
{ {
"type": "named", "type": "named",
"name": "--mount", "name": "--mode",
"value": "type=bind,source={hostPath},target=/app", "value": "stdio"
"description": "Mount host directory containing credentials and token",
"isRepeated": false,
"isRequired": false,
"variables": {
"hostPath": {
"description": "The directory containing `client_secret.json` and `youtube.token.json`"
}
}
},
{
"type": "named",
"name": "-p",
"value": "8216:8216",
"description": "Publish MCP server port",
"isRepeated": false,
"isRequired": true
} }
], ],
"runtimeHint": "docker", "environmentVariables": [
{
"description": "GCP project credential for yutu, base64 encoded JSON or path to JSON file",
"isRequired": true,
"format": "string",
"isSecret": true,
"name": "YUTU_CREDENTIAL"
},
{
"description": "YouTube authentication token, base64 encoded JSON or path to JSON file",
"isRequired": true,
"format": "string",
"isSecret": true,
"name": "YUTU_CACHE_TOKEN"
},
{
"description": "Log level",
"isRequired": false,
"format": "string",
"isSecret": false,
"name": "YUTU_LOG_LEVEL",
"default": "INFO",
"choices": [
"DEBUG",
"INFO",
"WARNING",
"ERROR"
]
}
]
},
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "@eat-pray-ai/yutu",
"version": "0.0.0-dev",
"transport": {
"type": "streamable-http",
"url": "http://localhost:{--port}/mcp"
},
"packageArguments": [ "packageArguments": [
{ {
"type": "positional", "type": "positional",
@@ -75,6 +87,12 @@
"type": "named", "type": "named",
"name": "--mode", "name": "--mode",
"value": "http" "value": "http"
},
{
"type": "named",
"name": "--port",
"description": "Port to listen on for HTTP mode",
"default": "8216"
} }
], ],
"environmentVariables": [ "environmentVariables": [