Skip to content

Commit 448eadb

Browse files
authored
Fix playwright server with long lived container (github#34)
* Add `longLived` to schema. * Make playwright long lived.
1 parent 7d9e179 commit 448eadb

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/servers/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ type Server struct {
3030
Name string `yaml:"name" json:"name"`
3131
Image string `yaml:"image,omitempty" json:"image,omitempty"`
3232
Type string `yaml:"type" json:"type"`
33+
LongLived bool `yaml:"longLived,omitempty" json:"longLived,omitempty"`
3334
Meta Meta `yaml:"meta,omitempty" json:"meta,omitempty"`
3435
About About `yaml:"about,omitempty" json:"about,omitempty"`
3536
Source Source `yaml:"source,omitempty" json:"source,omitempty"`

servers/playwright/server.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: playwright
22
image: mcp/playwright
33
type: server
4+
longLived: true
45
meta:
56
category: devops
67
tags:

0 commit comments

Comments
 (0)