Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/notion-mcp

README.md

47 lines · 1.2 KB · Markdown

@kody/notion-mcp

Intent

Wrap the official Notion MCP server (kody.mcp["notion"]) so onboarding is add-server-and-authorize. This package is the MCP helper. The existing OAuth/API package @kody/notion stays separate.

This listing is meant to be forked. After you fork, connect your Notion workspace. Do not treat the live @kody/notion-mcp connection as yours.

Share this listing as https://kody.codes/@kody/notion-mcp

Required setup

Add the official Notion MCP server, then authorize it.

await kody.mcp_server_add({
  name: 'notion',
  url: 'https://mcp.notion.com/mcp',
})

Open the returned authUrl. Helpers then call kody.mcp["notion"]. The MCP server name stays notion. The -mcp suffix is only the Kody package identity.

Do not register an OAuth app for the one-click path. For OAuth or API-key helpers, use @kody/notion.

Exports

  • kody:@kody/notion-mcp — package overview and MCP setup
  • kody:@kody/notion-mcp/smoke-test — verify MCP (or report setup)
  • kody:@kody/notion-mcp/search

Example

import searchNotion from 'kody:@kody/notion-mcp/search'

export default async function main() {
  return searchNotion()
}