launchbar-mcp_agent

このLaunchbarアクションは、LangchainとMCPを統合しており、ユーザーのプロンプトに基づいてタスクを自動的に完了します。設定には、LLM APIキーを含む.envファイルと、MCPを設定するためのmcp_config.jsonが必要です。これにより、ユーザーは特定のMCPサーバーに関連するツール名を指定して、動的にサーバーをロードできます。

GitHubスター

1

ユーザー評価

未評価

フォーク

0

イシュー

0

閲覧数

3

お気に入り

0

README
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.

作者情報

1

フォロワー

8

リポジトリ

0

Gist

7

貢献数

トップ貢献者

スレッド