AI agents (MCP)
getman mcp lets an AI agent work with a workspace: list and read its
requests, send them, run folders, and write new requests. It is a
Model Context Protocol server that the
agent's app starts and talks to over standard input and output. Nothing
listens on the network, and nothing leaves your machine except the
requests the agent sends.
getman mcp # the workspace around the current directory
getman mcp ./api # a workspace elsewhereYou do not run it yourself: you tell your agent's app how to start it.
Claude Code
From your project:
claude mcp add --transport stdio getman -- getman mcpEverything after the -- is the command that starts the server, so
Claude Code's own options, such as --transport and --scope, go before
it. If the workspace is not at the top of the project, name it, as in
getman mcp api.
By default the server is yours alone, in this project: Claude Code keeps
it in ~/.claude.json (the local scope). With --scope user it is
available in all your projects, and with --scope project it is written
to .mcp.json at the top of the project, to commit and share with
everyone working on it:
claude mcp add --transport stdio --scope project getman -- getman mcp api{
"mcpServers": {
"getman": {
"command": "getman",
"args": ["mcp", "api"]
}
}
}Claude Code asks for your approval before it uses a server from a
.mcp.json it did not write. claude mcp list shows the servers and
whether they connect, and /mcp does the same inside a session.
getman must be on the PATH that Claude Code starts with; if it is
not, use its full path as the command.
Then ask, for example, "send users/me.yaml with the staging environment and tell me why the check fails".
These steps follow Claude Code's documentation, Connect Claude Code to tools via MCP.
Claude Desktop
Open the Claude menu, then Settings, then Developer, then
Edit Config. That opens claude_desktop_config.json, creating it if
it is not there yet:
| System | File |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
Add Getman to it. Give full paths, because the app does not start in your project:
{
"mcpServers": {
"getman": {
"command": "/home/ada/.local/bin/getman",
"args": ["mcp", "/home/ada/code/shop/api"]
}
}
}The install script puts Getman in ~/.local/bin on Linux and macOS, and
in %LOCALAPPDATA%\Programs\getman on Windows, where the command reads
C:\\Users\\Ada\\AppData\\Local\\Programs\\getman\\getman.exe, with the
backslashes doubled in JSON. Quit the app completely and start it again
afterwards. If Getman does not appear, the app's logs say why:
mcp.log has the connection attempts, and mcp-server-getman.log has
what getman mcp wrote to standard error, in ~/Library/Logs/Claude on
macOS and %APPDATA%\Claude\logs on Windows.
These steps follow the Model Context Protocol's guide, Connect to local MCP servers.
Other MCP clients
Any client that starts servers over standard input and output takes the
same two things: the command getman, or its full path, and the
arguments mcp and the workspace directory. Getman writes only protocol
messages to standard output; notes go to standard error.
To try the server without an agent, use the MCP Inspector's command line from a workspace:
npx @modelcontextprotocol/inspector --cli getman mcp . --method tools/list
npx @modelcontextprotocol/inspector --cli getman mcp . \
--method tools/call --tool-name send_request --tool-arg path=users/me.yamlTools
| Tool | Does |
|---|---|
list_requests |
The folders and requests as a tree, in run order, with paths and methods. Takes an optional folder |
read_request |
One request as stored, variables unresolved, plus the names of its examples |
send_request |
Sends a request with its scripts, checks and captures. Takes path, an optional environment and variables that override every other value. Returns the request as it went out (method, URL, headers and body, after variables, auth and pre-request scripts, and as added_headers the ones the HTTP client added, such as cookies), the status, headers, the body cut to max_body_chars (20 000 unless set, for each body), the time, and check and test results |
run_folder |
Runs a folder, a request or the whole workspace, with environment, variables, iterations and bail. Returns the totals and each request's status, time and failures |
list_environments |
The environments and their variables |
save_request |
Writes a request from JSON in the shape read_request returns: path to replace one, or folder and name to create one. Examples are kept unless the JSON has examples |
import_curl |
Turns a cURL command into a new request |
send_request saves nothing unless asked: with keep_variables: true,
variables its scripts and captures set, such as a token from a login,
go to the git-ignored local files, as the UI does, so later requests can
use them.
Secrets
Every result is scrubbed before it reaches the agent. A value is secret if it is:
- any value in
getman.local.yaml(variables and globals) or in an environment's.local.yamlfile; - the value of a variable an environment lists under
secrets; - the value of an environment variable of the process named
GETMAN_*.
The values are read before each tool runs and again after it, so a token that a script replaces during the call stays masked where the old value was sent.
Nothing else is treated as secret. In particular, a value you typed
straight into a request file, or a token a script keeps in memory with
gm.session, is not known to be secret: keep such values in a
.local.yaml file, or list the variable under secrets, if they should
stay hidden.
A secret is replaced by [secret] wherever it appears in the text of a
result: URLs, headers, bodies, messages, logs and field names. It does
not matter how long the secret is or what surrounds it: Bearer abc123,
key=abc123&x=1 and xabc123y are all masked. The same goes for its
other forms:
- JSON-escaped, as it looks inside a body that is itself a JSON string;
- percent-encoded, in either case, with
%20or+for a space; - for a secret of four bytes or more, hexadecimal in either case;
- for a secret of four bytes or more, Base64 and Base64URL, with or
without padding, also when the secret
sits inside a longer text that was encoded as a whole, such as the
user:secretof a BasicAuthorizationheader. The part of the encoded text that belongs to the secret is masked and the rest stays.
Because every length counts, a very short secret hides every occurrence
of itself, and the results around it can look garbled. A one-character
value in a local file is masked like any other. Give secrets a real
length. Every GETMAN_* variable of the process counts, except
GETMAN_ENVIRONMENT, GETMAN_VERSION and GETMAN_INSTALL_DIR, which
only set options.
Hashes and encryption are not undone: a response that echoes a hash or a signature of a secret, or the secret in a form not listed here, is not caught, so treat responses from APIs that do that with care.
An agent can still send requests with your credentials: that is what it
is for. Keep your app's approval prompts on for send_request,
run_folder and save_request, at least against production
environments. The tools tell clients which of them only read
(list_requests, read_request, list_environments) and which reach
the network.
Protocol
getman mcp speaks JSON-RPC 2.0, one message per line. It serves the
current revision of the protocol, 2026-07-28, where every request carries
its version in _meta and server/discover describes the server, and
the earlier revisions with an initialize handshake: 2025-11-25,
2025-06-18, 2025-03-26 and 2024-11-05. A client that asks initialize
for a version Getman does not know gets 2025-11-25.
It offers tools only: no resources, prompts or notifications.