Back to Home
searchcraft-inc icon

searchcraft-mcp-server

by searchcraft-inc

Overview

An MCP server that enables AI agents to manage Searchcraft clusters by performing operations on indexes, documents, federations, authentication keys, analytics, and generating search applications from JSON data via natural language prompts.

Installation

Run Command
npm run start:stdio

Environment Variables

  • ENDPOINT_URL
  • CORE_API_KEY
  • USER_AGENT
  • DEBUG
  • PORT
  • LOG_LEVEL

Security Notes

CRITICAL VULNERABILITY: The `create_vite_app` tool uses `child_process.exec` to clone a Git repository, incorporating the `app_name` parameter directly into the shell command string without proper sanitization or escaping. This allows for command injection, where a malicious `app_name` (e.g., `'; rm -rf / ;'`) could execute arbitrary commands on the host system, leading to severe compromise. Additionally, file path validation for `analyze_json_from_file` and `create_index_from_json` is basic and might not prevent all path traversal attacks, although the `exec` vulnerability is far more critical. The server fetches JSON from URLs and installs external dependencies, which are inherent network risks that need careful monitoring.

Similar Servers

Stats

Interest Score35
Security Score3
Cost ClassMedium
Avg Tokens1000
Stars6
Forks2
Last Update2026-01-10

Tags

SearchAI AgentMCP ServerSearchcraftData Management