scriptType
(string): Script type (pre-request, post-response, tests)
How to use it
scriptType is exposed by the Bruno MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the scriptType tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Bruno MCP
npx @modelcontextprotocol/inspectorOther tools in Bruno MCP (22)
Add test scripts to existing requests.
(object, optional): Authentication config
(string, optional): Default base URL
(object, optional): Request body
(string): Path to .bru file
(string): Path to Bruno collection
Create a new Bruno collection with configuration.
Generate complete CRUD operation sets.
Create environment configuration files.
Generate .bru request files.
(string, optional): Collection description
(string): Entity name (e.g., "Users")
(string, optional): Folder organization
Get statistics about a collection.
(object, optional): HTTP headers
(array, optional): Files to ignore
(string): HTTP method
(string): Collection name
(string): Directory to create collection
(string): JavaScript code
(string): Request URL
(object): Environment variables