agent-creator-mcp
Enables creating and deploying Agentforce agents to Salesforce by gathering requirements and generating agent metadata.
README
Agent Creator MCP Server
The agent-creator MCP server is designed to facilitate the creation and deployment of Agentforce. It interacts with users to gather requirements and generates agent metadata, which can then be deployed to a Salesforce organization.
Usage Examples
When using the agent-creator-mcp server in Claude, you can:
-
Create an Agent: The server will guide you through a series of questions to understand your needs, such as:
- "What business problem are you trying to solve with this AI agent?"
- "What would make this AI agent successful for you?"
- "What is the name of the company you work for?"
- "What would you like to name this agent?"
-
Generate and Deploy Agent Metadata: After gathering the necessary information, the server generates the agent metadata and deploys it to your Salesforce organization.
Quickstart
Install
Configuration Options
To deploy an agent, you need to configure the server with your Salesforce credentials. There are two transport methods available: STDIO and SSE.
Using STDIO Transport
STDIO runs on your local machine and is managed automatically by the MCP client. Use the following configuration template in your MCP configuration file, replacing placeholders with your actual credentials:
"ai-assist": {
"command": "uv",
"args": [
"--directory",
"<github_repo_path>//agent-creator-mcp.",
"run",
"ai-assist"
],
"env": {
"SALESFORCE_USERNAME": "your_username",
"SALESFORCE_PASSWORD": "your_password"
}
}
Using SSE Transport
Server-Sent Events (SSE) transport can run locally or remotely and communicates over the network. This method is useful for viewing logs and sharing the server across machines.
- Run the server with SSE transport:
SALESFORCE_USERNAME=your_username SALESFORCE_PASSWORD=your_password uv run ai-assist --transport sse
- Alternatively, you can load environment variables from a
.envfile and then run:
uv run agent-creator-mcp --transport sse
- You can specify a custom port (default is 8000):
uv run agent-creator-mcp --transport sse --port 8080
- Add the following to your MCP configuration file:
"agent-creator-mcp": {
"url": "http://0.0.0.0:8000/sse"
}
Make sure the port in the URL matches the port you specified when starting the server.
Running in Claude Desktop
To set up the ai-assist MCP server in Claude Desktop, you need to add it to Claude's configuration file:
- On MacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json - On Windows:
%APPDATA%/Claude/claude_desktop_config.json
You can access this file by:
- Open the Claude menu on your computer and select "Settings..."
- Click on "Developer" in the left-hand bar
- Click on "Edit Config"
You can use either STDIO or SSE transport when configuring the server:
Using STDIO Transport (Runs Locally):
{
"mcpServers": {
"ai-assist": {
"command": "uv",
"args": [
"--directory",
"<github_repo_path>/agent-creator-mcp",
"run",
"agent-creator-mcp"
],
"env": {
"SALESFORCE_USERNAME": "your_username",
"SALESFORCE_PASSWORD": "your_password"
}
}
}
}
Using SSE Transport (Can Run Locally or Remotely):
- Start the server with SSE transport:
SALESFORCE_USERNAME=your_username SALESFORCE_PASSWORD=your_password uv run ai-assist --transport sse
- Add this to your Claude Desktop configuration:
{
"mcpServers": {
"ai-assist": {
"url": "http://0.0.0.0:8000/sse"
}
}
}
- After updating the configuration, restart Claude Desktop completely.
For more detailed instructions on setting up MCP servers in Claude Desktop, refer to the official MCP documentation.
Running in Cursor
In Cursor the MCP server is experiencing some issues using STDIO, so it's recommended to use the SSE transport method instead. For detailed instructions on setting up MCP in Cursor, refer to the Cursor MCP documentation.
-
Run the server first using the SSE transport method as described in the section above.
-
Add the MCP configuration to Cursor's configuration file:
"mcp-test": {
"url": "http://0.0.0.0:8000/sse"
}
- Make sure to use the correct port in the URL that matches your server configuration.
Debugging
For debugging, use the MCP Inspector to visualize and troubleshoot the server's operations. Launch it with:
npx @modelcontextprotocol/inspector uv --directory <github_repo_path>/agent-creator-mcp run agent-creator-mcp -e SALESFORCE_USERNAME your_username -e SALESFORCE_PASSWORD your_password
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
Enhancing Results for Specific Clients
Cursor
In Cursor, you can create custom rules to enhance the agent creation process. For example:
# After the generate_agent_metadata is called:
- Create a folder in our project root if it does not exist called: agents
- Store the JSON output in the agents folder: agent_name.json
- Create a visual markdown of all the agent information including description, name, utterances, topics, and actions
- Generate a Mermaid diagram showing the Agent as a Node with Topics as sub-Nodes, and Actions as subnodes of the topics
- After it is generated, ask if the user wants to deploy the agent
Claude
In Claude, you can create a project with instructions to use other MCP servers to enhance the agent creation process:
- Guide the user to creating their agentforce agent.
- Use the get_agent_requirements tool to help gather requirements.
- Once enough requirements have been collected, call generate_agent_metadata to generate the whole metadata.
- Visualize the topics and agent metadata in the canvas with a React page showing the agent as a node, with topics as sub-nodes, and actions as sub-nodes of topics.
- Once the topics have been generated, call the deploy_agent to deploy the agent.
- Check if the agent deployment status is successful.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。