{
"name": "filesystem",
"command": "npx",
"args": ["@modelcontextprotocol/server-filesystem", "/path/to/directory"],
"description": "Acceso al sistema de archivos"
}{
"name": "custom-api",
"command": "node",
"args": ["custom-server.js"],
"env": { "API_KEY": "tu-api-key" },
"description": "Servidor personalizado"
}curl --location 'https://api.hiveflow.ai/api/api/mcp/servers' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "filesystem",
"command": "npx",
"args": [
"@modelcontextprotocol/server-filesystem",
"/path/to/directory"
],
"env": {
"DEBUG": "true"
},
"description": "Servidor MCP para acceso al sistema de archivos",
"capabilities": [
"tools",
"resources"
],
"_id": "string",
"status": "registered",
"autoReconnect": false,
"userId": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}'{
"success": true,
"serverName": "filesystem",
"serverId": "64f8a1b2c3d4e5f6g7h8i9j0",
"message": "Servidor MCP registrado exitosamente"
}