@cdhdd/mcp-tools
v0.1.1
Published
MCP (Model Context Protocol) servers for developers - filesystem, GitHub, and npm search tools for AI IDEs (Claude Code, Cursor, Windsurf)
Maintainers
Readme
@cdhdd/mcp-tools - MCP Servers for Developer Workflows
MCP (Model Context Protocol) servers that give AI coding assistants (Claude Code, Cursor, Windsurf, etc.) direct access to your filesystem, GitHub, and npm registry.
🚀 Quick Start
# Install all tools globally
npm install -g @cdhdd/mcp-tools
# Or use directly with npx
npx @cdhdd/mcp-tools filesystem
npx @cdhdd/mcp-tools github
npx @cdhdd/mcp-tools search📦 Included Servers
1. Filesystem Server (mcp-filesystem)
Let AI assistants read, write, and search files on your local machine.
# Run with current directory access
mcp-filesystem
# Restrict to specific directories
mcp-filesystem /path/to/project /path/to/docsTools:
read_file- Read file contentswrite_file- Create or overwrite fileslist_directory- Browse directoriessearch_files- Search for files by patternget_file_info- Get file metadata
2. GitHub Server (mcp-github)
Let AI assistants interact with GitHub repositories, issues, and code.
# Set your GitHub token for authenticated access
export GITHUB_TOKEN=ghp_xxxxxxxxxxxx
# Start the server
mcp-githubTools:
get_repo- Repository info and statssearch_repos- Search GitHub repositorieslist_files- Browse repository filesread_file_from_github- Read files from GitHubget_readme- Get README contentlist_issues- List repository issuessearch_code- Search code across GitHub
3. Search Server (mcp-search)
Let AI assistants search npm registry for packages and documentation.
mcp-searchTools:
search_npm- Search npm packagesnpm_package_info- Package detailsnpm_downloads- Download statisticssearch_npm_dependencies- Find dependencies
🔧 Configuration with AI IDEs
Claude Code
{
"mcpServers": {
"mcp-filesystem": {
"command": "npx",
"args": ["@cdhdd/mcp-tools", "filesystem", "/path/to/project"]
},
"mcp-github": {
"command": "npx",
"args": ["@cdhdd/mcp-tools", "github"],
"env": {
"GITHUB_TOKEN": "ghp_xxxxxxxxxxxx"
}
}
}
}Cursor
Settings → Features → MCP Servers → Add new:
Name: Filesystem
Type: command
Command: npx @cdhdd/mcp-tools filesystem /path/to/workspaceWindsurf
Add to .windsurf/config.json:
{
"mcpServers": {
"mcp-search": {
"command": "npx",
"args": ["@cdhdd/mcp-tools", "search"]
}
}
}🛡️ Security
- Filesystem server only allows access to explicitly permitted directories
- GitHub server uses token-based authentication (read-only by default)
- Search server only makes outbound HTTP requests (no local access)
📝 License
MIT © XiaoJia AI Tools
