- Home
- MCP servers
- Salesforce
Salesforce
- python
1
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"sameershrivastava-sf-salesforce-mcp-server": {
"command": "python",
"args": [
"-m",
"app.main",
"--mcp-stdio"
],
"env": {
"SFMCP_LOG_LEVEL": "INFO",
"SFMCP_DEBUG_MODE": "false",
"SFMCP_MAX_RETRIES": "3",
"SFMCP_MCP_SERVER_NAME": "salesforce-mcp-server",
"SFMCP_OAUTH_CALLBACK_PORT": "1717",
"SFMCP_OAUTH_TIMEOUT_SECONDS": "300",
"SFMCP_DEPLOY_TIMEOUT_SECONDS": "300",
"SFMCP_SALESFORCE_API_VERSION": "59.0",
"SFMCP_REQUEST_TIMEOUT_SECONDS": "120",
"SFMCP_DEPLOY_POLL_INTERVAL_SECONDS": "5"
}
}
}
}Available tools
deploy_metadata
Deploy any metadata type (Apex, LWC, Fields, etc.) with a single tool
fetch_metadata
Fetch any metadata type with a consistent interface
list_metadata
List metadata of any type with filtering
bulk_operation
Unified bulk insert/update/delete operations
export_data
Export data in CSV, JSON, or backup format
soql_query
Build and execute queries with optional analysis
get_object_metadata
Get fields, relationships, and metadata in one call
manage_user_permissions
Manage profiles and permission sets
salesforce_production_login
OAuth to production org
salesforce_sandbox_login
OAuth to sandbox (test.salesforce.com)
salesforce_custom_login
OAuth to custom domain
salesforce_login_username_password
Login with username/password/token
salesforce_logout
Clear all sessions
salesforce_auth_status
Check authentication status
list_connected_orgs
List all connected orgs
switch_active_org
Switch between orgs
compare_metadata_between_orgs
Compare Apex, Flows, etc.
compare_object_schemas
Compare field schemas
get_org_differences_summary
High-level org comparison
run_apex_tests
Run tests with coverage
get_apex_test_coverage
Get code coverage details
list_apex_test_classes
List all test classes
bulk_insert_records
Insert thousands via Bulk API 2.0
bulk_update_records
Update thousands of records
bulk_delete_records
Delete thousands of records
get_bulk_job_status
Check job progress
export_data_to_csv
Export SOQL results to CSV
export_object_data
Export entire objects
backup_object_records
Create timestamped backups
get_record_count
Fast record counting
export_schema_to_json
Export object schemas
build_soql_query
Build queries from components
get_object_fields
Get field metadata
get_field_relationships
Get all relationships
explain_soql_query
Analyze and optimize queries
query_with_related_records
Query parent-child records
analyze_object_dependencies
Full dependency analysis
find_unused_fields
Identify unused fields
generate_object_diagram
Generate ERD data
list_all_objects
List all objects (custom/standard)
get_field_usage_stats
Field population statistics
list_batch_jobs
List Batch Apex jobs
get_batch_job_details
Get detailed job info
list_scheduled_jobs
List scheduled Apex
abort_batch_job
Stop running batch
delete_scheduled_job
Delete scheduled job
execute_anonymous_apex
Execute Apex instantly
get_debug_logs
Retrieve debug logs
get_debug_log_body
Get full log content
salesforce_health_check
Comprehensive health check
get_org_limits
API/storage limits
get_org_info
Organization details
get_current_user_info
Current user profile
list_installed_packages
List managed packages
get_api_usage_stats
API usage statistics
execute_soql_query
Run any SOQL query
get_metadata_deploy_status
Check deployment status
change_user_profile
Change a user's profile
assign_permission_set
Assign permission set to a user
remove_permission_set
Remove permission set from a user
list_user_permissions
List user's permission sets and profile
list_available_profiles
List all profiles in the org
list_available_permission_sets
List all permission sets in the org
compare_profiles
Compare two profiles side-by-side
compare_permission_sets
Compare two permission sets
compare_object_field_counts
Compare field counts between orgs
find_similar_fields_across_objects
Find fields with similar names/types
compare_org_object_counts
Compare total object counts between orgs