Identidad del fork: @nucleoriofrio/webmcp en MCP server name, logs y descripciones
- MCP server se identifica como @nucleoriofrio/webmcp v0.2.0 - Descripciones de tools built-in en español - Logs de inicio identifican el fork - README: instrucciones claras de instalacion con nombre correcto
This commit is contained in:
@@ -24887,8 +24887,8 @@ async function generateNewRegistrationToken() {
|
||||
import { execSync } from "child_process";
|
||||
var mcpServer = new Server(
|
||||
{
|
||||
name: "WebMCP",
|
||||
version: "0.1.13"
|
||||
name: "@nucleoriofrio/webmcp",
|
||||
version: "0.2.0"
|
||||
},
|
||||
{
|
||||
capabilities: {
|
||||
@@ -25238,7 +25238,7 @@ mcpServer.setRequestHandler(ListToolsRequestSchema, async () => {
|
||||
const builtInTools = [
|
||||
{
|
||||
name: "_webmcp_get-token",
|
||||
description: "Retrieve a token to connect to a website for WebMCP. A user might say 'register a token' or 'add a webmcp'",
|
||||
description: "Genera un token de conexion para vincular un navegador con @nucleoriofrio/webmcp. El usuario puede decir 'registrar token' o 'conectar webmcp'.",
|
||||
inputSchema: {
|
||||
type: "object",
|
||||
properties: {}
|
||||
@@ -25246,7 +25246,7 @@ mcpServer.setRequestHandler(ListToolsRequestSchema, async () => {
|
||||
},
|
||||
{
|
||||
name: "_webmcp_clear-cache",
|
||||
description: "Clears all registered tools, prompts and resources from the WebMCP server cache. Use this to force a clean state.",
|
||||
description: "Limpia todas las herramientas, prompts y recursos registrados en el cache del servidor @nucleoriofrio/webmcp. Usar para forzar un estado limpio.",
|
||||
inputSchema: {
|
||||
type: "object",
|
||||
properties: {}
|
||||
@@ -25492,7 +25492,7 @@ async function runMcpServer(serverToken2) {
|
||||
connectToWebSocketServer(serverToken2);
|
||||
const transport = new StdioServerTransport();
|
||||
await mcpServer.connect(transport);
|
||||
console.error("MCP server running with stdio transport");
|
||||
console.error("@nucleoriofrio/webmcp v0.2.0 \u2014 MCP server running with stdio transport");
|
||||
if (CONFIG.dev) {
|
||||
console.error("[DEV] Modo desarrollo activo \u2014 agregar-tool y quitar-tool habilitados");
|
||||
}
|
||||
@@ -26762,7 +26762,7 @@ CONNECTION TOKEN (paste this in your web client):`);
|
||||
await savePid();
|
||||
const PORT = CONFIG.port;
|
||||
httpServer.listen(PORT, () => {
|
||||
console.error(`WebSocket server running at http://${HOST}:${PORT}`);
|
||||
console.error(`@nucleoriofrio/webmcp v0.2.0 \u2014 WebSocket server running at http://${HOST}:${PORT}`);
|
||||
console.error(`WebMCP client token (for MCP path): ${serverToken}`);
|
||||
console.error(`WebMCP client URL: ws://${HOST}:${PORT}${MCP_PATH2}?token=${serverToken}`);
|
||||
if (CONFIG.dev) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user