You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/docs/ai/index.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,11 @@ sidebar_label: Introduction
5
5
6
6
PactFlow's Test Generation feature, is an AI-powered capability designed to help users quickly generate Pact tests. By providing access to source code, OpenAPI descriptions, or traffic capture data, it reduces the time and effort needed to create and maintain contract tests.
7
7
8
+
<divstyle={{textAlign:'center'}}>
9
+
<imgsrc="/img/mcp2.gif"width="1024" />
10
+
<pstyle={{marginTop:'-25px',fontStyle:'italic',fontSize:'90%'}}>PactFlow AI with Copilot using MCP integration. Watch the <ahref="https://www.youtube.com/watch?v=VNe_Y6FcBqA&t=444s">full video →</a></p>
11
+
</div>
12
+
8
13
## Features
9
14
10
15
PactFlow AI includes a suite of features to improve the efficiency and quality of your contract tests:
@@ -14,7 +19,7 @@ PactFlow AI includes a suite of features to improve the efficiency and quality o
14
19
* Seamless integration with PactFlow's Role-based Access Controls feature, enabling you to enforce and manage organizational policies
15
20
* Code review (beta), enabling you to evaluate the quality of existing Pact tests and suggest best-practice improvements
16
21
17
-
PactFlow AI is available as a CLI and supports the following programming languages:
22
+
PactFlow AI is available as a CLI or MCP server, and supports the following programming languages:
Copy file name to clipboardExpand all lines: website/docs/docs/ai/quick-start.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,23 @@ You must be an Administrator or a user with the [`system_preference:manage:*` pe
17
17
18
18
## Installation
19
19
20
+
### Option 1: MCP Server (Recommended)
21
+
22
+
The Model Context Protocol (MCP) is the recommended way to use PactFlow AI. It provides seamless integration with IDEs and modern developer environments.
23
+
24
+
MCP Server exposes PactFlow AI as a *local* endpoint and works with tools like VS Code, IntelliJ, Cursor, and other MCP-compatible agents.
25
+
26
+
Follow the official [MCP Server documentation](https://developer.smartbear.com/smartbear-mcp/docs/mcp-server) to perform the following steps:
27
+
28
+
* Install the MCP Server.
29
+
* Configure and start the local service.
30
+
* Connect with MCP clients.
31
+
32
+
This option is ideal for teams working with AI copilots or looking to automate testing workflows.
33
+
34
+
### Option 2: CLI
35
+
36
+
You can also use PactFlow AI using the CLI. It supports test generation and review from the terminal.
20
37
For *nix users (including Windows users running WSL/msys2/mingw), use the following command to download and install:
21
38
22
39
```sh
@@ -29,7 +46,7 @@ For Windows PowerShell users, use the following command to download and install:
0 commit comments