json_to_csv
Pack: csv · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/json_to_csv for the schema, then POST the same URL with its arguments for the data.
Serialize an array of JSON objects (or arrays) to CSV (keyless, offline). Object keys become the header (union of all keys, in first-seen order). Fields are quoted when needed.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
rows | array | yes | An array of objects (or arrays) to serialize. |
delimiter | string | no | Field delimiter (default ”,”). |
Example call
Arguments
{
"rows": [
{
"name": "Alice",
"age": 30,
"city": "New York"
},
{
"name": "Bob",
"age": 25,
"city": "Los Angeles"
}
]
}
curl
curl -X POST https://gateway.pipeworx.io/csv/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"json_to_csv","arguments":{"rows":[{"name":"Alice","age":30,"city":"New York"},{"name":"Bob","age":25,"city":"Los Angeles"}]}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('json_to_csv', {
"rows": [
{
"name": "Alice",
"age": 30,
"city": "New York"
},
{
"name": "Bob",
"age": 25,
"city": "Los Angeles"
}
]
});
More examples
{
"rows": [
{
"product": "Widget",
"price": 9.99,
"quantity": 100
},
{
"product": "Gadget",
"price": 19.99,
"quantity": 50
}
],
"delimiter": "\t"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the csv pack
{
"mcpServers": {
"csv": {
"url": "https://gateway.pipeworx.io/csv/mcp"
}
}
}
See Getting Started for client-specific install steps.