HeadStarter MCP Server
Allows AI agents to create Notion pages with a title and content extracted from natural language prompts, utilizing the Notion API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@HeadStarter MCP ServerCreate a Notion page titled Reminders with content Call mom and buy groceries"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ง HeadStarter MCP Server โ Notion Automation
This MCP (Model Context Protocol) server gives AI-friendly access to Notion using natural language prompts.
Built using Next.js, TypeScript, and @notionhq/client, this project was created by Krushali Chauhan as part of an internship at HeadStarter.
๐ Add to Cursor (Optional)
To connect this server with Cursor or another AI tool, paste the following JSON into Cursor Settings โ MCP โ Add MCP Server:
json { "mcpServers": { "HeadStarter-MCP": { "url": "https://your-vercel-url.vercel.app/sse" } } } ๐งฉ Features โ Supported Actions Create Notion Pages via natural language
Extract and structure title and content
Real-time response via JSON
Coming soon: Google Docs & GitHub integration
๐งฐ Available Tools query-notion-page Creates a Notion page using extracted title and content.
Parameters: title (string): Title of the Notion page
content (string): Page content (plain text)
Example: json Copy code { "tool": "query-notion-page", "parameters": { "title": "To Do List", "content": "Gym, Sleep, Study" } } ๐ ๏ธ Setup ๐ Environment Variables (.env.local) env Copy code NOTION_SECRET=your-notion-secret NOTION_DATABASE_ID=your-database-id Create a Notion integration at https://www.notion.com/my-integrations
Share your Notion database with that integration
๐ฆ Installation
bash
Copy code
git clone https://github.com/your-username/headstarter-mcp-server.git
cd headstarter-mcp-server
npm install
npm run dev
๐งช Test Example (via curl)
bash
Copy code
curl -X POST http://localhost:3000/api/mcp
-H "Content-Type: application/json"
-d '{"prompt": "Create a Notion page titled To Do List and content Gym, Sleep, Study"}'
You will receive a pageId in the response, confirming the page was created in Notion.
โ๏ธ Technical Stack Layer Tech Used Frontend Next.js + TypeScript Backend API Route + Notion SDK Prompt Logic Basic parsing Hosting Vercel (recommended)
๐ฉโ๐ป Author Krushali Chauhan HeadStarter Intern | Sheridan College ๐จ๐ฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
Google NotebookLM via natural language: create notebooks, add sources (PDF, URL, YouTube) and ask gr
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Create, brand, publish and track client-ready pages from your AI tools.
Publish to self-hosted WordPress from AI agents: markdown, images, SEO, and Notion sync.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Notion workspaces through the Notion API. Provides tools to search, read, create, and update Notion pages and databases with real-time synchronization.2,184 npmMIT
- FlicenseBqualityDmaintenanceEnables interaction with Notion workspaces through the Notion API. Supports creating, retrieving, and updating Notion pages and their properties, allowing users to manage Notion content through natural language.4-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Notion workspaces through the Notion API, allowing users to search, read, comment on, and create pages and databases using natural language commands.152,494 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Notion databases and pages via the Notion API. Allows searching, reading, and writing to Notion through natural language.-