Skip to content

Commit 65d7adc

Browse files
committed
feat: update version to 1.5.0 and remove interactive schema generation tools; add Lightning and Project tools
1 parent 44eecbd commit 65d7adc

File tree

5 files changed

+15
-40
lines changed

5 files changed

+15
-40
lines changed

CLAUDE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ The MCP server provides tools organized by functionality:
6868
- **SObject Tools** (`src/tools/sobjects.ts`): List and describe Salesforce objects
6969
- **Org Tools** (`src/tools/orgs.ts`): List connected orgs, login, logout, open org in browser
7070
- **Admin Tools** (`src/tools/admin.ts`): Manage permissions, users, metadata
71-
- **Schema Tools** (`src/tools/schema.ts`): Generate custom objects, fields, and tabs
71+
- **Schema Tools** (`src/tools/schema.ts`): Generate custom tabs
7272
- **Package Tools** (`src/tools/package.ts`): Install and uninstall packages
7373
- **Code Analysis Tools** (`src/tools/code-analyzer.ts`, `src/tools/scanner.ts`): Static code analysis and security scanning
7474
- **Record Tools** (`src/tools/records.ts`): Open records in browser, create/update/delete records via REST API
75+
- **Lightning Tools** (`src/tools/lightning.ts`): Generate Lightning Web Components and Aura components
76+
- **Project Tools** (`src/tools/project.ts`): Deploy metadata to Salesforce orgs
7577

7678
### Adding New Tools
7779

@@ -119,13 +121,16 @@ The project supports Desktop Extension (.dxt) packaging for one-click installati
119121

120122
## Recent Features Added
121123

124+
- **Lightning Component Generation**: Generate Lightning Web Components and Aura components with customizable templates
125+
- **Project Deployment**: Deploy metadata to Salesforce orgs with various configuration options
122126
- **Apex Debug Logs**: Fetch and view Apex debug logs from the org
123127
- **Apex Code Generation**: Generate Apex classes and triggers with metadata
124128
- **Record Navigation**: Open Salesforce records directly in browser
125129
- **Record CRUD Operations**: Create, update, and delete Salesforce records via REST API
126130
- **Enhanced Error Handling**: Improved error messages with more context
127131
- **Prettier Integration**: Automatic code formatting with `.prettierrc` configuration
128132
- **Read-Only Mode Support**: All write operations respect READ_ONLY permission setting
133+
- **Removed Interactive Schema Tools**: Field and object generation tools removed as they require interactive CLI prompts
129134

130135
## Development Memories
131136

README.MD

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ You can check the current permission settings using the `get_server_permissions`
294294

295295
## How to use it
296296

297-
Once the SF MCP Server is configured in your AI client, you can interact with Salesforce using natural language. The AI assistant will have access to 38 powerful tools:
297+
Once the SF MCP Server is configured in your AI client, you can interact with Salesforce using natural language. The AI assistant will have access to 36 powerful tools:
298298

299299
### Available Tools
300300

@@ -627,29 +627,7 @@ Uninstall a second-generation package from a Salesforce org.
627627
- "Uninstall package and wait 5 minutes for completion"
628628
- "Remove package with spaces in alias from sandbox"
629629

630-
#### 33. Schema Generate Field
631-
632-
Generate metadata source files for a new custom field on a specified object.
633-
634-
**Example prompts:**
635-
636-
- "Generate a new field called 'Customer Priority' on the Account object"
637-
- "Create a custom field with label 'Order Status' in my custom object"
638-
- "Add a new text field 'External ID' to the Contact object"
639-
- "Generate a lookup field 'Parent Account' on MyObject\_\_c"
640-
641-
#### 34. Schema Generate SObject
642-
643-
Generate metadata source files for a new custom object.
644-
645-
**Example prompts:**
646-
647-
- "Generate a new custom object called 'Project' with default features"
648-
- "Create a custom object with label 'Invoice' in my DX project"
649-
- "Add a new custom object 'Customer Survey' with all optional features enabled"
650-
- "Generate a custom object 'Product Catalog' without default features"
651-
652-
#### 35. Schema Generate Tab
630+
#### 33. Schema Generate Tab
653631

654632
Generate metadata source files for a new custom tab on a custom object.
655633

@@ -660,7 +638,7 @@ Generate metadata source files for a new custom tab on a custom object.
660638
- "Add a navigation tab for Customer\_\_c with icon 75 in force-app/main/default/tabs"
661639
- "Create a tab for Product\_\_c custom object with default icon"
662640

663-
#### 36. Search Records
641+
#### 34. Search Records
664642

665643
Execute SOSL text-based searches across multiple objects. This is the primary tool for finding records that mention or contain specific text across your Salesforce org.
666644

@@ -672,7 +650,7 @@ Execute SOSL text-based searches across multiple objects. This is the primary to
672650
- "Find all records mentioning our competitor 'Acme Corp' across Accounts, Opportunities, and Cases"
673651
- "Execute SOSL: FIND {Smith} IN ALL FIELDS RETURNING Contact, Lead"
674652

675-
#### 37. Generate Lightning Component
653+
#### 35. Generate Lightning Component
676654

677655
Generate Lightning Web Components (LWC) or Aura components with configurable templates and output directories.
678656

@@ -683,7 +661,7 @@ Generate Lightning Web Components (LWC) or Aura components with configurable tem
683661
- "Generate an LWC with analyticsDashboard template called SalesMetrics"
684662
- "Create a Lightning component MyCustomView with default template"
685663

686-
#### 38. Deploy Metadata to Org
664+
#### 36. Deploy Metadata to Org
687665

688666
Deploy metadata components to a Salesforce org with various configuration options including test execution.
689667

manifest.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"dxt_version": "0.2",
33
"name": "salesforce-mcp-server",
44
"display_name": "Salesforce MCP Server",
5-
"version": "1.4.0",
5+
"version": "1.5.0",
66
"description": "Salesforce MCP Server - Interact with Salesforce orgs through AI assistants",
77
"icon": "icon.png",
88
"long_description": "Enables AI assistants to execute Apex code, query Salesforce data, and manage org metadata using your existing Salesforce CLI authentication. Perfect for developers and administrators who want to automate Salesforce tasks through natural language interactions.\n\nSupports environment variables:\n- READ_ONLY=true - Prevents Apex code execution\n- ALLOWED_ORGS=ALL or comma-separated org list - Restricts access to specific orgs (default: ALL)",
@@ -140,14 +140,6 @@
140140
"name": "package_uninstall",
141141
"description": "Uninstall a second-generation package from a Salesforce org"
142142
},
143-
{
144-
"name": "schema_generate_field",
145-
"description": "Generate metadata source files for a new custom field on a specified object"
146-
},
147-
{
148-
"name": "schema_generate_sobject",
149-
"description": "Generate metadata source files for a new custom object"
150-
},
151143
{
152144
"name": "schema_generate_tab",
153145
"description": "Generate metadata source files for a new custom tab on a custom object"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@advanced-communities/salesforce-mcp-server",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "MCP server enabling AI assistants to interact with Salesforce orgs through the Salesforce CLI",
55
"main": "./src/index.ts",
66
"scripts": {

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function buildServerDescription(): string {
2525
const allowedOrgs = permissions.getAllowedOrgs();
2626
const permissionInfo = [];
2727

28-
let description = `Salesforce MCP Server v1.4.0 - AI-powered Salesforce automation via CLI integration\n`;
28+
let description = `Salesforce MCP Server v1.5.0 - AI-powered Salesforce automation via CLI integration\n`;
2929
description += `Capabilities: Apex execution, SOQL queries, org management, code testing & coverage\n`;
3030

3131
if (readOnlyMode) {
@@ -49,7 +49,7 @@ function buildServerDescription(): string {
4949

5050
const server = new McpServer({
5151
name: "salesforce-mcp-server",
52-
version: "1.3.1",
52+
version: "1.5.0",
5353
description: buildServerDescription(),
5454
capabilities: {
5555
tools: {},

0 commit comments

Comments
 (0)