sf-mcp-server

sf-mcp-server

0

Salesforce MCP Server is a versatile local development server intended for simulating Salesforce CLI commands, aiding in testing and development workflows with configurable endpoints and security features.

Salesforce MCP Server

A local development server designed to mock Salesforce CLI commands for testing and development purposes.

Features

  • Mock Salesforce CLI commands
  • Local development environment
  • Configurable endpoints
  • Logging and error handling
  • Security features (CORS, Helmet)
  • Environment-based configuration

Prerequisites

  • Node.js (v14 or higher)
  • npm (v6 or higher)

Installation

  1. Clone the repository
  2. Install dependencies
  3. Configure environment variables

Configuration

  • The server can be configured using environment variables such as PORT, HOST, NODE_ENV, LOG_LEVEL, CORS_ORIGIN, API_KEY, SF_LOGIN_URL, and SF_API_VERSION.

Security

  • CORS is enabled and configurable
  • Helmet is utilized for security headers
  • API key authentication
  • Request validation