Enables programmatic creation and management of Bruno API testing collections, environments, and requests, including generation of .bru files for HTTP methods, support for authentication methods, and addition of test scripts and assertions.
Provides code quality checking for the development of the Bruno MCP server.
Supports repository cloning as part of the installation process, enabling version control of Bruno API testing collections.
Enables installation, building, and running the MCP server through npm commands, with support for dependency management.
Offers code formatting capabilities for the development of the Bruno MCP server.
Supports building the Bruno MCP server project from TypeScript source code.
Bruno MCP Server
A Model Context Protocol (MCP) server for generating Bruno API testing files programmatically.
Overview
Bruno MCP Server enables you to create, manage, and generate Bruno API testing collections, environments, and requests through standardized MCP tools. This allows for automated setup of API testing workflows and integration with Claude and other MCP-compatible clients.
Features
- 📁 Collection Management: Create and organize Bruno collections
- 🌍 Environment Configuration: Manage multiple environments (dev, staging, prod)
- 🔧 Request Generation: Generate .bru files for all HTTP methods
- 🔐 Authentication Support: Bearer tokens, Basic auth, OAuth 2.0, API keys
- 📝 Test Scripts: Add pre/post request scripts and assertions
- 🔄 CRUD Operations: Generate complete CRUD request sets
- 📊 Collection Statistics: Analyze existing collections
Installation
Client Integration
The Bruno MCP Server can be integrated with various AI clients that support the Model Context Protocol:
Quick Setup for Claude Desktop
- Edit Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
- macOS:
- Add Bruno MCP Server:
- Restart Claude Desktop
Supported Clients
- ✅ Claude Desktop App - Full support
- ✅ Claude Code (VS Code) - Full support
- ✅ Continue - Tools and resources
- ✅ Cline - Tools and resources
- ✅ LM Studio - Tools support
- ✅ MCP Inspector - Development/testing
- ✅ Custom MCP Clients - via SDK
📖 For detailed integration instructions with all clients, see INTEGRATION.md
Usage
With Claude Code or MCP Inspector
- Start the MCP server:
- Use the MCP Inspector to test tools:
Available MCP Tools
create_collection
Create a new Bruno collection with configuration.
Parameters:
name
(string): Collection namedescription
(string, optional): Collection descriptionbaseUrl
(string, optional): Default base URLoutputPath
(string): Directory to create collectionignore
(array, optional): Files to ignore
Example:
create_environment
Create environment configuration files.
Parameters:
collectionPath
(string): Path to Bruno collectionname
(string): Environment namevariables
(object): Environment variables
Example:
create_request
Generate .bru request files.
Parameters:
collectionPath
(string): Path to collectionname
(string): Request namemethod
(string): HTTP methodurl
(string): Request URLheaders
(object, optional): HTTP headersbody
(object, optional): Request bodyauth
(object, optional): Authentication configfolder
(string, optional): Folder organization
Example:
create_crud_requests
Generate complete CRUD operation sets.
Parameters:
collectionPath
(string): Path to collectionentityName
(string): Entity name (e.g., "Users")baseUrl
(string): API base URLfolder
(string, optional): Folder name
Example:
add_test_script
Add test scripts to existing requests.
Parameters:
bruFilePath
(string): Path to .bru filescriptType
(string): Script type (pre-request, post-response, tests)script
(string): JavaScript code
get_collection_stats
Get statistics about a collection.
Parameters:
collectionPath
(string): Path to collection
Generated File Structure
Bruno BRU File Format
Generated .bru files follow the Bruno markup language specification:
Testing
Run Unit Tests
Run Integration Tests
Test with Bruno CLI
Examples
See the examples/
directory for complete usage examples:
examples/jsonplaceholder/
- JSONPlaceholder API testingexamples/authentication/
- Authentication workflowsexamples/complex-workflows/
- Multi-step API scenarios
Development
Project Structure
Building
Code Quality
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
License
MIT License - see LICENSE file for details.
Links
Generated with Bruno MCP Server 🚀
This server cannot be installed
A Model Context Protocol (MCP) server that enables programmatic creation and management of Bruno API testing collections, environments, and requests through standardized MCP tools.
Related MCP Servers
- -securityFlicense-qualityExposes Bruno API collections as Model Context Protocol (MCP) tools, allowing AI agents and MCP clients to interact with your API collections.Last updated -1TypeScript
- -securityAlicense-qualityA powerful Model Context Protocol (MCP) server implementation that provides standardized interaction with MongoDB databases, supporting complete CRUD operations, async patterns, and real-time updates via SSE.Last updated -PythonMIT License
- -securityAlicense-qualityModel Context Protocol server that enables API test automation across various AI hosts (Claude, OpenAI, custom) using Postman Collections.Last updated -PythonMIT License
- -securityFlicense-qualityA server implementation of the Model Context Protocol (MCP) that provides REST API endpoints for managing and interacting with MCP resources.Last updated -Python