get_library
Get Library
Retrieve a specific reusable code library by its ID. Returns the library's code, importName, version, and metadata.
Ask your agent in plain language. Each of these maps to a real tool on the server.
get_library
Retrieve a specific reusable code library by its ID. Returns the library's code, importName, version, and metadata.
create_library
Create a new reusable code library in RudderStack. Libraries are modular JavaScript or Python functions that can be imported into transformations via their auto-generated **importName** (camelCase of the library name).
list_library_versions
List version revisions of a specific library. Each update to a library creates a new revision. Use this to view version history and find a specific version ID for rollback via the **Publish** tool.
publish
Publish specific versions of transformations and/or libraries in a single operation. This makes the selected versions live for incoming event traffic. Use **List Transformation Versions** or **List Library Versions** to find the version IDs you want to publish. This is also the mechanism for rolling back to a previous version.
update_transformation
Update an existing RudderStack transformation. You can modify the name, code, description, and optionally publish the updated version. Each update creates a new revision, preserving the full version history. Set **publish** to true to make the updated code live for incoming event traffic.
list_libraries
List published reusable code libraries in the workspace. Draft revisions may not appear. Returns each library's metadata including name, importName, language, and timestamps. Does not include the full code — use **Get Library** to retrieve the code for a specific library.
delete_library
Delete a reusable code library by its ID. The library will be removed, but all its version revisions are permanently preserved.
update_library
Update an existing reusable code library. You can modify the code, description, and optionally publish the updated version. Each update creates a new revision. Set **publish** to true to make the updated code live.
delete_transformation
Delete a RudderStack transformation by its ID. The transformation will be removed, but all its version revisions are permanently preserved and not deleted.
list_transformation_versions
List version revisions of a specific transformation. Each update to a transformation creates a new revision. Use this to view version history and find a specific version ID for rollback via the **Publish** tool.
list_transformations
List published transformations in the workspace. Draft revisions may not appear. Returns each transformation's metadata including name, language, version, and timestamps. Does not include the full code — use **Get Transformation** to retrieve the code for a specific transformation.
get_transformation
Retrieve a specific RudderStack transformation by its ID. Returns the transformation's current code, version, language, description, and metadata.
create_transformation
Create a new RudderStack transformation function. Transformations are custom JavaScript or Python functions that convert event data into destination-specific formats in real-time. When **publish** is false (default), the transformation is created as a draft and cannot be connected to destinations. Set **publish** to true to make it live for incoming event traffic and optionally connect destinations.
get_transformation_version
Inspect the exact transformation revision discovered with list_transformation_versions before testing, publishing or rolling back. Returns code and version metadata without changing deployment.
manage_destination_connection
Connect or disconnect a published transformation and a destination. A destination can have only one transformation: connecting replaces its current association and changes processing of incoming events.
get_library_version
Inspect the exact library revision discovered with list_library_versions before testing, publishing or rolling back. Returns code and version metadata without changing deployment.
test_transformations
Validate requested transformation and library revision IDs before publication. Supply named test cases with input events and optional expected output. Reports test pass/fail and observed output; it does not publish or connect revisions.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Manage RudderStack transformation and library revisions through the Bearer-auth management API. Inspect and test requested revisions, publish or roll back, and manage destination associations with explicit replacement effects.
Common questions about connecting Rudderstack Transformation to AI agents with Metorial.