---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# segmentstream connection mcp lock

Write ontology/mcp/CONNECTION_KEY.API.lock.json with the declared tools' descriptions and schemas

## Usage

Command syntax

```
segmentstream connection mcp lock [OPTIONS] CONNECTION_KEY
```

## Options

- `--api NAME`

  The McpApi to lock; defaults to the connection's only one

- `--api-url URL`

  SegmentStream control-plane origin

- `--output [table|json]`

  \[default: table]

- `--organization ORG-ID`

  Organization for this command

- `--help`

  Show this message and exit.

[Read as Markdown ↗](https://segmentstream.com/docs/cli/connection/mcp/lock.md)
