The Thunder Client MCP server enables customers to integrate with AI tools to create requests and collections. It is compatible with various AI development environments, including Cline, Continue.dev, and GitHub Copilot.
- A Business or Enterprise plan subscription is required to use the Thunder Client MCP Server.
- View Thunder Client pricing plans here.
This MCP server provides three powerful tools for managing Thunder Client operations:
Description:
Saves API endpoints to Thunder Client, automatically creating collections and folders if they do not already exist.
Usage:
- Use AI to analyze your current project and automatically generate API requests in Thunder Client, with the appropriate collection and folder created as needed.
- Add new requests to a specific collection in Thunder Client.
- Dynamically create a request using an AI-generated prompt.
Description: Show Thunder Client CLI debug information using tc --debug
in the given project directory.
- Usage: Troubleshoot and get detailed debug information from Thunder Client
- Open Cline and navigate to the MCP Server section
- Click on Installed
- Click on Configure the MCP Server
- Add the following configuration inside the
mcpServers
JSON:
{
"mcpServers": {
"thunderclient": {
"name": "Thunder Client MCP Server",
"type": "stdio",
"command": "npx",
"args": ["-y", "thunderclient-mcp"]
}
}
}
Important: Replace thunderclient-mcp
with /path/to/thunder-mcp/dist/index.js
with your actual index.js
location in local Dev mode.
Once configured, you can use all tc_*
command tools in Cline's MCP interface.
- Add a new MCP server to your configuration
- Switch to Agent mode instead of Chat mode
- Configure using the following YAML structure:
name: Thunder Client MCP Server
version: 0.0.1
schema: v1
mcpServers:
- name: Thunder Client MCP Server
command: npx
args:
- thunderclient-mcp
Important: Replace thunderclient-mcp
with /path/to/thunder-mcp/dist/index.js
with your actual index.js
location in local Dev mode.
- Switch to Agent mode from Chat mode
- Click on the Tools icon in the interface
- Scroll down and click + Add more tools
- Select + Add MCP Server
- Choose Stdio as the connection type
- Enter the command to run as
npx thunderclient-mcp
- Enter the mcp name
thunderclient-mcp-server-....
- Choose where to install MCP, select
Global
orUser
- Save the configuration
Important: Replace npx thunderclient-mcp
with node /path/to/thunder-mcp/dist/index.js
with your actual index.js
location in local Dev mode.
This document contains simple example prompts for the tc_create
tool to extract APIs from code files and save them to Thunder Client.
"Get the endpoints from the current project and save them with collection name 'My API' using Thunder Client MCP."
"Get the endpoints from app/main.py and save them with collection name 'E-commerce API' and folder name 'Products' using Thunder Client MCP."
"Get the endpoints from the src/routes/ folder and save them with collection name 'Node API' using Thunder Client MCP."
"Create a POST request to https://api.example.com/users with a JSON body and an Authorization header using Thunder Client MCP."
npm i
npm run build
After building, a dist
folder will be created. Copy the index.js
path from the dist
folder - this path will be used in your MCP server configuration.
- Use Attach Context: Utilize the Attach Context option in your AI environment
- Attach Required Files: Include relevant files and specifically attach the
tc_create
tool context - Provide Clear Prompts: Give detailed, specific prompts to assist with command execution
- Path Issues: Ensure all file paths are absolute and correctly formatted for your operating system
- Node.js Version: Verify you're using a compatible Node.js version
- Permissions: Check that the MCP server has appropriate file system permissions
- Project Directory: Ensure the
projectDir
parameter points to a valid Thunder Client workspace
Feel free to contribute to this project by submitting issues or pull requests to improve functionality and compatibility with different AI development environments.