发现优秀的 MCP 服务器

通过 MCP 服务器扩展您的代理能力,拥有 10,066 个能力。

全部10,066
Textwell MCP Server

Textwell MCP Server

将 Textwell 与模型上下文协议集成,以通过 GitHub Pages 桥梁促进文本操作,例如写入和附加文本。

本地
JavaScript
Scrapbox MCP Server

Scrapbox MCP Server

一个简单的基于 TypeScript 的 MCP 服务器,它实现了一个笔记系统,允许用户创建、列出和通过 Claude 生成文本笔记的摘要。

本地
JavaScript
Chrome Tools MCP Server

Chrome Tools MCP Server

一个 MCP 服务器,它提供通过 Chrome 开发者工具协议与 Chrome 交互的工具,从而能够远程控制 Chrome 标签页来执行 JavaScript、捕获屏幕截图、监控网络流量等等。

本地
TypeScript
Cosense MCP Server

Cosense MCP Server

一个 MCP 服务器,允许 Claude 访问来自 Cosense 项目的页面,支持公共和私有项目,并可选择使用 SID 认证。

本地
JavaScript
Draw Things MCP

Draw Things MCP

一个集成,允许 Cursor AI 通过 Draw Things API 使用自然语言提示生成图像。

本地
JavaScript
MCP Source Tree Server

MCP Source Tree Server

Okay, I understand. Here's how you can generate a JSON file tree from a specified directory's `src` folder, respecting `.gitignore` rules, suitable for quick project structure review in Claude. I'll provide a Python script to accomplish this. **Explanation:** 1. **`gitignore_parser` Library:** We'll use the `gitignore_parser` library to correctly interpret `.gitignore` files. This is crucial for accurately reflecting what files should be excluded. If you don't have it, you'll need to install it: `pip install gitignore_parser` 2. **`os.walk()`:** This function recursively traverses the directory tree. 3. **`.gitignore` Handling:** The script reads and parses `.gitignore` files in each directory it encounters. 4. **JSON Output:** The script constructs a JSON representation of the file tree. **Python Script:** ```python import os import json import gitignore_parser def generate_file_tree_json(root_dir, output_file="file_tree.json"): """ Generates a JSON file tree from the 'src' folder of a specified directory, respecting '.gitignore' rules. Args: root_dir (str): The root directory of the project. output_file (str): The name of the output JSON file. Defaults to "file_tree.json". """ src_dir = os.path.join(root_dir, "src") if not os.path.exists(src_dir): print(f"Error: 'src' directory not found in {root_dir}") return def build_tree(directory, ignore_checker): """Recursively builds the file tree.""" tree = {} for item in os.listdir(directory): full_path = os.path.join(directory, item) relative_path = os.path.relpath(full_path, src_dir) # Path relative to src if ignore_checker(relative_path): continue # Skip ignored files/directories if os.path.isfile(full_path): tree[item] = None # Represent files as None elif os.path.isdir(full_path): tree[item] = build_tree(full_path, ignore_checker) return tree def create_ignore_checker(root_directory): """Creates a function to check if a file/directory is ignored based on .gitignore files.""" ignore_files = [] for root, _, files in os.walk(root_directory): if '.gitignore' in files: ignore_files.append(os.path.join(root, '.gitignore')) ignore_list = [] for ignore_file in ignore_files: ignore_list.append(gitignore_parser.parse(ignore_file)) def is_ignored(path): for ignore in ignore_list: if ignore(os.path.join(src_dir, path)): # Check against the full path return True return False return is_ignored ignore_checker = create_ignore_checker(src_dir) file_tree = build_tree(src_dir, ignore_checker) with open(output_file, "w") as f: json.dump(file_tree, f, indent=4) print(f"File tree JSON saved to {output_file}") # Example Usage: if __name__ == "__main__": # Replace with the actual root directory of your project project_root = "/path/to/your/project" # <---- CHANGE THIS! generate_file_tree_json(project_root) ``` **How to Use:** 1. **Install `gitignore_parser`:** `pip install gitignore_parser` 2. **Replace Placeholder:** In the `if __name__ == "__main__":` block, replace `"/path/to/your/project"` with the actual absolute path to the root directory of your project (the directory containing the `src` folder). 3. **Run the Script:** Execute the Python script. It will create a file named `file_tree.json` in the same directory as the script. 4. **Upload to Claude:** Upload the `file_tree.json` file to Claude. **Example `file_tree.json` Output (Illustrative):** ```json { "components": { "Button.js": null, "Input.js": null }, "utils": { "api.js": null, "helpers.js": null }, "App.js": null, "index.js": null } ``` **Key Improvements and Considerations:** * **`.gitignore` Parsing:** Uses `gitignore_parser` for accurate `.gitignore` handling. This is *essential* for real-world projects. * **Error Handling:** Includes a check to ensure the `src` directory exists. * **Relative Paths:** Uses `os.path.relpath` to store paths relative to the `src` directory in the JSON, making the output more concise and readable. * **Clearer Structure:** Represents files as `null` in the JSON tree, which is a common and easily understood convention. * **Example Usage:** Provides a clear example of how to use the script. * **Comments:** Includes comments to explain the code. * **`create_ignore_checker` Function:** This function encapsulates the logic for creating the ignore checker, making the code more modular and readable. It finds all `.gitignore` files within the `src` directory and its subdirectories. * **Full Path Checking:** The `is_ignored` function now checks the full path (relative to the `src` directory) against the `.gitignore` rules, ensuring accurate matching. * **Modularity:** The code is broken down into functions for better organization and reusability. **How to Use with Claude:** 1. **Upload the JSON:** Upload the generated `file_tree.json` file to Claude. 2. **Prompt Claude:** Craft a prompt that asks Claude to analyze the file structure. For example: * "Here is a JSON representation of the file structure of a project's `src` directory. Can you identify the main components and utilities?" * "Analyze this file structure and suggest potential areas for refactoring." * "Based on this file structure, what design patterns might be in use?" * "This JSON represents the file tree of a React project. Identify the likely component structure." The more specific your prompt, the better the results you'll get from Claude. You can also ask Claude to generate diagrams or visualizations based on the JSON data.

本地
Python
ticktick-mcp-server

ticktick-mcp-server

一个 TickTick 的 MCP 服务器,可以直接通过 Claude 和其他 MCP 客户端与您的 TickTick 任务管理系统进行交互。

本地
Python
ConsoleSpy

ConsoleSpy

一个工具,用于捕获浏览器控制台日志,并通过模型上下文协议 (MCP) 使其在 Cursor IDE 中可用。

本地
JavaScript
Everything Search MCP Server

Everything Search MCP Server

提供与 Everything 搜索器的集成,通过模型上下文协议实现强大的文件搜索功能,并提供高级搜索选项,如正则表达式、区分大小写和排序。

本地
JavaScript
Gel Database MCP Server

Gel Database MCP Server

一个基于 TypeScript 的 MCP 服务器,它使 LLM 代理能够通过自然语言与 Gel 数据库交互,并提供工具来学习数据库模式、验证和执行 EdgeQL 查询。

本地
TypeScript
Deskaid

Deskaid

一个 MCP 服务器,提供用于在本地文件系统上读取、写入和编辑文件的工具。

本地
Python
Smart Photo Journal MCP Server

Smart Photo Journal MCP Server

这个 MCP 服务器旨在帮助用户通过位置、标签和人物搜索和分析他们的照片库,提供诸如照片分析和模糊匹配等功能,以增强照片管理。

本地
Python
Model Control Plane (MCP) Server

Model Control Plane (MCP) Server

一个服务器实现,通过 REST API 端点,为 OpenAI 服务、Git 仓库分析和本地文件系统操作提供统一的接口。

本地
Python
MCP Pytest Server

MCP Pytest Server

一个 Node.js 服务器,它与 pytest 集成,以促进 ModelContextProtocol (MCP) 服务工具的使用,从而实现测试执行记录和环境跟踪。

本地
JavaScript
Blender MCP Server

Blender MCP Server

一个模型上下文协议服务器,允许管理和执行 Blender Python 脚本,使用户能够通过自然语言界面在无头 Blender 环境中创建、编辑和运行脚本。

本地
Python
kubernetes-mcp-server

kubernetes-mcp-server

一个强大且灵活的 Kubernetes MCP 服务器实现,支持 OpenShift。

本地
Go
MCP Documentation Service

MCP Documentation Service

一个模型上下文协议的实现,使 AI 助手能够与 Markdown 文档文件进行交互,提供文档管理、元数据处理、搜索和文档健康分析等功能。

本地
JavaScript
Node Omnibus MCP Server

Node Omnibus MCP Server

一个综合性的模型上下文协议服务器,提供先进的 Node.js 开发工具,用于自动化项目创建、组件生成、包管理和文档编写,并提供人工智能驱动的辅助功能。

本地
JavaScript
mcp-installer

mcp-installer

这个服务器可以帮你安装其他的 MCP 服务器。安装好它之后,你可以让 Claude 为你安装托管在 npm 或 PyPi 上的 MCP 服务器。需要分别安装 npx 和 uv 来支持 Node 和 Python 服务器。

本地
JavaScript
MCP-Python

MCP-Python

一个服务器,它允许通过 Claude Desktop 使用自然语言查询与 PostgreSQL、MySQL、MariaDB 或 SQLite 数据库进行交互。

本地
Python
Chess Analysis Assistant

Chess Analysis Assistant

使用 Stockfish 帮助您分析国际象棋局面并获得专业评估。

本地
TypeScript
Spotify MCP Server

Spotify MCP Server

一个将 Claude 与 Spotify 连接的服务器,允许用户控制播放、搜索内容、获取关于歌曲/专辑/艺术家/播放列表的信息,以及管理 Spotify 队列。

本地
Python
MCP Apple Notes

MCP Apple Notes

一个模型上下文协议(Model Context Protocol)服务器,它能让你对你的 Apple Notes 进行语义搜索和 RAG(检索增强生成),从而允许像 Claude 这样的 AI 助手在对话过程中搜索和引用你的笔记。

本地
TypeScript
mcp-minecraft

mcp-minecraft

允许人工智能模型通过一个机器人来观察和与 Minecraft 世界互动。

本地
TypeScript
@kazuph/mcp-obsidian

@kazuph/mcp-obsidian

用于 Claude Desktop 的 Obsidian vault 连接器 - 支持使用模型上下文协议 (MCP) 读取和写入 Markdown 笔记

本地
JavaScript
MCP Word Counter

MCP Word Counter

一个模型上下文协议服务器,提供用于分析文本文档的工具,包括字数和字符数统计。该服务器通过暴露简单的文档统计功能,帮助大型语言模型(LLM)执行文本分析任务。

本地
JavaScript
Speech MCP

Speech MCP

一个 Goose MCP 扩展程序,提供与现代音频可视化的语音交互功能,允许用户通过语音而非文本与 Goose 进行交流。

本地
Python
MCP-IDB

MCP-IDB

模型上下文协议 (MCP) 与 Facebook 的 iOS 开发桥 (idb) 集成,通过自然语言实现自动化的 iOS 设备管理和测试执行。

本地
JavaScript
my-server MCP Server

my-server MCP Server

一个基于 TypeScript 的 MCP 服务器,使用户能够管理文本笔记并生成摘要,同时展示了关键的 MCP 概念,例如资源表示和 LLM 集成。

本地
JavaScript
Harvest Natural Language Time Entry MCP Server

Harvest Natural Language Time Entry MCP Server

为 Harvest 启用自然语言时间跟踪和报告,包括自动请假申请、项目/任务匹配和日期解析。

本地
JavaScript