MCP ExplorerExplorer

Launchbar Mcp Agent

@justinhuang0208on a year ago
1 MIT
FreeCommunity
AI Systems
This is a LaunchBar version of Raycast's AI extension function, which is integrated with Langchain and MCP to automatically complete tasks based on your prompt.

Overview

What is Launchbar Mcp Agent

launchbar-mcp_agent is a LaunchBar action that integrates with Langchain and MCP to automatically complete tasks based on user prompts.

Use cases

Use cases include automating repetitive tasks, fetching data from specific MCP servers, and enhancing productivity by providing suggestions and autocomplete features.

How to use

To use launchbar-mcp_agent, you need to create a ‘.env’ file to configure your LLM API key and an ‘mcp_config.json’ file to set up your MCP. The ‘mcp_config.json’ specifies the commands and arguments for filesystem operations and fetching data from the MCP server.

Key features

Key features include automatic task completion based on prompts, integration with Langchain for enhanced functionality, and dynamic loading of MCP servers based on user-defined keywords.

Where to use

launchbar-mcp_agent can be used in various fields such as software development, automation tasks, and any scenario where prompt-based task completion is beneficial.

Content

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.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers