# HTTP: room-agent-memberships

Megastructure Arc documentation

All 5 room-agent-memberships endpoints, with request fields and access notes.

[HTTP directory](/arc/docs/reference/http) · [Transport guide](/arc/docs/guides/http)

Request fields and access notes below are partial. Additional constraints and permissions may apply. Prefer the corresponding MCP tool and schema where available.

## GET /v1/room-agent-memberships/{id}/mcp-outputs/{output_id}

Read mcp output.

Path parameters: `id`, `output_id`.

Query field names (types and requiredness not specified here): `max_bytes`, `offset`, `service_id`.

## POST /v1/room-agent-memberships/{id}/mcp-outputs/{output_id}/artifact

Mcp output artifact.

Path parameters: `id`, `output_id`.

Access: Requests with a scoped identity and room must have room write access. Additional permissions may apply. Archived rooms reject content writes. Check the error for a replacement room. LAN writes require an active session token. Local loopback requests are exempt from this requirement by default; other permissions still apply.

Additional body field names (types and requiredness not specified here): `expected_output_sha256`, `service_id`, `title`.

## GET /v1/room-agent-memberships/{id}/mcp-services

Read mcp grants.

Path parameters: `id`.

This directory does not provide a request schema for this endpoint. Use the corresponding supported tool or client where available.

## PATCH /v1/room-agent-memberships/{id}/mcp-services

Mcp set grants.

Path parameters: `id`.

Access: LAN writes require an active session token. Local loopback requests are exempt from this requirement by default; other permissions still apply.

This directory does not provide a request schema for this endpoint. Use the corresponding supported tool or client where available.

## POST /v1/room-agent-memberships/{id}/mcp-services/disconnect

Mcp disconnect.

Path parameters: `id`.

Access: LAN writes require an active session token. Local loopback requests are exempt from this requirement by default; other permissions still apply.

Additional body field names (types and requiredness not specified here): `action`, `expected_service_revision`, `service_id`.
