Attach
The process listens on HTTP at 127.0.0.1, port 8080, path /mcp. Warp's local agent reads
.warp/.mcp.json in the project or in the home directory. The file names that URL.
A bind on 0.0.0.0 or :: is not an address a local client can open. The file uses
127.0.0.1 instead. An IPv6 address is written in brackets.
Stdio is the other listen mode. The same jobs are on that pipe. HTTP is the attach path this page documents.
ZIO
.config(ProcessConfig.raw)
.mapError(ProcessError.Config(_))
.flatMap(raw => ZIO.fromEither(ProcessConfig.load(raw)))
.withConfigProvider(ConfigProvider.fromMap(Map.empty))ProcessConfig(Http(127.0.0.1,8080),Closed,None,dev,Grok(GrokConfig(grok,AcpStdio,Ask,None)),Chunk(),McpPolicy(Chunk()),NetworkPolicy(Set()),EventPolicy(Skip,PT1M,PT2H,PT24H),None,/home/runner/.grok/config.toml)WarpLocal.url("0.0.0.0", WarpLocal.Port)http://127.0.0.1:8080/mcpWarpLocal.url("::1", 9)http://[::1]:9/mcpWarpLocal.http(WarpLocal.url("0.0.0.0", WarpLocal.Port)){"mcpServers":{"terret":{"url":"http://127.0.0.1:8080/mcp"}}}