api-testing-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@api-testing-mcp Test the GET /users endpoint"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
API Testing Using MCP Server (End User Guide)
A ready-to-use Model Context Protocol (MCP) server for HTTP API testing, powered by Playwright. This guide helps you install, configure, and run the MCP server locally as an npm package.
📋 Table of Contents
Related MCP server: Playwright MCP Server
🌟 Overview
The Playwright API MCP Server enables API testing via the Model Context Protocol. It supports GET, POST, PUT, and DELETE requests.
📋 Prerequisites
Node.js: v18.0.0 or higher.
npm: Comes with Node.js.
VS Code: MCP-compatible client.
Github Copilot: Make sure the GitHub Copilot extension is installed and enabled in VS Code. Watch the video to understand how to enable Github Copilot: https://www.youtube.com/watch?v=etP5wq4Zl20
How to use Github Copilot for free Watch the Video: https://www.youtube.com/watch?v=X_Aet9ndh_Y
🚀 Setup
Create a Node.js Project in VS Code:
Create a new folder with a meaningful name (e.g.
my-project).Open the folder in Visual Studio Code.
Launch the integrated terminal (via
View > Terminal).Choose your preferred shell (e.g.
Git Bash, Command Prompt, or PowerShell).Run the following command to initialise the project:
npm init -yThis will generate a package.json file with default settings
Install the MCP Server Package
Now, run the below command to install the mcp server package.
npm i @automate-io/api-testing-mcp@latest
⚙️ Configurations
Open your project folder in VS Code
If the
mcp.jsonfile does not already exist, create it inside theroot/.vscode/directory. If the file is already present, you can skip this stepAdd the
api-testing-mcpconfiguration under theserverskey in themcp.jsonfile, as shown below{ "servers": { "api-testing-mcp": { "type": "stdio", "command": "node", "args": ["node_modules/@automate-io/api-testing-mcp/dist/server.js"], "cwd": "${workspaceFolder}" } }, "inputs": [] }
❗Important Note:If you are working in a
monorepo, ensure theargsfield in yourmcp.jsonfile is correctly configured. Refer to the Monorepo MCP Configuration guide for detailed instructions. If your test code resides in astandalonerepository, no changes are needed, you are good to go.
📖 Getting started with MCP testing
Start the MCP Server
Click the highlighted start button in the mcp.json file as shown below to start the MCP server.
Input the prompt
Open GitHub Copilot chat window in VS Code with Agent mode selected.
Enter a prompt that outlines the API you wish to test.
✅ Example scenarios and prompts for MCP server usage
Scenario 1 : To test all endpoints in one go.
Scenario 2 : To test a single endpoint.
⏭️ Upcoming enhancements
Implement schema validations for response payloads
Add reusable resources to support API testing workflows
Introduce predefined prompts to streamline common scenarios
Provide a sample HTML test report template to guide LLm about the layout and formatting
Refactor existing logic and implement robust error handling to improve reliability and maintainability
🔧 Troubleshooting
Server not running?
Double-check your MCP client configuration.Module not found?
Reinstall the package:npm i @automate-io/api-testing-mcp@latest
🆘 Support
Review this guide and your MCP client documentation.
For issues, open GitHub Issues here.
Consult Model Context Protocol Documentation.
👍 Enjoy exploring and validating your APIs !
Available Tools
4 toolssend-delete-requestDDestructive
send the delete request
Inputs: url (required), headers, pathParams, queryParams, +1 more.
send-get-requestCRead-onlyIdempotent
send the get request
Inputs: url (required), headers, pathParams, queryParams, +1 more.
send-post-requestD
send the post request
Inputs: url (required), data, headers, timeout.
send-put-requestDIdempotent
send the put request
Inputs: url (required), data, headers, pathParams, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool corresponds to a distinct HTTP method (DELETE, GET, POST, PUT) with no overlap, making it trivial for an agent to select the correct one.
All tools follow a consistent pattern: 'send-{method}-request' with lowercase and hyphens, ensuring predictability.
With 4 tools covering the main HTTP methods (CRUD), the count is well-suited for an API testing server—neither too few nor too many.
The set covers the most common HTTP methods, but omits PATCH and other less common ones. For basic testing, it is sufficiently complete.
Maintenance
Related MCP Connectors
Trainual MCP server for ChatGPT, Claude and any AI agent: list subjects, get subject, create subject, add step, update step, publish subject, assign subject and list assignments in your own Trainual account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Trainual yourself; Cotlet does not store your password and you need no Trainual API key. About the official Trainual API: Trainual has a REST API and a read-only MCP server, but neither creates or edits training content (checked 28 Oct 2026). The API covers users, groups, responsibilities, assignments, completions, activities and webhooks, and it only views and searches published content. Setup and FAQ: https://cotlet.dev/integrations/trainual-api-mcp-server
Plausible MCP server for ChatGPT, Claude and any AI agent: list sites, get site stats, get top pages, get traffic sources, create site, add goal, create shared link and invite guest in your own Plausible account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Plausible yourself; Cotlet does not store your password and you need no Plausible API key. About the official Plausible API: Plausible has an official API, but a limited one (checked 22 Oct 2026). The Stats API only reads data and needs the Business plan, the Sites API that creates sites, goals and shared links is Enterprise only, and there is no official MCP server. Setup and FAQ: https://cotlet.dev/integrations/plausible-api-mcp-server
Anaplan MCP server for ChatGPT, Claude and any AI agent: list models, list actions, upload import file, run import, run process, run export, get model history and add user in your own Anaplan account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Anaplan yourself; Cotlet does not store your password and you need no Anaplan API key. About the official Anaplan API: Yes. Anaplan has an official REST API, the Integration API v2.0, and an official MCP server, the Anaplan AI Gateway, but Anaplan's help says the AI Gateway gives external AI systems read-only access (checked 5 Nov 2026). Setup and FAQ: https://cotlet.dev/integrations/anaplan-api-mcp-server
Hacker News MCP server for ChatGPT, Claude and any AI agent: list upvoted items, list hidden items, list favorites, list my comment threads, get an item with its comments, favorite an item and hide an item in your own Hacker News account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Hacker News yourself; Cotlet does not store your password and you need no Hacker News API key. About the official Hacker News API: Hacker News has an official API, but it is read-only and public (checked 28 Oct 2026). It returns items, users and the story lists. Setup and FAQ: https://cotlet.dev/integrations/hacker-news-api-mcp-server
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment.3213,391 npm5,683MIT
- FlicenseNot gradedqualityDmaintenanceProvides a server utilizing Model Context Protocol to enable human-like browser automation with Playwright, allowing control over browser actions such as navigation, element interaction, and scrolling.8-
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages, take screenshots, generate test code, scrape web content, and execute JavaScript in a real browser environment.32MIT
- AlicenseNot gradedqualityDmaintenanceA minimal server that exposes Playwright browser automation capabilities through a simple API, enabling webpage interaction, DOM manipulation, and content extraction via the Model Context Protocol.5MIT