Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CSV_MCP_ROOTYesAbsolute path to the CSV workspace directory
CSV_MCP_MAX_ROWSNoMaximum number of rows (default 1,000,000)1000000
CSV_MCP_MAX_FILESNoMaximum number of files (default 10,000)10000
CSV_MCP_MAX_COLUMNSNoMaximum number of columns (default 500)500
CSV_MCP_MAX_FILE_SIZENoMaximum file size (default 50 MiB)50 MiB
CSV_MCP_MAX_FIELD_LENGTHNoMaximum field length (default 1 MiB)1 MiB
CSV_MCP_MAX_RETURNED_ROWSNoMaximum rows returned (default 1,000)1000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_csv_filesA

List CSV and TSV files below CSV_MCP_ROOT.

inspect_csvB

Inspect encoding, dialect, columns, types, malformed rows, and samples.

preview_csvC

Read a bounded page and optional subset of columns.

read_csvD

Backward-compatible alias for preview_csv.

query_csvC

Select, filter, and sort rows with controlled operators.

summarize_csvC

Group and aggregate with a fixed set of functions.

validate_csvB

Validate columns, row widths, types, required values, uniqueness, and categories.

compare_csvC

Compare two CSV files by unique key columns.

create_csvC

Create a CSV/TSV file with atomic output and formula-injection handling.

append_rowsC

Append validated rows to a new output file by default.

update_rowsC

Update filtered rows, returning a bounded change preview before optional output.

delete_rowsB

Delete filtered rows, requiring a non-empty filter and defaulting to dry-run.

clean_csvC

Trim, change case, and deduplicate selected columns.

merge_csvC

Concatenate matching files or join exactly two files by keys.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
files_resourceList available CSV files as JSON.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/meysam-kazemi/csv-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server