An MCP server that connects to Notion databases containing AI prompts, allowing you to manage, search, and retrieve prompts efficiently across multiple prompt collections.
The Prompt Book Server is a powerful tool that helps you organize and access your AI prompts stored in Notion databases. It provides the following key capabilities:
The server acts as a bridge between your AI tools and your Notion-based prompt collections, making it easy to maintain a centralized library of prompts that can be accessed from various coding and AI tools.
Tool Name | Description |
---|---|
list_prompt_books | Lists all configured prompt books |
create_prompt_book_config | Adds a new prompt book configuration |
remove_prompt_book_config | Removes a prompt book configuration |
activate_prompt_book | Sets a prompt book as active |
rename_prompt_book | Renames a prompt book configuration |
create_prompt_database | Creates a new prompt database in Notion and adds it to the configuration |
copy_prompt | Copies a prompt from one book to another |
Tool Name | Description |
---|---|
list_prompts | Lists all prompts in the active database |
search_prompts_by_title | Searches prompts by title |
get_prompts_by_tag | Gets prompts filtered by a specific tag |
get_prompts_by_type | Gets prompts filtered by a specific type |
read_prompt | Reads the full content of a specific prompt |
list_all_types | Lists all unique prompt types in the database |
list_all_tags | Lists all unique tags used in the database |
add_prompt | Adds a new prompt to the database |
update_prompt | Updates an existing prompt in the database |
Add the server to your MCP configuration file. The location depends on your MCP client:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
~/.codeium/windsurf/mcp_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"prompt-book-server": {
"command": "npx",
"args": [
"-y",
"@piccollage/prompt-book-mcp-server"
],
"disabled": false,
"alwaysAllow": []
}
}
}
Here are some example prompts you can use to interact with the Prompt Book Server:
List all my prompt books.
Show me all prompts in the prompt book.
Search for prompts related to "GPUImage" in my prompt book.
Show me all prompts with the tag "PicCollage".
List all prompts of type "Coding"
What types of prompts are available in my prompt book?
Get the prompt about idea evaluation from the prompt book.
Follow the instructions in it and then verify the following idea for me:
describe your idea
Activate the engineering prompt book.
Copy the GPUImage porting prompt from my private book to the engineering book.
Add a new prompt titled "React Component Generator" with type "Coding" and tags ["React", "Frontend"].
The prompt should include ....
......
.....
Update the "React Component Generator" prompt to include TypeScript support.
Please create a very detailed prompt to instruct LLM agents to convert Android XML UI implementations into Compose UI elements or screens. Put that prompt to the prompt book.
You have two main options for adding a new prompt book:
If you already have a Notion database with prompts, you can connect it directly:
create_prompt_book_config
tool:Add a new prompt book with the following details:
- Name: "My Team Prompts"
- Notion token: "secret_abc123..."
- Notion database ID: "1a748be2b63280988d9bc5f89918431d"
If you want to create a fresh prompt database with the correct schema:
create_prompt_database
tool:Create a new prompt database with these details:
- Name: "My New Prompt Book"
- Notion token: "secret_abc123..."
- Page ID: "1a748be2b63280988d9bc5f89918431d"
- Activate: true
This will create a new database with the proper schema (Name, Type, Tags) and add it to your configuration.
For optimal functionality, your Notion database should have the following properties:
The prompt content itself is stored in the page body as blocks of text.
npm install
npm run build
npm start
The configuration file at ~/.mcp_config/prompt_book.json
has the following structure:
{
"promptBooks": [
{
"id": "uuid-string",
"name": "My Prompt Book",
"notion_token": "your-notion-api-token",
"notion_database_id": "your-notion-database-id"
}
],
"activePromptBookId": "uuid-string"
}
{
"mcpServers": {
"prompt-book-server": {
"env": {},
"args": [
"-y",
"@piccollage/prompt-book-mcp-server"
],
"command": "npx"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.