Publish an MCP tool

Bind the Function
- Open MCP Endpoints and select the target endpoint.
- On Bindings, choose Add tool.
- Select the Function, enter a stable tool name and description, and enable it.
- Check Authentication for the caller policy and granted permissions.
- Deploy the Project to Development.
Initialize and call
Use the Development URL shown on the endpoint overview and its configured credential. Initialize the stateless session, list tools, and call the tool:
bash
curl -X POST "$MCP_URL" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "x-api-key: $MCP_API_KEY" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"docs","version":"1"}}}'Call tools/list, then send tools/call with the binding name and schema-valid arguments. Open Executions and locate the call by request ID.