Transcription
Hi guys, welcome back. And today, as you can see, the entire setup for me is completely different. I am sitting in Chennai, India today. And it's been a couple of weeks. I'm here in India for a vacation.
But I'm also quite excited that there are so many things happening in Chennai right now. So that every single person I have talked to and every single people whom I have met and spoke with, they are quite excited to see that AI transformation is happening in their organization and they wanted to leverage the power of AI at their work.
But as that said, I'm quite excited to announce that there is going to be an event going to happen in Chennai on Jan 3rd of 2026 regarding software testing in the age of AI. So if you are around Chennai and if you really wanted to join this conference, please don't hesitate to join. There is a registration link even in the description of this video below. Please click and try to register. It is quite amazing and you can see quite a lot of big uh community which are going to be joining to this session and there's already 50 plus registration happened and more are joining the session. So I'm quite excited to see you joining pretty soon and it will be really good to see you all physically present during the particular session. This is pretty much like a session that we did in New Zealand and this is happening in Chennai. So I'm quite excited for you to join as well which is quite amazing.
And one more thing which I really wanted to talk about is going to be regarding the playright MCP server. This is going to be a new update which I am going to talk about which is quite exciting as well. I've building for past couple of days because there has been so many traction in the playright MCP server and there is also a lot of features need to be added along with the bug fixes. So I was working on it even during the occasion because I got some slot to work on and I'm just going to utilize the particular time frame more effectively.
Well, as I said, I'm going to quickly show you what I really building in this particular MCP server as you can see over here. So, uh if you can see this particular Playright MCP server. So, if you're just going to go and search for Playright, uh MCP server execute automation. Uh you can see that we are going to be landing to the GitHub of the Playright MCP server over here. And you will notice that we have got a bunch of releases for past couple of days. So if you just go uh to the uh to this particular tutorial over here and if you just go to the release notes, you can see that we have got a version 1.0.12 is the latest version where we have got an automatic browser installation. This is one of the thing which is missing because you can see that every time while you try to use the play MCP server, you need to install the playright browser setup. Now you don't really have to do it because it's the browser installation is going to be taken care for you automatically. So that is the first improvement that we have did which is amazing. So it's going to be a smart browser detections and things and there is also going to be an improved or enhanced API authentication support. So you can just pass your bureau token and then you can ask the uh the API test to happen. So you can do all of them for get post, put and patch and delete API endpoints which is amazing. And then you there is also a playright resize uh tool which has been added where you can use it for doing a device testing like iPhone 13, iPad or Mac OS uh or even Windows machines and different resolutions and orientations. You can do all sort of testing from there. That's what is the device emulation for playright to resize.
And the last and the most important update uh for this particular discussion is going to be the uh the HTTP and SSE transport mode support. So this is something very very important. I really wanted to show you a demonstration of how this is going to be useful. Now you can run this whole playright MCP server in an standalone mode and you can use it as well. So if you are uh like me who is using Windows machine or Mac operating system, you just have to go and open your terminal and you see that on the documentation over here we have mentioned like how you can install it. If you can just go to the HTTP SSE transportation mode menu there you can see how you can install doing as well. So you can just copy this particular command npx automation/play mcp server hyphen port 8931. So if you just do that over here and if you hit enter this is going to install the latest play mcp server for you. It is not something that we were doing before but now you can even run the mcp server in an standalone mode which is quite amazing. And once you install it over here you can see that all the dependencies and everything is going to be installed for you as a standalone package which doesn't happen uh during like before this particular release you you always need to depend on the cloud desktop for doing that but now because there are there are cases where you can also run this in HTTP mode like a standalone mode and you can configure that with VS code and also with many different um many different uh idees you can use it as well. This is also helpful while you're running in the WSL configurations.
So this is the visual studio code that I have got and because the uh the uh MCP server is now running in the standalone mode as you can see over here it is also showing you like the SCP the SSC streams the messages health check and all those things you just have to use this particular configuration and make sure the type is equal to HTTP which means it's a HTTP type. The default type of the the MCP server is stdio or or studio whatever you call it. Uh but now this is the HTTP which means you can interact with the MCP server using the HTTP protocol as well. Uh and once it is there you just have to go to the visual studio code over here and just do control shift p uh to open this particular uh toggle and then just go and say add server and see that we have we always use the command as the studio but now we're going to use the http this is new this we have never done that before and over here I'm just going to give the URL which is going to be uh localhost colon and the port number is um I think it's 8931 that I I have given. So 8 931. You can just use any custom port number as well. Doesn't matter. So I'm just going to give that and I'm going to give that as playright um MCP uh HTTP whatever. This is the name that I'm going to give over here. And the moment I give it, you see that now we have got an MCP server for the playright been configured. Uh and if I'm going to just do a uh restart over here. Uh oh, sorry. I I I also forgot one more thing. Make sure that the URL has got /mcp as well. like pretty much like how I have done over here. I should have just copy pasted it instead of you know just typing it over there. And now if I'm going to do this restart, you see that the plate MCP server is going to be up and running. I'm sorry. You just have to type http/ localhost8931/mcp which is where the communication is going to happen like how I have mentioned over here. So this is the MCP URL that you have to worry about. And once you configure it, then you just have to uh you can just interact with the MCP server pretty much like how you do with the cloud desktop. So all you have to do it is just go to the chat over here. Uh and then you're going to say navigate to uh http colon uh/app.sami.com somi.com and perform uh login by clicking uh login link and enter uh username as uh admin and password as password uh to login and if I'm going to hit enter you will notice that now this guy is going to communicate with this MCP server for us over here uh and then it is going to perform all the operation you see that now it's going to invoke that and if I'm going to do an allow So usually what happens is this is going to throw you an error saying that the playright executable is not there. But now there is going to be an automatic installation is going to happen as well which is quite amazing because now it is going to work uh side by side along with the cloud desktop for you and see that now it is downloading the chrome uh uh chrome downloadable or the exe file for you automatically and then it is going to install it for you. This is something like an addition that you really have. All right, you can see that the the installation is fully done right now for all the browsers. So now if you see that if I write try to resume the execution that the the working is going to happen like now you see that now everything is working for you automatically and you can also see that behind the seal on the console uh you can uh you can see that the the operation is going to happen for you. So let's say I'm going to allow it over here. You you can also see uh things are going to work for you behind the scene. Uh just give me a second. They're all just working. There we go. H and you can also try to grab the information from the uh from the MCP for us over here. Or you can also see a health check uh in the meantime. So if you want to go and click this particular link uh over here, you see that there is going to be a health check coming up for you over here. And you can also uh get all the messages as well based on a specific session ID as well. So those things you can verify and these things are all happening because it's all uh working uh in an HTTP mode for you.
I know there is a lot of noise and echo happening in this video. I'm really sorry about that but because this house is not built for me to do a recording but at least you you see that I'm talking and you can listen or hear me what I'm talking about. So well that is something which I really wanted to talk about. This is an quite exciting update and I have also made some more updates uh in the play MCP server which you need to uh see which is going to be the device type um as well. So you can work with multiple device types. All you have to say is navigate to the site and test it on iPhone 13 or like a Google Pixel and then also switch to iPad while you try to do the testing. You can also do all sort of navigation operations and the resize operations. those things are going to be kicking in for you as well automatically which is quite amazing.
Well, as that said, uh this is quite exciting time guys. I'm going to be keep on talking about some of these features on the MCP server. At the same time, I'm also going to be quite excited to meet you all uh physically on Jan 3rd of 2026 in Chennai. Uh and I have got the link of the registration below. Please try to register and see you all soon. Once again, thank you so much for watching this video. Catch you in the next one. And if you are in Chennai or India around, just come and say, "Hi, I'm living in Chennai." Just send me a message. I'll be there for you. Once again, thank you so much. Talk to you soon.