A collection of MCP server tools in Typescript
This MCP server provides a collection of tools for CSV/XLSX file manipulation (reading, describing, plotting, handling nulls, dropping/renaming/select...
16const fullFilePath = path.join(workDir, filePath);
17if (!fs.existsSync(fullFilePath)) {
18 throw new Error(`File not found at: ${filePath}`);
19}
20
21const data = readData(fullFilePath);58const fullFilePath = path.join(workDir, filePath);
59
60if (!fs.existsSync(fullFilePath)) {
61 throw new Error(`File not found at: ${filePath}`);
62}
63
64const data = readData(fullFilePath);// Local-only MCP, requires compromised LLM to exploit
14const fullFilePath = path.join(workDir, filePath)
15
16if (!fs.existsSync(fullFilePath)) {
17 throw new Error(`File not found at: ${filePath}`)
18}// Local-only MCP, requires compromised LLM to exploit
// Source file not analyzed: csv-xlsx/src/tools/plotGraph.ts
// Finding inferred from import chain: csv-xlsx/src/index.ts:59 → csv-xlsx/src/tools/plotGraph.ts
// Local-only MCP, requires compromised LLM to exploit
// Source file not analyzed: csv-xlsx/src/tools/handleNulls.ts
// Finding inferred from import chain: csv-xlsx/src/index.ts:75 → csv-xlsx/src/tools/handleNulls.ts
// Local-only MCP, requires compromised LLM to exploit
// Source file not analyzed: csv-xlsx/src/tools/readFile.ts
// Finding inferred from import chain: csv-xlsx/src/index.ts:54 → csv-xlsx/src/tools/readFile.ts
// Local-only MCP, requires compromised LLM to exploit
146function getApiKey(): string {
147 const apiKey = process.env.GOOGLE_MAPS_API_KEY;
148 if (!apiKey) {
149 console.error("Cannot find GOOGLE_MAPS_API_KEY")
150 process.exit(1);
151 }
152 return apiKey
153}
154
155const GOOGLE_MAPS_API_KEY = getApiKey();// Local-only MCP, requires compromised LLM to exploit; key is used in outbound requests