From 331909afc2fa6916e22fe3e66e7f172b90dbafd5 Mon Sep 17 00:00:00 2001 From: Dmitry Shilov Date: Sun, 18 Oct 2026 12:04:57 +0300 Subject: [PATCH] fix(mcp): move setup_instructions to the catalog root in all 33 entries Every `mcp/*.toml` placed `setup_instructions` *after* the `[health_check]` table, so TOML scoped it to that table rather than to the document root. `McpCatalogEntry::setup_instructions` therefore deserialised as its `#[serde(default)]` empty string for all 33 entries, and the install/detail views that read `entry.setup_instructions` had nothing to show. Relocate the key above the first table header. The text is byte-identical and no other key is touched. `scripts/validate.py` passes. --- mcp/aws.toml | 13 ++++++------- mcp/azure-mcp.toml | 13 ++++++------- mcp/bitbucket.toml | 13 ++++++------- mcp/brave-search.toml | 13 ++++++------- mcp/discord-mcp.toml | 13 ++++++------- mcp/dropbox.toml | 13 ++++++------- mcp/elasticsearch.toml | 13 ++++++------- mcp/exa-search.toml | 13 ++++++------- mcp/fetch.toml | 13 ++++++------- mcp/filesystem.toml | 17 ++++++++--------- mcp/gcp-mcp.toml | 13 ++++++------- mcp/git.toml | 17 ++++++++--------- mcp/github.toml | 13 ++++++------- mcp/gitlab.toml | 13 ++++++------- mcp/gmail.toml | 13 ++++++------- mcp/google-calendar.toml | 13 ++++++------- mcp/google-drive.toml | 13 ++++++------- mcp/google-maps.toml | 19 +++++++++---------- mcp/jira.toml | 13 ++++++------- mcp/linear.toml | 13 ++++++------- mcp/memory.toml | 17 ++++++++--------- mcp/mongodb.toml | 13 ++++++------- mcp/notion.toml | 13 ++++++------- mcp/postgresql.toml | 13 ++++++------- mcp/puppeteer.toml | 17 ++++++++--------- mcp/redis.toml | 13 ++++++------- mcp/sentry.toml | 13 ++++++------- mcp/sequential-thinking.toml | 15 +++++++-------- mcp/slack.toml | 13 ++++++------- mcp/sqlite-mcp.toml | 13 ++++++------- mcp/teams-mcp.toml | 13 ++++++------- mcp/time.toml | 17 ++++++++--------- mcp/todoist.toml | 13 ++++++------- 33 files changed, 212 insertions(+), 245 deletions(-) diff --git a/mcp/aws.toml b/mcp/aws.toml index 8f5a313..5c20a49 100644 --- a/mcp/aws.toml +++ b/mcp/aws.toml @@ -5,6 +5,12 @@ category = "cloud" icon = "lucide:cloud" tags = ["cloud", "amazon", "infrastructure", "s3", "ec2", "lambda", "devops"] +setup_instructions = """ +1. Go to the AWS IAM Console (https://console.aws.amazon.com/iam/) and create or select an IAM user with programmatic access. +2. Generate an access key pair and note down the Access Key ID and Secret Access Key. +3. Paste both credentials and your preferred AWS region (default: us-east-1) into the fields above. +""" + [transport] type = "stdio" command = "npx" @@ -35,13 +41,6 @@ get_url = "" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to the AWS IAM Console (https://console.aws.amazon.com/iam/) and create or select an IAM user with programmatic access. -2. Generate an access key pair and note down the Access Key ID and Secret Access Key. -3. Paste both credentials and your preferred AWS region (default: us-east-1) into the fields above. -""" - - [i18n.zh] name = "AWS" description = "通过 MCP 服务器管理 Amazon Web Services 资源(S3、EC2、Lambda 等)。" diff --git a/mcp/azure-mcp.toml b/mcp/azure-mcp.toml index cc6817d..3645647 100644 --- a/mcp/azure-mcp.toml +++ b/mcp/azure-mcp.toml @@ -5,6 +5,12 @@ category = "cloud" icon = "lucide:diamond" tags = ["cloud", "microsoft", "infrastructure", "azure", "devops", "enterprise"] +setup_instructions = """ +1. In the Azure Portal, register an application under Azure Active Directory > App registrations and note the Client ID and Tenant ID. +2. Create a client secret under Certificates & Secrets for the registered application. +3. Assign the appropriate RBAC roles to the application on your subscription, then paste all four values into the fields above. +""" + [transport] type = "stdio" command = "npx" @@ -42,13 +48,6 @@ get_url = "https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/Applicat interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. In the Azure Portal, register an application under Azure Active Directory > App registrations and note the Client ID and Tenant ID. -2. Create a client secret under Certificates & Secrets for the registered application. -3. Assign the appropriate RBAC roles to the application on your subscription, then paste all four values into the fields above. -""" - - [i18n.zh] name = "Microsoft Azure" description = "通过 MCP 服务器管理 Azure 资源(虚拟机、存储、App Services 等)。" diff --git a/mcp/bitbucket.toml b/mcp/bitbucket.toml index 1273b26..0c4dfac 100644 --- a/mcp/bitbucket.toml +++ b/mcp/bitbucket.toml @@ -5,6 +5,12 @@ category = "devtools" icon = "lucide:package" tags = ["git", "vcs", "code", "pull-requests", "ci", "atlassian"] +setup_instructions = """ +1. Go to Bitbucket > Personal Settings > App passwords (https://bitbucket.org/account/settings/app-passwords/). +2. Create an app password with 'Repositories: Read/Write' and 'Pull requests: Read/Write' permissions. +3. Enter your Bitbucket username and paste the app password into the fields above. +""" + [transport] type = "stdio" command = "npx" @@ -28,13 +34,6 @@ get_url = "https://bitbucket.org/account/settings/app-passwords/" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to Bitbucket > Personal Settings > App passwords (https://bitbucket.org/account/settings/app-passwords/). -2. Create an app password with 'Repositories: Read/Write' and 'Pull requests: Read/Write' permissions. -3. Enter your Bitbucket username and paste the app password into the fields above. -""" - - [i18n.zh] name = "Bitbucket" description = "通过 MCP 服务器访问 Bitbucket 仓库、Pull Request 与流水线。" diff --git a/mcp/brave-search.toml b/mcp/brave-search.toml index 22ebe29..c15d29c 100644 --- a/mcp/brave-search.toml +++ b/mcp/brave-search.toml @@ -5,6 +5,12 @@ category = "ai" icon = "lucide:shield" tags = ["search", "web", "brave", "api", "information-retrieval"] +setup_instructions = """ +1. Go to https://brave.com/search/api/ and sign up for a Brave Search API plan (free tier available). +2. Generate an API key from your Brave Search API dashboard. +3. Paste the API key into the BRAVE_API_KEY field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "https://brave.com/search/api/" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to https://brave.com/search/api/ and sign up for a Brave Search API plan (free tier available). -2. Generate an API key from your Brave Search API dashboard. -3. Paste the API key into the BRAVE_API_KEY field above. -""" - - [i18n.zh] name = "Brave Search" description = "通过 MCP 服务器使用 Brave Search API 进行网页搜索。" diff --git a/mcp/discord-mcp.toml b/mcp/discord-mcp.toml index 8e9b5a8..fd48a34 100644 --- a/mcp/discord-mcp.toml +++ b/mcp/discord-mcp.toml @@ -5,6 +5,12 @@ category = "communication" icon = "lucide:gamepad-2" tags = ["chat", "messaging", "community", "gaming", "voice"] +setup_instructions = """ +1. Go to the Discord Developer Portal (https://discord.com/developers/applications) and create a new application. +2. Navigate to the 'Bot' section, click 'Add Bot', and copy the bot token. +3. Invite the bot to your server using the OAuth2 URL generator with the required permissions, then paste the token into the DISCORD_BOT_TOKEN field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "https://discord.com/developers/applications" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to the Discord Developer Portal (https://discord.com/developers/applications) and create a new application. -2. Navigate to the 'Bot' section, click 'Add Bot', and copy the bot token. -3. Invite the bot to your server using the OAuth2 URL generator with the required permissions, then paste the token into the DISCORD_BOT_TOKEN field above. -""" - - [i18n.zh] name = "Discord" description = "通过 MCP 服务器访问 Discord 服务器、频道与消息。" diff --git a/mcp/dropbox.toml b/mcp/dropbox.toml index 10471ac..6865530 100644 --- a/mcp/dropbox.toml +++ b/mcp/dropbox.toml @@ -5,6 +5,12 @@ category = "productivity" icon = "lucide:package" tags = ["files", "storage", "cloud-storage", "sync", "sharing"] +setup_instructions = """ +1. Go to the Dropbox App Console (https://www.dropbox.com/developers/apps) and create a new app or select an existing one. +2. Under the 'OAuth 2' section, generate an access token with the required permissions. +3. Paste the access token into the DROPBOX_ACCESS_TOKEN field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "https://www.dropbox.com/developers/apps" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to the Dropbox App Console (https://www.dropbox.com/developers/apps) and create a new app or select an existing one. -2. Under the 'OAuth 2' section, generate an access token with the required permissions. -3. Paste the access token into the DROPBOX_ACCESS_TOKEN field above. -""" - - [i18n.zh] name = "Dropbox" description = "通过 MCP 服务器访问和管理 Dropbox 的文件与文件夹。" diff --git a/mcp/elasticsearch.toml b/mcp/elasticsearch.toml index f417a6c..3f84a95 100644 --- a/mcp/elasticsearch.toml +++ b/mcp/elasticsearch.toml @@ -5,6 +5,12 @@ category = "data" icon = "lucide:search" tags = ["search", "database", "indexing", "analytics", "full-text"] +setup_instructions = """ +1. Obtain your Elasticsearch cluster URL from your Elastic Cloud dashboard or self-hosted instance configuration. +2. Create an API key in Kibana (Stack Management > API Keys) with appropriate index permissions. +3. Paste the cluster URL and API key into the fields above. +""" + [transport] type = "stdio" command = "npx" @@ -28,13 +34,6 @@ get_url = "" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Obtain your Elasticsearch cluster URL from your Elastic Cloud dashboard or self-hosted instance configuration. -2. Create an API key in Kibana (Stack Management > API Keys) with appropriate index permissions. -3. Paste the cluster URL and API key into the fields above. -""" - - [i18n.zh] name = "Elasticsearch" description = "通过 MCP 服务器搜索与管理 Elasticsearch 索引和文档。" diff --git a/mcp/exa-search.toml b/mcp/exa-search.toml index 81e01aa..5c90e4d 100644 --- a/mcp/exa-search.toml +++ b/mcp/exa-search.toml @@ -5,6 +5,12 @@ category = "ai" icon = "lucide:search" tags = ["search", "web", "ai", "neural", "semantic", "information-retrieval"] +setup_instructions = """ +1. Go to https://dashboard.exa.ai/ and create an account or sign in. +2. Navigate to API Keys (https://dashboard.exa.ai/api-keys) and generate a new key. +3. Paste the API key into the EXA_API_KEY field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "https://dashboard.exa.ai/api-keys" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to https://dashboard.exa.ai/ and create an account or sign in. -2. Navigate to API Keys (https://dashboard.exa.ai/api-keys) and generate a new key. -3. Paste the API key into the EXA_API_KEY field above. -""" - - [i18n.zh] name = "Exa Search" description = "通过 Exa MCP 服务器执行 AI 神经搜索并获取网页内容。" diff --git a/mcp/fetch.toml b/mcp/fetch.toml index e81b239..b2cf1e8 100644 --- a/mcp/fetch.toml +++ b/mcp/fetch.toml @@ -5,6 +5,12 @@ category = "devtools" icon = "🌐" tags = ["web", "fetch", "scraping", "markdown", "http"] +setup_instructions = """ +No API key required. Fetches any publicly accessible URL and returns the content as Markdown. + +For JavaScript-rendered pages (SPAs), use the Puppeteer integration instead. +""" + [transport] type = "stdio" command = "npx" @@ -14,13 +20,6 @@ args = ["-y", "@modelcontextprotocol/server-fetch@latest"] interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -No API key required. Fetches any publicly accessible URL and returns the content as Markdown. - -For JavaScript-rendered pages (SPAs), use the Puppeteer integration instead. -""" - - [i18n.zh] name = "Web Fetch" description = "抓取任意网页并以干净的 Markdown 返回内容 —— 适合阅读文档、文章与 API。" diff --git a/mcp/filesystem.toml b/mcp/filesystem.toml index ef22550..b9da48a 100644 --- a/mcp/filesystem.toml +++ b/mcp/filesystem.toml @@ -5,15 +5,6 @@ category = "devtools" icon = "📁" tags = ["files", "local", "read", "write", "search"] -[transport] -type = "stdio" -command = "npx" -args = ["-y", "@modelcontextprotocol/server-filesystem@latest", "$HOME"] - -[health_check] -interval_secs = 60 -unhealthy_threshold = 3 - setup_instructions = """ Exposes your home directory to agents by default. @@ -32,6 +23,14 @@ args = ["-y", "@modelcontextprotocol/server-filesystem@latest", "/path/to/expose Requires Node.js / npx. """ +[transport] +type = "stdio" +command = "npx" +args = ["-y", "@modelcontextprotocol/server-filesystem@latest", "$HOME"] + +[health_check] +interval_secs = 60 +unhealthy_threshold = 3 [i18n.zh] name = "Filesystem" diff --git a/mcp/gcp-mcp.toml b/mcp/gcp-mcp.toml index e100c19..70bd489 100644 --- a/mcp/gcp-mcp.toml +++ b/mcp/gcp-mcp.toml @@ -5,6 +5,12 @@ category = "cloud" icon = "lucide:globe" tags = ["cloud", "google", "infrastructure", "gce", "gcs", "bigquery", "devops"] +setup_instructions = """ +1. Go to the GCP Console > IAM & Admin > Service Accounts (https://console.cloud.google.com/iam-admin/serviceaccounts) and create a new service account with the necessary roles. +2. Generate a JSON key file for the service account and save it to a secure location on your filesystem. +3. Enter the absolute path to the JSON key file in the GOOGLE_APPLICATION_CREDENTIALS field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "https://console.cloud.google.com/iam-admin/serviceaccounts" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to the GCP Console > IAM & Admin > Service Accounts (https://console.cloud.google.com/iam-admin/serviceaccounts) and create a new service account with the necessary roles. -2. Generate a JSON key file for the service account and save it to a secure location on your filesystem. -3. Enter the absolute path to the JSON key file in the GOOGLE_APPLICATION_CREDENTIALS field above. -""" - - [i18n.zh] name = "Google Cloud Platform" description = "通过 MCP 服务器管理 GCP 资源(Compute Engine、Cloud Storage、BigQuery 等)。" diff --git a/mcp/git.toml b/mcp/git.toml index bed99da..f404689 100644 --- a/mcp/git.toml +++ b/mcp/git.toml @@ -5,15 +5,6 @@ category = "devtools" icon = "🌿" tags = ["git", "version-control", "commits", "diff", "history", "blame"] -[transport] -type = "stdio" -command = "uvx" -args = ["mcp-server-git", "--repository", "."] - -[health_check] -interval_secs = 60 -unhealthy_threshold = 3 - setup_instructions = """ Requires `uv` (Python package manager): - macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh` @@ -32,6 +23,14 @@ args = ["mcp-server-git", "--repository", "/path/to/your/repo"] ``` """ +[transport] +type = "stdio" +command = "uvx" +args = ["mcp-server-git", "--repository", "."] + +[health_check] +interval_secs = 60 +unhealthy_threshold = 3 [i18n.zh] name = "Git" diff --git a/mcp/github.toml b/mcp/github.toml index 3247965..4054f70 100644 --- a/mcp/github.toml +++ b/mcp/github.toml @@ -5,6 +5,12 @@ category = "devtools" icon = "lucide:github" tags = ["git", "vcs", "code", "issues", "pull-requests", "ci"] +setup_instructions = """ +1. Go to https://github.com/settings/tokens and create a Personal Access Token (classic or fine-grained) with 'repo' and 'read:org' scopes. +2. Paste the token into the GITHUB_PERSONAL_ACCESS_TOKEN field above. +3. Alternatively, use the OAuth flow to authorize LibreFang directly with your GitHub account. +""" + [transport] type = "stdio" command = "npx" @@ -27,13 +33,6 @@ token_url = "https://github.com/login/oauth/access_token" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to https://github.com/settings/tokens and create a Personal Access Token (classic or fine-grained) with 'repo' and 'read:org' scopes. -2. Paste the token into the GITHUB_PERSONAL_ACCESS_TOKEN field above. -3. Alternatively, use the OAuth flow to authorize LibreFang directly with your GitHub account. -""" - - [i18n.zh] name = "GitHub" description = "通过官方 MCP 服务器访问 GitHub 仓库、Issue、Pull Request 与组织。" diff --git a/mcp/gitlab.toml b/mcp/gitlab.toml index 06042e7..a4f29bc 100644 --- a/mcp/gitlab.toml +++ b/mcp/gitlab.toml @@ -5,6 +5,12 @@ category = "devtools" icon = "lucide:flame" tags = ["git", "vcs", "code", "merge-requests", "ci", "devops"] +setup_instructions = """ +1. Navigate to GitLab > User Settings > Access Tokens (https://gitlab.com/-/user_settings/personal_access_tokens). +2. Create a new personal access token with the 'api' scope and an appropriate expiration date. +3. Paste the token into the GITLAB_PERSONAL_ACCESS_TOKEN field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "https://gitlab.com/-/user_settings/personal_access_tokens" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Navigate to GitLab > User Settings > Access Tokens (https://gitlab.com/-/user_settings/personal_access_tokens). -2. Create a new personal access token with the 'api' scope and an appropriate expiration date. -3. Paste the token into the GITLAB_PERSONAL_ACCESS_TOKEN field above. -""" - - [i18n.zh] name = "GitLab" description = "通过 MCP 服务器访问 GitLab 项目、Merge Request、Issue 与 CI/CD 流水线。" diff --git a/mcp/gmail.toml b/mcp/gmail.toml index 0b5f5a8..5f7a7f0 100644 --- a/mcp/gmail.toml +++ b/mcp/gmail.toml @@ -5,6 +5,12 @@ category = "productivity" icon = "lucide:mail" tags = ["email", "google", "messaging", "inbox", "communication"] +setup_instructions = """ +1. Click 'Connect' to initiate the OAuth flow with your Google account. +2. Grant LibreFang permission to read and modify your Gmail messages when prompted. +3. The connection will be established automatically after authorization. +""" + [transport] type = "stdio" command = "npx" @@ -20,13 +26,6 @@ token_url = "https://oauth2.googleapis.com/token" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Click 'Connect' to initiate the OAuth flow with your Google account. -2. Grant LibreFang permission to read and modify your Gmail messages when prompted. -3. The connection will be established automatically after authorization. -""" - - [i18n.zh] name = "Gmail" description = "通过 Anthropic MCP 服务器读取、发送和管理 Gmail 邮件与草稿。" diff --git a/mcp/google-calendar.toml b/mcp/google-calendar.toml index bd19e12..53e96d0 100644 --- a/mcp/google-calendar.toml +++ b/mcp/google-calendar.toml @@ -5,6 +5,12 @@ category = "productivity" icon = "lucide:calendar" tags = ["calendar", "scheduling", "google", "events", "meetings"] +setup_instructions = """ +1. Click 'Connect' to initiate the OAuth flow with your Google account. +2. Grant LibreFang access to your Google Calendar when prompted. +3. The connection will be established automatically after authorization. +""" + [transport] type = "stdio" command = "npx" @@ -20,13 +26,6 @@ token_url = "https://oauth2.googleapis.com/token" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Click 'Connect' to initiate the OAuth flow with your Google account. -2. Grant LibreFang access to your Google Calendar when prompted. -3. The connection will be established automatically after authorization. -""" - - [i18n.zh] name = "Google Calendar" description = "通过 Anthropic MCP 服务器管理 Google 日历的活动、日程与可用时段。" diff --git a/mcp/google-drive.toml b/mcp/google-drive.toml index f713292..a55bd94 100644 --- a/mcp/google-drive.toml +++ b/mcp/google-drive.toml @@ -5,6 +5,12 @@ category = "productivity" icon = "lucide:folder" tags = ["files", "storage", "google", "documents", "cloud-storage"] +setup_instructions = """ +1. Click 'Connect' to initiate the OAuth flow with your Google account. +2. Grant LibreFang read-only access to your Google Drive files when prompted. +3. The connection will be established automatically after authorization. +""" + [transport] type = "stdio" command = "npx" @@ -20,13 +26,6 @@ token_url = "https://oauth2.googleapis.com/token" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Click 'Connect' to initiate the OAuth flow with your Google account. -2. Grant LibreFang read-only access to your Google Drive files when prompted. -3. The connection will be established automatically after authorization. -""" - - [i18n.zh] name = "Google Drive" description = "通过 Anthropic MCP 服务器浏览、搜索并读取 Google Drive 中的文件。" diff --git a/mcp/google-maps.toml b/mcp/google-maps.toml index 85d7ea4..138af95 100644 --- a/mcp/google-maps.toml +++ b/mcp/google-maps.toml @@ -5,6 +5,15 @@ category = "data" icon = "🗺️" tags = ["maps", "geocoding", "directions", "places", "google", "location"] +setup_instructions = """ +1. Go to https://console.cloud.google.com +2. Enable: Geocoding API, Directions API, Places API, Distance Matrix API +3. Create credentials → API Key +4. Paste the key into the field above + +Free tier includes $200/month credit (~40,000 geocoding requests). +""" + [transport] type = "stdio" command = "npx" @@ -21,16 +30,6 @@ get_url = "https://console.cloud.google.com/apis/credentials" interval_secs = 120 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to https://console.cloud.google.com -2. Enable: Geocoding API, Directions API, Places API, Distance Matrix API -3. Create credentials → API Key -4. Paste the key into the field above - -Free tier includes $200/month credit (~40,000 geocoding requests). -""" - - [i18n.zh] name = "Google Maps" description = "通过 Google Maps 平台进行地理编码、反向地理编码、路线规划、距离矩阵与地点搜索。" diff --git a/mcp/jira.toml b/mcp/jira.toml index 9c75c35..f756257 100644 --- a/mcp/jira.toml +++ b/mcp/jira.toml @@ -5,6 +5,12 @@ category = "devtools" icon = "lucide:clipboard-list" tags = ["project-management", "issues", "agile", "atlassian", "tracking"] +setup_instructions = """ +1. Go to https://id.atlassian.com/manage-profile/security/api-tokens and create a new API token. +2. Enter your Jira Cloud instance URL (e.g., https://yourcompany.atlassian.net) and the email linked to your Atlassian account. +3. Paste the API token into the JIRA_API_TOKEN field above. +""" + [transport] type = "stdio" command = "npx" @@ -35,13 +41,6 @@ get_url = "" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to https://id.atlassian.com/manage-profile/security/api-tokens and create a new API token. -2. Enter your Jira Cloud instance URL (e.g., https://yourcompany.atlassian.net) and the email linked to your Atlassian account. -3. Paste the API token into the JIRA_API_TOKEN field above. -""" - - [i18n.zh] name = "Jira" description = "通过 Atlassian MCP 服务器访问 Jira 的工单、项目、看板与 Sprint。" diff --git a/mcp/linear.toml b/mcp/linear.toml index 2023ebd..5b152ab 100644 --- a/mcp/linear.toml +++ b/mcp/linear.toml @@ -5,6 +5,12 @@ category = "devtools" icon = "lucide:ruler" tags = ["project-management", "issues", "agile", "tracking", "sprint"] +setup_instructions = """ +1. Open Linear and go to Settings > API (https://linear.app/settings/api). +2. Click 'Create key' to generate a new personal API key. +3. Paste the key into the LINEAR_API_KEY field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "https://linear.app/settings/api" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Open Linear and go to Settings > API (https://linear.app/settings/api). -2. Click 'Create key' to generate a new personal API key. -3. Paste the key into the LINEAR_API_KEY field above. -""" - - [i18n.zh] name = "Linear" description = "通过 MCP 服务器管理 Linear 的 Issue、项目、Cycle 与团队。" diff --git a/mcp/memory.toml b/mcp/memory.toml index a3e1549..e9f1221 100644 --- a/mcp/memory.toml +++ b/mcp/memory.toml @@ -5,15 +5,6 @@ category = "ai" icon = "🧠" tags = ["memory", "knowledge-graph", "persistence", "facts", "entities"] -[transport] -type = "stdio" -command = "npx" -args = ["-y", "@modelcontextprotocol/server-memory@latest"] - -[health_check] -interval_secs = 60 -unhealthy_threshold = 3 - setup_instructions = """ No API key required. Stores a knowledge graph locally in JSON format. @@ -31,6 +22,14 @@ args = ["-y", "@modelcontextprotocol/server-memory@latest"] ``` """ +[transport] +type = "stdio" +command = "npx" +args = ["-y", "@modelcontextprotocol/server-memory@latest"] + +[health_check] +interval_secs = 60 +unhealthy_threshold = 3 [i18n.zh] name = "Memory (知识图谱)" diff --git a/mcp/mongodb.toml b/mcp/mongodb.toml index d5001b4..59681bb 100644 --- a/mcp/mongodb.toml +++ b/mcp/mongodb.toml @@ -5,6 +5,12 @@ category = "data" icon = "lucide:leaf" tags = ["database", "nosql", "document", "mongo", "queries"] +setup_instructions = """ +1. Obtain your MongoDB connection URI from MongoDB Atlas (Clusters > Connect > Drivers) or your self-hosted instance. +2. Ensure the database user has the necessary read/write permissions for the collections you want to access. +3. Paste the full connection URI into the MONGODB_URI field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Obtain your MongoDB connection URI from MongoDB Atlas (Clusters > Connect > Drivers) or your self-hosted instance. -2. Ensure the database user has the necessary read/write permissions for the collections you want to access. -3. Paste the full connection URI into the MONGODB_URI field above. -""" - - [i18n.zh] name = "MongoDB" description = "通过 MCP 服务器查询与管理 MongoDB 数据库和集合。" diff --git a/mcp/notion.toml b/mcp/notion.toml index e980666..279ed4d 100644 --- a/mcp/notion.toml +++ b/mcp/notion.toml @@ -5,6 +5,12 @@ category = "productivity" icon = "lucide:file-text" tags = ["notes", "wiki", "knowledge-base", "documentation", "databases"] +setup_instructions = """ +1. Go to https://www.notion.so/my-integrations and click 'New integration'. +2. Give it a name, select your workspace, and grant the required capabilities (Read/Update/Insert content). +3. Copy the Internal Integration Token and paste it into the NOTION_API_KEY field above. Then share relevant pages with the integration in Notion. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "https://www.notion.so/my-integrations" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to https://www.notion.so/my-integrations and click 'New integration'. -2. Give it a name, select your workspace, and grant the required capabilities (Read/Update/Insert content). -3. Copy the Internal Integration Token and paste it into the NOTION_API_KEY field above. Then share relevant pages with the integration in Notion. -""" - - [i18n.zh] name = "Notion" description = "通过 MCP 服务器访问和管理 Notion 的页面、数据库与区块。" diff --git a/mcp/postgresql.toml b/mcp/postgresql.toml index 70bbdb6..314a18c 100644 --- a/mcp/postgresql.toml +++ b/mcp/postgresql.toml @@ -5,6 +5,12 @@ category = "data" icon = "lucide:database" tags = ["database", "sql", "relational", "postgres", "queries"] +setup_instructions = """ +1. Obtain your PostgreSQL connection string in the format: postgresql://user:password@host:5432/dbname. +2. Ensure the database user has the necessary read/write permissions for the tables you want to access. +3. Paste the full connection string into the POSTGRES_CONNECTION_STRING field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Obtain your PostgreSQL connection string in the format: postgresql://user:password@host:5432/dbname. -2. Ensure the database user has the necessary read/write permissions for the tables you want to access. -3. Paste the full connection string into the POSTGRES_CONNECTION_STRING field above. -""" - - [i18n.zh] name = "PostgreSQL" description = "通过 MCP 服务器查询与管理 PostgreSQL 数据库。" diff --git a/mcp/puppeteer.toml b/mcp/puppeteer.toml index 333197a..bbe248b 100644 --- a/mcp/puppeteer.toml +++ b/mcp/puppeteer.toml @@ -13,15 +13,6 @@ tags = [ "chrome", ] -[transport] -type = "stdio" -command = "npx" -args = ["-y", "@modelcontextprotocol/server-puppeteer@latest"] - -[health_check] -interval_secs = 60 -unhealthy_threshold = 3 - setup_instructions = """ Requires Chrome or Chromium to be installed: - macOS: `brew install --cask google-chrome` @@ -31,6 +22,14 @@ Requires Chrome or Chromium to be installed: No API key required. """ +[transport] +type = "stdio" +command = "npx" +args = ["-y", "@modelcontextprotocol/server-puppeteer@latest"] + +[health_check] +interval_secs = 60 +unhealthy_threshold = 3 [i18n.zh] name = "Puppeteer" diff --git a/mcp/redis.toml b/mcp/redis.toml index c1b2f13..17fc8ca 100644 --- a/mcp/redis.toml +++ b/mcp/redis.toml @@ -5,6 +5,12 @@ category = "data" icon = "lucide:circle" tags = ["database", "cache", "key-value", "in-memory", "nosql"] +setup_instructions = """ +1. Obtain your Redis connection URL from your Redis hosting provider or local instance (e.g., redis://localhost:6379/0). +2. If authentication is required, include the password in the URL: redis://user:password@host:6379/0. +3. Paste the full connection URL into the REDIS_URL field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Obtain your Redis connection URL from your Redis hosting provider or local instance (e.g., redis://localhost:6379/0). -2. If authentication is required, include the password in the URL: redis://user:password@host:6379/0. -3. Paste the full connection URL into the REDIS_URL field above. -""" - - [i18n.zh] name = "Redis" description = "通过 MCP 服务器访问和管理 Redis 键值存储。" diff --git a/mcp/sentry.toml b/mcp/sentry.toml index 2a34fe8..40462a9 100644 --- a/mcp/sentry.toml +++ b/mcp/sentry.toml @@ -5,6 +5,12 @@ category = "devtools" icon = "lucide:bug" tags = ["monitoring", "errors", "debugging", "observability", "apm"] +setup_instructions = """ +1. Go to Sentry > Settings > Auth Tokens (https://sentry.io/settings/account/api/auth-tokens/) and create a new token with 'project:read' and 'event:read' scopes. +2. Find your organization slug in Sentry > Settings > General Settings. +3. Paste the auth token and organization slug into the fields above. +""" + [transport] type = "stdio" command = "npx" @@ -28,13 +34,6 @@ get_url = "" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to Sentry > Settings > Auth Tokens (https://sentry.io/settings/account/api/auth-tokens/) and create a new token with 'project:read' and 'event:read' scopes. -2. Find your organization slug in Sentry > Settings > General Settings. -3. Paste the auth token and organization slug into the fields above. -""" - - [i18n.zh] name = "Sentry" description = "通过 MCP 服务器监控与管理 Sentry 的错误追踪、Issue 与发布。" diff --git a/mcp/sequential-thinking.toml b/mcp/sequential-thinking.toml index 691ff0f..c7686a0 100644 --- a/mcp/sequential-thinking.toml +++ b/mcp/sequential-thinking.toml @@ -5,6 +5,13 @@ category = "ai" icon = "🔗" tags = ["reasoning", "thinking", "chain-of-thought", "planning", "logic"] +setup_instructions = """ +No API key required. + +Useful for complex reasoning tasks: multi-step math, logic puzzles, planning, debugging. +The agent can revise earlier steps as it learns more during the thought chain. +""" + [transport] type = "stdio" command = "npx" @@ -14,14 +21,6 @@ args = ["-y", "@modelcontextprotocol/server-sequential-thinking@latest"] interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -No API key required. - -Useful for complex reasoning tasks: multi-step math, logic puzzles, planning, debugging. -The agent can revise earlier steps as it learns more during the thought chain. -""" - - [i18n.zh] name = "Sequential Thinking" description = "结构化的多步推理工具 —— 在回答前把复杂问题拆成可修订的思维链。" diff --git a/mcp/slack.toml b/mcp/slack.toml index 799cec5..4f71df0 100644 --- a/mcp/slack.toml +++ b/mcp/slack.toml @@ -5,6 +5,12 @@ category = "communication" icon = "lucide:message-circle" tags = ["chat", "messaging", "team", "channels", "collaboration"] +setup_instructions = """ +1. Go to https://api.slack.com/apps and create a new Slack app (or use an existing one). Add the 'channels:read', 'chat:write', and 'users:read' bot token scopes. +2. Install the app to your workspace and copy the Bot User OAuth Token (starts with xoxb-). +3. Paste the bot token and your workspace Team ID into the fields above, or use the OAuth flow to authorize directly. +""" + [transport] type = "stdio" command = "npx" @@ -34,13 +40,6 @@ token_url = "https://slack.com/api/oauth.v2.access" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Go to https://api.slack.com/apps and create a new Slack app (or use an existing one). Add the 'channels:read', 'chat:write', and 'users:read' bot token scopes. -2. Install the app to your workspace and copy the Bot User OAuth Token (starts with xoxb-). -3. Paste the bot token and your workspace Team ID into the fields above, or use the OAuth flow to authorize directly. -""" - - [i18n.zh] name = "Slack" description = "通过 MCP 服务器访问 Slack 频道、消息与用户。" diff --git a/mcp/sqlite-mcp.toml b/mcp/sqlite-mcp.toml index c1b8b7a..592622d 100644 --- a/mcp/sqlite-mcp.toml +++ b/mcp/sqlite-mcp.toml @@ -5,6 +5,12 @@ category = "data" icon = "lucide:save" tags = ["database", "sql", "relational", "sqlite", "local", "embedded"] +setup_instructions = """ +1. Locate the SQLite database file you want to connect to on your local filesystem. +2. Enter the absolute path to the database file in the SQLITE_DB_PATH field above. +3. Ensure the file has appropriate read/write permissions for the LibreFang process. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Locate the SQLite database file you want to connect to on your local filesystem. -2. Enter the absolute path to the database file in the SQLITE_DB_PATH field above. -3. Ensure the file has appropriate read/write permissions for the LibreFang process. -""" - - [i18n.zh] name = "SQLite" description = "通过 MCP 服务器查询与管理本地 SQLite 数据库。" diff --git a/mcp/teams-mcp.toml b/mcp/teams-mcp.toml index 7593e85..ad96bed 100644 --- a/mcp/teams-mcp.toml +++ b/mcp/teams-mcp.toml @@ -5,6 +5,12 @@ category = "communication" icon = "lucide:users" tags = ["chat", "messaging", "microsoft", "enterprise", "collaboration"] +setup_instructions = """ +1. Click 'Connect' to initiate the OAuth flow with your Microsoft account. +2. Sign in with your Microsoft 365 account and grant LibreFang permission to read teams and read/write chats. +3. The connection will be established automatically after authorization. +""" + [transport] type = "stdio" command = "npx" @@ -20,13 +26,6 @@ token_url = "https://login.microsoftonline.com/common/oauth2/v2.0/token" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Click 'Connect' to initiate the OAuth flow with your Microsoft account. -2. Sign in with your Microsoft 365 account and grant LibreFang permission to read teams and read/write chats. -3. The connection will be established automatically after authorization. -""" - - [i18n.zh] name = "Microsoft Teams" description = "通过 MCP 服务器访问 Microsoft Teams 的频道、聊天与消息。" diff --git a/mcp/time.toml b/mcp/time.toml index 0ce6914..b734ddc 100644 --- a/mcp/time.toml +++ b/mcp/time.toml @@ -5,15 +5,6 @@ category = "productivity" icon = "🕐" tags = ["time", "timezone", "clock", "datetime", "conversion"] -[transport] -type = "stdio" -command = "uvx" -args = ["mcp-server-time", "--local-timezone", "UTC"] - -[health_check] -interval_secs = 60 -unhealthy_threshold = 3 - setup_instructions = """ No API key required. Requires `uv`: - macOS/Linux: `curl -LsSf https://astral.sh/uv/install.sh | sh` @@ -33,6 +24,14 @@ args = ["mcp-server-time", "--local-timezone", "Asia/Shanghai"] Supports all IANA timezone names (e.g. `America/New_York`, `Europe/London`, `Asia/Tokyo`). """ +[transport] +type = "stdio" +command = "uvx" +args = ["mcp-server-time", "--local-timezone", "UTC"] + +[health_check] +interval_secs = 60 +unhealthy_threshold = 3 [i18n.zh] name = "时间 & 时区" diff --git a/mcp/todoist.toml b/mcp/todoist.toml index 64c954b..299aa84 100644 --- a/mcp/todoist.toml +++ b/mcp/todoist.toml @@ -5,6 +5,12 @@ category = "productivity" icon = "lucide:check-circle" tags = ["tasks", "todo", "project-management", "productivity", "gtd"] +setup_instructions = """ +1. Open Todoist and go to Settings > Integrations > Developer (https://todoist.com/prefs/integrations). +2. Copy your API token from the 'API token' section. +3. Paste the token into the TODOIST_API_KEY field above. +""" + [transport] type = "stdio" command = "npx" @@ -21,13 +27,6 @@ get_url = "https://todoist.com/prefs/integrations" interval_secs = 60 unhealthy_threshold = 3 -setup_instructions = """ -1. Open Todoist and go to Settings > Integrations > Developer (https://todoist.com/prefs/integrations). -2. Copy your API token from the 'API token' section. -3. Paste the token into the TODOIST_API_KEY field above. -""" - - [i18n.zh] name = "Todoist" description = "通过 MCP 服务器管理 Todoist 的任务、项目与标签。" -- 2.54.0