I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

MCP-notion
Ce projet implémente un serveur MCP (Protocole de contexte de modèle) qui permet aux modèles de langage tels que Claude d'interagir directement avec la notion. Il sert d'interface standardisée entre LLMS et l'API de notion, éliminant le besoin de couches intermédiaires telles que Supabase.
1
Github Watches
0
Github Forks
0
Github Stars
MCP Notion
Servidor MCP (Model Context Protocol) para integración con Notion API. Proporciona endpoints HTTP para interactuar con bases de datos y páginas de Notion.
🚀 Características
- Búsqueda en Notion
- Obtención de páginas y contenido
- Consulta de bases de datos
- Soporte para CORS
- Manejo de errores robusto
- Logging integrado
📋 Requisitos Previos
- Rust (última versión estable)
- Token de API de Notion
- Base de datos o páginas en Notion para interactuar
🔧 Instalación
- Clonar el repositorio:
git clone https://github.com/GsusFC/MCP-Notion.git
cd MCP-Notion
- Configurar variables de entorno:
cp .env.example .env
# Editar .env y añadir tu NOTION_API_KEY
- Compilar y ejecutar:
cargo build
cargo run
El servidor se iniciará en http://localhost:3004
por defecto.
🔌 API Endpoints
Búsqueda
POST /api/search
Content-Type: application/json
{
"query": "término de búsqueda",
"limit": 10
}
Obtener Página
GET /api/get_page/{page_id}
Obtener Contenido de Página
GET /api/get_page_content/{page_id}
Consultar Base de Datos
POST /api/query_database
Content-Type: application/json
{
"database_id": "tu-database-id",
"page_size": 100
}
⚙️ Configuración
Variables de entorno disponibles:
-
NOTION_API_KEY
: Token de API de Notion (requerido) -
MCP_PORT
: Puerto del servidor (default: 3004) -
RUST_LOG
: Nivel de logging (default: info)
🔍 Ejemplos de Uso
Búsqueda Simple
curl -X POST http://localhost:3004/api/search \
-H "Content-Type: application/json" \
-d '{"query": "", "limit": 5}'
Consultar Base de Datos
curl -X POST http://localhost:3004/api/query_database \
-H "Content-Type: application/json" \
-d '{"database_id": "tu-database-id", "page_size": 10}'
🤝 Contribuir
- Fork el proyecto
- Crear una rama para tu feature (
git checkout -b feature/AmazingFeature
) - Commit tus cambios (
git commit -m 'Add some AmazingFeature'
) - Push a la rama (
git push origin feature/AmazingFeature
) - Abrir un Pull Request
📝 Licencia
Este proyecto está bajo la Licencia MIT - ver el archivo LICENSE para más detalles.
✨ Agradecimientos
- Equipo de Notion por su excelente API
- Comunidad de Rust por las herramientas y librerías
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Reviews

user_MrCXegbn
As a dedicated user of MCP, I am thoroughly impressed with MCP-Notion. Developed by the talented GsusFC, this tool effortlessly integrates with my workflow and enhances productivity. The intuitive interface and seamless functionality have made organizing my tasks and projects a breeze. Highly recommend it to anyone looking for an efficient way to manage their notes and ideas. Check it out on GitHub to see how it can transform your productivity!