Skip to content

Extends MCP with custom tools, context, prompts #442

Open
@yonatanai

Description

@yonatanai

Hey guys!
First of all, the MCP is amazing!
I was wondering if you plan to make it extendable to custom tools or custom context?
Eventually, most Playwright users created their custom POMs and fixtures. While it's great that the MCP can generate tests for us, it would be nice if we could specify the tools, prompts, and context of our custom POMs, Fixtures, Documentation, etc.
That way, we can integrate the MCP much more easily into our development process.

The programmatic createConnection example can be a good place to pass some factory or options for a custom tool, context, prompts, etc., that will be the responsibility of the developers.

And maybe if you expose the defineTool methods and some classes for extending the functionality, that would be awesome.

I can create a contribution or PR suggestion if you'd like.
It could benefit many developers and companies, including myself :).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions