Simple TypeScript MCP server for note management and Flomo API integration
The mcp-server-flomo is a TypeScript-based MCP (Model Context Protocol) server designed to enhance note-taking capabilities in AI applications, primarily through integration with tools like Flomo. This server exemplifies the core functionalities of an MCP implementation by offering a structured interface for managing and generating notes through various AI-driven tools.
The mcp-server-flomo server is built around several key features that are essential to its functionality and integration with AI applications:
note://
URIs, allowing for easy identification and access. Each note contains metadata such as a title, content, and other relevant information.write_note
command to create new notes by accepting required parameters such as content.summarize_notes
prompt feature that compiles all stored notes into structured summaries for AI summarization.These features are crucial for ensuring seamless integration with various MCP clients, enabling richer and more engaging user experiences in AI workflows.
The architecture of the mcp-server-flomo is designed to adhere closely to MCP standards. It includes:
The following Mermaid diagram illustrates the flow of MCP interactions:
graph TB
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
This diagram clearly shows how the MCP client communicates with the protocol, which then interacts with the MCP server to process and route requests to the appropriate data sources or tools.
To get started with the mcp-server-flomo, follow these steps:
Install Dependencies: Ensure you have npm
installed and run:
npm install
Configure Environment Variables:
.env.example
to .env
..env
with your Flomo API key by setting the variable FLOMO_API_URL
.Build the Server: Use the following command to build the server:
npm run build
Run for Development (Auto-rebuilds on changes):
npm run watch
A typical scenario involves a user using the mcp-server-flomo to take personal notes and generate concise summaries of those notes. This is particularly useful for professionals who frequently review their notes, such as researchers or executives. The summarized version can be sent to an AI assistant like Claude Desktop or Continue for further processing or presentation.
For collaborative projects, multiple team members can contribute to a shared set of notes using the mcp-server-flomo server. Each team member can create and update their own notes, which are then reflected in real-time on the server. The summarize_notes
feature can help generate an overview that includes all contributions, providing valuable context for project reviews or presentations.
The mcp-server-flomo is compatible with several MCP clients:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
The compatibility matrix highlights the seamless integration between these clients and the mcp-server-flomo, ensuring that each tool can effectively utilize the server’s features.
The performance of the mcp-server-flomo is optimized for real-time data processing and communication. Here’s a detailed breakdown:
Feature | Description |
---|---|
Notes List | Lists all notes accessible via note:// URIs. |
Note Content | Supports plain text mime type to facilitate easy access to note content. |
Summary Generation | Generates structured summaries of stored notes for AI processing and review. |
This matrix ensures that the server can handle a wide range of data types and processing demands efficiently.
To ensure robust security, the mcp-server-flomo requires proper configuration:
.env
file contains necessary environment variables for secure API key handling.Here’s an MCP configuration sample:
{
"mcpServers": {
"flomo-server": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-flomo"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
This JSON snippet illustrates how to configure the mcp-server-flomo for integration in a broader MCP ecosystem.
npm run inspector
, which provides a URL that can be opened in your web browser to access debugging tools..env
file?
.env
file for consistency and ease of use, but they can also be passed as arguments when starting the server if needed.summarize_notes
function update summaries?
These FAQs address common integration challenges and offer solutions for users facing specific scenarios.
Contributions to the mcp-server-flomo project are welcomed. To contribute:
git clone
or download as a ZIP file.npm run build
to compile codenpm run watch
to auto-rebuild and test upon changeContributors are encouraged to submit pull requests with detailed descriptions of changes.
The mcp-server-flomo is part of a larger ecosystem that includes other MCP servers, clients, and tools. Engaging with this community can provide additional resources, support, and integration opportunities:
By leveraging these resources, developers can enhance their MCP integrations and build powerful AI applications that support complex workflows.
This comprehensive documentation covers the core functionalities, architectural details, installation processes, and use cases of mcp-server-flomo. It aims to serve as a valuable resource for developers integrating this server into their AI applications.
Learn to connect to MCP servers over HTTP with Python SDK using SSE for efficient protocol communication
Next-generation MCP server enhances documentation analysis with AI-powered neural processing and multi-language support
Build a local personal knowledge base with Markdown files for seamless AI conversations and organized information.
Integrate AI with GitHub using MCP Server for profiles repos and issue creation
Python MCP client for testing servers avoid message limits and customize with API key
Explore MCP servers for weather data and DigitalOcean management with easy setup and API tools