Embedding
MCPs
This feature is available in our paid editions. Contact us here, and we'll be delighted to assist you!
This documentaiton page shows what methods to call to update/edit your MCP server.
These steps assume you have already called the configure method on the sdk. If not, please check the embed-builder page.
Add Tool
Returns a promise that would resolve to the MCP server info schema
Request Parameters:
Parameter Name | Required | Type | Description |
---|---|---|---|
pieceName | ✅ | string | the name of the piece you want to update as a tool from your MCP server |
connectionId | ❌ | string | optional only if the piece doesn’t need a connection |
status | ❌ | “ENABLED” or “DISABLED” | Status of the tool after adding |
Update Tool
Returns a promise that would resolve to the MCP server info schema
Parameter Name | Required | Type | Description |
---|---|---|---|
pieceName | ✅ | string | the name of the piece you want to update as a tool from your MCP server |
connectionId | ❌ | string | connectionId of the piece you want to use |
status | ❌ | “ENABLED” or “DISABLED” | Status of the tool |
Remove Tool
Returns a promise that would resolve to the MCP server info schema
Parameter Name | Required | Type | Description |
---|---|---|---|
pieceName | ✅ | string | the name of the piece you want to remove as a tool from your MCP server |
List Tools
Returns a promise that would resolve to the an object with a property pieces which is an array of McpPiece
Get MCP server info
Returns a promise that would resolve to the MCP server info schema