A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sweir1/notion-server below:

GitHub - sweir1/notion-server

A Model Context Protocol (MCP) server that provides seamless integration with Notion, featuring enhanced markdown support, comprehensive database operations, and improved error handling.

Enhanced Markdown Support Comprehensive Database Support
  1. Clone the repository:
git clone https://github.com/sweir1/notion-server.git
cd notion-server
  1. Install dependencies:
  1. Set your Notion API key:
export NOTION_API_KEY=your_notion_api_key_here
  1. Build the server:
const result = await notion.create_page({
  parentPageId: "your_parent_page_id",
  title: "My Page",
  content: "# Welcome\nThis is a test page with markdown support.\n\n## Code Example\n```javascript\nconsole.log('Hello World');\n```"
});
const result = await notion.create_page({
  parentPageId: "your_database_id",
  properties: {
    Name: {
      title: [{ text: { content: "My Item" } }]
    },
    Status: {
      select: { name: "In Progress" }
    },
    Priority: {
      number: 1
    }
  },
  content: "# Details\nThis is a database item with properties."
});
const result = await notion.query_database({
  databaseId: "your_database_id",
  filter: {
    property: "Status",
    select: {
      equals: "In Progress"
    }
  },
  sort: {
    property: "Priority",
    direction: "descending"
  }
});

This is a significantly enhanced fork of v-3/notion-server with the following improvements:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4