launchbar-mcp_agent
This Launchbar action integrates with Langchain and MCP to automatically complete tasks based on user prompts. By preparing configuration files, users can customize commands for filesystem operations and data fetching, and it also features an autocomplete function for MCP server names.
GitHub Stars
1
User Rating
Not Rated
Favorites
0
Views
24
Forks
1
Issues
0
MCP Agent
This is a Launchbar action integrated with Langchain and MCP to automatically complete tasks based on your prompt.
Configuration
Before using the application, ensure that you add a .env
file to configure your LLM API key. Additionally, include an mcp_config.json
file to set up your MCP.
The mcp_config.json
should format like this:
{
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/your/folder/path1",
"/your/folder/path2"
]
},
"fetch": {
"command": "uvx",
"args": [
"mcp-server-fetch"
]
}
}
The suggestions.js
file is designed to activate autocomplete when you type "@", providing suggestions for the MCP server names. Furthermore, this function dynamically loads only the MCP server associated with the tool name you've specified. You have the flexibility to modify the keyword section within suggestions.js
to align with the MCP server you have installed or to alter its name if you want.