Overview
What is Notion MCP Server?
This repository contains a small server and Expo frontend. The frontend uses a configurable API base URL so that requests can be directed to different backends.
How to use Notion MCP Server?
Configure the API base URL by setting the EXPO_PUBLIC_API_BASE_URL environment variable. If the variable is not set, the frontend falls back to http://localhost:3001. For development, create a .env file and set the value. For production, set the environment variable when building or deploying the Expo app.
Key features of Notion MCP Server
- Small server and Expo frontend.
- Configurable API base URL via environment variable.
- Supports development and production deployment modes.
Use cases of Notion MCP Server
—
FAQ from Notion MCP Server
How do I configure the API base URL?
Set the EXPO_PUBLIC_API_BASE_URL environment variable. The frontend reads it from process.env.EXPO_PUBLIC_API_BASE_URL.
What is the default API base URL?
If EXPO_PUBLIC_API_BASE_URL is not set, the default is http://localhost:3001.
How do I set the API URL in development vs. production?
In development, create a .env file and set EXPO_PUBLIC_API_BASE_URL=http://localhost:3001. In production, set the variable to your production API URL (e.g., https://api.example.com) when building or deploying the Expo app.