thunderclient-mcp

thunderclient-mcp

Enables AI tools to create and manage API requests and collections in Thunder Client, with automated collection and folder creation.

Category
访问服务器

README

<p align="center"> <img src="https://github.com/thunderclient/thunder-client-support/blob/21d62c97dcc8168dc678b165fe678fd12c2f476b/images/thunder-icon.png" width="120" height="120" /> </p>

Thunder Client MCP Server

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.

Requirements

  • A Business or Enterprise plan subscription is required to use the Thunder Client MCP Server.
  • View Thunder Client pricing plans here.

Available Tools

This MCP server provides three powerful tools for managing Thunder Client operations:

1. tc_create

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.

2. tc_debug

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

Configuration for Different Environments

For Cline

  1. Open Cline and navigate to the MCP Server section
  2. Click on Installed
  3. Click on Configure the MCP Server
  4. 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.


For Continue.dev

  1. Add a new MCP server to your configuration
  2. Switch to Agent mode instead of Chat mode
  3. 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.


For GitHub Copilot

  1. Switch to Agent mode from Chat mode
  2. Click on the Tools icon in the interface
  3. Scroll down and click + Add more tools
  4. Select + Add MCP Server alt text
  5. Choose Stdio as the connection type
  6. Enter the command to run as npx thunderclient-mcp
  7. Enter the mcp name thunderclient-mcp-server-....
  8. Choose where to install MCP, select Global or User
  9. 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.

Example Prompts

This document contains simple example prompts for the tc_create tool to extract APIs from code files and save them to Thunder Client.

Extract APIs from Code Files

1. Extract APIs from Current Project

"Get the endpoints from the current project and save them with collection name 'My API' using Thunder Client MCP."

2. Extract APIs from Files and Folders

"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."

3. Create Simple HTTP Requests

"Create a POST request to https://api.example.com/users with a JSON body and an Authorization header using Thunder Client MCP."

Running Locally

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.

Troubleshooting

If the Agent Is Not Executing Commands Properly

  1. Use Attach Context: Utilize the Attach Context option in your AI environment
  2. Attach Required Files: Include relevant files and specifically attach the tc_create tool context
  3. Provide Clear Prompts: Give detailed, specific prompts to assist with command execution

Common Issues

  • 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

Contributing

Feel free to contribute to this project by submitting issues or pull requests to improve functionality and compatibility with different AI development environments.

Audit

MseeP.ai Security Assessment Badge

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选