The n8n-server MCP Server is a TypeScript-based implementation of the Model Context Protocol (MCP). It provides a simple notes system to demonstrate core MCP concepts, including resource management, tool creation, and prompt generation for summarization tasks.
note://
URIs.create_note
: Create new text notes with required parameters (title and content). Notes are stored in the server state.summarize_notes
: Generate a summary of all stored notes. Includes embedded resources and returns a structured prompt for LLM summarization.Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Debugging MCP servers can be challenging due to stdio communication. Use the MCP Inspector for debugging:
npm run inspector
The Inspector provides a URL for browser-based debugging tools.
To use the server with Claude Desktop, add the server configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
Example configuration:
{
"mcpServers": {
"n8n-server": {
"command": "/path/to/n8n-server/build/index.js"
}
}
}
This project is licensed under the MIT License. For more details, refer to the LICENSE file.