Token导航 LogoToken导航TokenDH.com
MCP Hub Ricardo logo
开发工具stdio官方级别未说明来源级核验

MCP Hub Ricardo

MCP Server

MCP Hub Personal是一个本地服务器,用于集成Gmail、Google Calendar、Google Drive、VSCode和GitHub等日常工具,支持与Github Copilot、Codex和Claude for Desktop等客户端交互。

工具数

0

提示词数

0

GitHub Stars

2

资源数

0
本地服务器开发工具PythonClaudeClaude DesktopClaudeVS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

Ricardouchub

提供方

Ricardouchub

最后核验

2026/5/17 20:20

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

uv run mcp dev mcp_hub/server.py

详细介绍

README English

MCP Hub Personal

Status Python uv FastMCP

VSCode Codex Claude

MCP Server personal para integrar herramientas de uso cotidiano (Gmail, Google Calendar, Drive, VSCode y GitHub) con clientes compatibles como Github Copilot, Codex y Claude for Desktop.


Descripcion

Este proyecto implementa un MCP Server multiproposito que actua como hub local para interactuar con los siguientes servicios:

  • Gmail: listar correos, leer contenido, enviar mensajes, gestionar labels y adjuntar archivos.
  • Google Calendar: listar eventos, crear/editar/eliminar reuniones y exportarlas a .ics.
  • Google Drive: buscar, crear, actualizar, descargar, eliminar y compartir archivos.
  • VSCode Local: abrir archivos/carpetas, gestionar extensiones, buscar texto y ejecutar comandos o git desde la CLI de VSCode.
  • GitHub: listar repos, crear issues, administrar pull requests, ramas, commits y releases.

Todo el servidor esta construido con el framework FastMCP, sin depender de Docker ni de servicios externos adicionales.


Lista de Tools

ServicioTools
Gmailgmail_list_unread, gmail_search_messages, gmail_get_message, gmail_modify_message, gmail_mark_as_read, gmail_send_message
Calendarcalendar_upcoming, calendar_create_event, calendar_update_event, calendar_delete_event, calendar_export_event
Drivedrive_search, drive_create_file, drive_update_file, drive_download_file, drive_delete_file, drive_share_file
GitHubgithub_list_repos, github_create_issue, github_list_pull_requests, github_create_pull_request, github_merge_pull_request, github_create_branch, github_commit_file, github_list_releases, github_create_release
VSCodevscode_open, vscode_open_file, vscode_install_ext, vscode_list_extensions, vscode_search_text, vscode_run_command, vscode_git_status

Estructura del repositorio

mcp-hub-ricardo/
├── mcp_hub/
│   ├── auth/
│   │   └── google_auth.py          # Manejo de OAuth2 para las APIs de Google
│   ├── tools/
│   │   ├── calendar_tool.py        # Endpoints de Calendar
│   │   ├── drive_tool.py           # Endpoints de Drive
│   │   ├── gmail_tool.py           # Endpoints de Gmail
│   │   ├── github_tool.py          # Integracion con la API de GitHub
│   │   └── vscode_tool.py          # Acciones locales sobre VSCode
│   ├── core/
│   │   └── mcp.py                  # Instancia central de FastMCP
│   └── server.py                   # Punto de entrada del servidor MCP
├── secrets/
│   └── credentials.google.json     # Credenciales OAuth2 (crear manualmente)
├── data/
│   └── token.google.json           # Token generado tras la autenticacion inicial
├── pyproject.toml
└── .env.example

Requisitos

  • Python 3.10+
  • Node.js 18+ (solo para el Inspector MCP opcional)
  • Cuenta de Google Cloud con credenciales OAuth2
  • Token personal de GitHub con scope repo
  • Visual Studio Code con Copilot / Codex instalados

Instalacion

git clone https://github.com/Ricardouchub/mcp-hub-ricardo.git
cd mcp-hub-ricardo
uv sync
uv pip install -e .

Autenticacion con Google

  1. Crea credenciales OAuth2 desde Google Cloud Console.
  2. Descarga el archivo credentials.json.
  3. Guardalo como secrets/credentials.google.json.
  4. Ejecuta una tool por primera vez (por ejemplo calendar_upcoming) para iniciar el flujo de autorizacion.
  5. Al finalizar, se guardara un token persistente en data/token.google.json (si cambias scopes, borra este archivo y repite el flujo).

Ejecucion local

uv run mcp dev mcp_hub/server.py

Esto abre el Inspector MCP para probar herramientas y validar respuestas.

Modo produccion (STDIO):

uv run mcp run stdio mcp_hub/server.py

Integración a clientes

1) Codex

Codex lee la configuración MCP desde ~/.codex/config.toml

~/.codex/config.toml

[mcp_servers.mcp_hub_ricardo]
# Windows:
command = "PROJECT_ROOT/.venv/Scripts/mcp.exe"
# macOS/Linux:
# command = "PROJECT_ROOT/.venv/bin/mcp"

args = ["run", "--transport", "stdio", "PROJECT_ROOT/mcp_hub/server.py"]
cwd  = "PROJECT_ROOT"

[mcp_servers.mcp_hub_ricardo.env]
GOOGLE_CREDENTIALS_PATH = "PROJECT_ROOT/secrets/credentials.google.json"
GOOGLE_TOKEN_PATH       = "PROJECT_ROOT/data/token.google.json"
GOOGLE_SCOPES           = "https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.send https://www.googleapis.com/auth/calendar https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.metadata.readonly"
GITHUB_TOKEN            = "GITHUB_TOKEN"

2) Claude Desktop

Claude Desktop usa %APPDATA%/Claude/claude_desktop_config.json (Windows) o ~/Library/Application Support/Claude/claude_desktop_config.json (macOS). Tras editar, reinicia Claude Desktop.

claude_desktop_config.json

{
  "mcpServers": {
    "mcp-hub-ricardo": {
      "command": "PROJECT_ROOT/.venv/Scripts/mcp.exe",
      "args": [
        "run",
        "--transport",
        "stdio",
        "PROJECT_ROOT/mcp_hub/server.py"
      ],
      "cwd": "PROJECT_ROOT",
      "env": {
        "GOOGLE_CREDENTIALS_PATH": "PROJECT_ROOT/secrets/credentials.google.json",
        "GOOGLE_TOKEN_PATH": "PROJECT_ROOT/data/token.google.json",
        "GOOGLE_SCOPES": "https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.send https://www.googleapis.com/auth/calendar https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.metadata.readonly",
        "GITHUB_TOKEN": "GITHUB_TOKEN"
      }
    }
  }
}

3) Github Copilot

Abre el Command Palette y ejecuta: MCP: Open User Configuration

mcp.json

{
  "servers": {
    "mcp-hub-ricardo": {
      "type": "stdio",
      "command": "PROJECT_ROOT/.venv/Scripts/mcp.exe",
      "args": ["run", "--transport", "stdio", "PROJECT_ROOT/mcp_hub/server.py"],
      "cwd": "PROJECT_ROOT",
      "env": {
        "GOOGLE_CREDENTIALS_PATH": "PROJECT_ROOT/secrets/credentials.google.json",
        "GOOGLE_TOKEN_PATH": "PROJECT_ROOT/data/token.google.json",
        "GOOGLE_SCOPES": "https://www.googleapis.com/auth/gmail.readonly https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.send https://www.googleapis.com/auth/calendar https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.metadata.readonly",
        "GITHUB_TOKEN": "GITHUB_TOKEN"
      }
    }
  }
}

Pasos en VS Code:

  1. Asegúrate de tener VS Code actualizado y acceso a Copilot.
  2. Copilot Chat, haz clic en la herramienta de selección de tools y habilita las herramientas del servidor mcp-hub-ricardo.

Stack

  • Python 3.10+ con uv para gestion de entorno y ejecucion.
  • FastMCP como framework MCP.
  • Google API Client (google-api-python-client, google-auth-oauthlib) para Gmail/Calendar/Drive.
  • para interacciones con GitHub.

Ejemplo de uso

Copilot (VSCode)

Claude (desktop)

Codex (VSCode)

MCP Inspector


Autor

Ricardo Urdaneta

LinkedIn |

目录标签

目录标签

本地服务器开发工具PythonClaude工具集成本地部署Google服务自动化

支持客户端

Claude DesktopClaudeVS Code

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

token

运行时(runtime,运行环境)

Python

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiotoken部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP