write_request

MCP tool from Bruno MCP Studio by Ostico

Write a request: method, url, headers, query, body, auth, scripts, settings. kind: "websocket" or kind: "grpc" for those transports. Pass collectionPath and name to create one, filePath to edit one — an edit is a partial merge, and filename renames the file

How to use it

Project documentation lists write_request for the Bruno MCP Studio MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Bruno MCP Studio

$npx -y @ostico/bruno-mcp
FULL BRUNO MCP STUDIO LISTING

Other tools in Bruno MCP Studio (19)

add_test_script

Attach a script to an existing request (appends by default)

auth.type

bearer, basic, api-key, digest, oauth2, inherit, none

body.type

json, text, xml, sparql, graphql, form-urlencoded, form-data, file, binary, none

create_collection

New collection. format: "yaml" (default) or "bru". Also registers it in the workspace, so listcollections and the Bruno app can see it — registerInWorkspace: false to skip that, workspacePath to pick the file

create_environment

New environment file. Refuses to overwrite unless overwrite: true

delete_request

Delete one or more request files. Needs confirm: true

get_collection_stats

Counts by method, folders, environments, request list with URLs — filterable by folder, method, nameContains, or includeRequests: false for counts only

list_collections

Find collections from Bruno's workspace.yml

list_requests

Every request file in the collection, as absolute paths

move_request

Move or copy a request to another folder or collection

read_environment

Variables with their disabled/secret flags. Omit name to list environments

read_request

Read one request back as JSON, same shape for .bru and .yml

remove_environment_variable

Delete one variable

remove_script

Remove one script, keep the request

run_collection

Execute requests, run their tests, return results

scripts

inline pre-request, post-response, tests (no separate addtestscript call needed)

set_environment_variable

Add or change one variable

settings.timeout

script and request timeout in ms

update_environment

Replace or merge an environment's variables