Cover image
Try Now
2025-03-05

Dejar que Claude Code desarrolle sus propias herramientas MCP :)

3 years

Works with Finder

1

Github Watches

18

Github Forks

98

Github Stars

Claude Code with MCP Servers

Project Overview

This project enables Claude to use Model Context Protocol (MCP) servers for enhanced capabilities, including web search, GitHub integration, file operations, database access, and communication tools.

Key Concepts

  • MCP (Model Context Protocol): A standardized way for LLMs to interact with external tools and services
  • Reference MCP Servers: Located at $HOME/dev/mcp-servers-repo (a clone of github.com/modelcontextprotocol/servers)
  • Local MCP Servers: Our own implementations located at $HOME/dev/claude-code/mcp-servers/

The reference servers should be treated as read-only. Our local servers will be our own implementations, some based on reference servers but with extensions and improvements.

Directory Structure

  • docs/ - Reference documentation
  • mcp-servers/ - Our local MCP server implementations
  • archive/ - Storage for deprecated code components
  • data/ - Storage for server data (SQLite DB, memory files, etc.)
  • scripts/ - Utility scripts for setup and testing
  • src/ - Python modules and utilities

MCP Server Configuration

Configuration is handled by the claude-mcp script at the project root. This script:

  1. Sets up environment variables for server paths
  2. Registers servers with Claude using the claude mcp add command
  3. Uses both package-based servers (from npm/pypi) and local implementations
# Script path
/Users/williambrown/dev/claude-code/claude-mcp

# List all registered servers
claude mcp list

Available MCP Servers

Server Purpose Source
brave-search Web search capabilities npm package
github GitHub repository operations npm package
filesystem Local file system operations npm package
fetch Web page fetching PyPI package
memory Knowledge graph for persistent memory npm package
sqlite Database operations Local implementation
slack Slack communication npm package
linear Linear issue tracking npm package
e2b Code execution sandbox npm package

Required Environment Variables

  • BRAVE_API_KEY - For brave-search server
  • GITHUB_TOKEN - For GitHub operations
  • LINEAR_API_KEY - For Linear issue tracking
  • SLACK_BOT_TOKEN and SLACK_TEAM_ID - For Slack communication
  • E2B_API_KEY - For code execution sandbox
  • ALLOWED_PATHS - For filesystem access control (defaults to project root)

Development Approach

We're taking a two-pronged approach to MCP servers:

  1. Using Existing Servers: Leveraging established MCP servers via npm/PyPI packages for standard functionality
  2. Building Custom Servers: Developing our own implementations for extended functionality and experimentation

All legacy or unmaintained code is moved to the archive/ directory to keep the main codebase clean and focused.

Development Guidelines

Package Management

  • Use uv for Python package management (NEVER pip)
  • Installation: uv add package
  • Running tools: uv run tool
  • TypeScript: Use npm for package management

Code Quality

  • Type hints required for all Python and TypeScript code
  • Public APIs must have docstrings
  • Functions must be focused and small
  • Line length: 88 chars maximum
  • Follow PEP standards for Python
  • Follow existing patterns for TypeScript

Testing

  • Framework: uv run pytest
  • Async testing: use anyio, not asyncio
  • Coverage: test edge cases and errors
  • New features require tests
  • Bug fixes require regression tests

Coding Principles

  • Use clean, modular abstractions
  • Avoid code duplication
  • Ensure backward compatibility
  • Document all extensions and differences from reference implementations
  • Strive for minimal clean code that's easily maintained

Git Workflow

  • Develop in separate branches, merge to main quickly
  • For user-reported fixes: git commit --trailer "Reported-by:<user>"
  • For GitHub issues: git commit --trailer "Github-Issue:#<number>"
  • NEVER mention co-authored-by or tools used to create commits/PRs

MCP Server Development Guidelines

When developing our own local MCP servers:

  1. Reference Implementation First:

    • Study the original server in MCP_REPO_PATH
    • Understand its API, behavior, and implementation details
    • Document the key functions and features
  2. Implementation Strategy:

    • Start by mimicking the reference server exactly
    • Once basic functionality is working, add extensions
    • Ensure backward compatibility
  3. Code Quality:

    • Use proper typing (TypeScript/Python type hints)
    • Add comprehensive documentation
    • Implement proper error handling
    • Follow consistent naming conventions
    • Write tests for all functionality

For detailed information about project standards, code style, and specific server implementations, refer to CLAUDE.md.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

    Reviews

    4 (1)
    Avatar
    user_wZhP30Io
    2025-04-17

    I've been using claude-code-mcp and it's fantastic! It's a well-designed tool by willccbb that simplifies my coding tasks effortlessly. The clear documentation and responsive performance make it a must-have for any developer. Highly recommend checking it out at https://github.com/willccbb/claude-code-mcp!