Choose a root or organization endpoint
Use one of the following endpoints:
After connection, the session starts with StreamNative Cloud organization tools. The global identity tool
sncloud_context_whoami is available for the session. Other organization tools are controlled by the organization feature set. Cluster-specific Pulsar, Kafka, and log tools become available only after you select a cluster with sncloud_context_use_cluster.
For a fixed cluster session, use
https://mcp.streamnative.cloud/mcp/x/<organization>/<instance>/<cluster>. See Remote MCP Access.Discover and select clusters
Organization-level sessions expose context tools for finding and selecting MCP-enabled clusters.
When you select a cluster, the current MCP session becomes a hybrid session. It keeps organization-level tools and adds static Pulsar or Kafka tools for the selected cluster. The selected cluster overlay also adds
sncloud_logs for logs from Functions, Sources, Sinks, and Kafka Connect connectors in the selected cluster. Dynamic tools such as functions-as-tools and agents-as-tools are available on fixed cluster endpoints, but not after in-session cluster switching.
Use StreamNative Cloud prompts
Organization-level sessions also expose StreamNative Cloud prompts that help clients discover and inspect enabled clusters.
Use the
clusterType returned by list-sncloud-clusters when you call read-sncloud-cluster. Disabled or non-exposed clusters aren’t returned.
Manage StreamNative Cloud resources
Organization-level sessions expose domain-scoped tools for StreamNative Cloud resources.
Read tools support
list and get operations. Write tools support apply and delete operations. get and delete require name. apply requires manifest, a JSON string that contains one StreamNative Cloud resource.
After sncloud_context_use_cluster selects a cluster, the session also exposes sncloud_logs for Functions, Sources, Sinks, and Kafka Connect connectors in the selected cluster.
All domain tool families can use these schema helpers:
Use the recommended mutation workflow
When you create or update a StreamNative Cloud resource through MCP, use this workflow:- Call
sncloud_resource_catalogfor the resource domain, such asclustersoridentity. - Call
sncloud_resource_schemafor the resource type, such asPulsarCluster,KafkaCluster, orServiceAccount. - Call the matching read tool to inspect existing resources.
- Compose the resource manifest as a JSON string.
- Call the matching write tool with
operation=applyanddry_run=true. - Review the validation result.
- Repeat the apply operation with
dry_run=falseonly when the dry-run result is acceptable.
manifest argument must be a JSON string. Do not pass YAML or a structured object. Omit status, metadata.managedFields, and other read-only fields copied from read responses. The schema summary is guidance, not a replacement for server-side validation. Runtime OpenAPI schemas do not encode every cross-field or cross-resource constraint.
Control organization tools with features
UseX-MCP-Features to narrow the organization tool catalog by tool group. For example, X-MCP-Features: sncloud_context,sncloud_clusters exposes context tools plus cluster-domain resources. A feature ID can enable multiple MCP tools, including read/write pairs such as sncloud_clusters_read and sncloud_clusters_write. If an administrator configured allowed tools for the organization MCP entry, the header can only request a subset of that allow list. If you omit X-MCP-Features, the server uses the configured organization feature set.
For the full header reference, see Remote MCP Headers and Feature Selection.
Manage MCP settings in the Console
Use the StreamNative Cloud Console to manage MCP availability, access mode, and allowed tools for your organization and clusters. The organization settings control root and organization endpoints. Cluster settings control fixed cluster endpoints and cluster tools added aftersncloud_context_use_cluster selects a cluster.
Related StreamNative Cloud documentation
- Use API Keys to Authenticate to StreamNative Cloud for API Key v2 and organization-scoped service account credentials.
- Authentication overview for StreamNative Cloud authentication concepts, including AuthV2 behavior.
- RBAC overview and predefined roles for permissions applied to users and service accounts.
- StreamNative Cloud objects for Kubernetes-style resource manifests.
- Manage StreamNative clusters, cluster configuration, and Kafka Cluster Guide for cluster concepts and service URLs.
- PulsarCluster API reference, PulsarInstance API reference, and PulsarGateway API reference for cluster-domain resources. For
KafkaCluster, use Kafka Cluster Guide for user-facing concepts andsncloud_resource_schemafor the live manifest schema when available. - ServiceAccount API reference and API key API reference for identity-domain resources.