Simple TypeScript MCP server for notes creation, management, and summarization with core MCP features
My-Server is a TypeScript-based Model Context Protocol (MCP) server that implements a simple notes system, showcasing core MCP concepts in its functionality. This server demonstrates the ability to manage and interact with resources representing textual notes, facilitating the creation of new notes and generating summaries thereof. At its heart, My-Server serves as a bridge between AI applications like Claude Desktop, Continue, and Cursor and various data sources or tools, enhancing their capabilities through standardized interactions.
My-Server incorporates several key features to embody the MCP protocol:
Resources Management: Lists and accesses notes via note://
URIs, ensuring that each note is accessible with a structured URI. Notes include title, content, and metadata, providing rich metadata for contextual data points.
Data Manipulation Tools: The server includes tools such as create_note
, which allows users to generate new text notes by providing required parameters like the title and content. This tool stores generated note data within the server's state, ensuring persistence across sessions or instances of use.
AI-Driven Summarization: Prompts like summarize_notes
are designed to generate a summary of all stored notes. This includes embedding the full contents of each note as part of the summarized text, facilitating AI-driven summarizations via Language Model APIs (LMAs).
MCP Server utilizes TypeScript for implementation, ensuring type safety and robustness in handling various data types within the protocol. The use of note
URIs is compliant with MCP standards, enabling seamless interaction between different clients and servers.
My-Server adheres to the MCP architecture by facilitating:
note://
) that is consistent across all interactions.graph TD
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
graph TD
A[Resource] -->|URIs| B[MCP Protocol]
B --> C[My-Server]
C --> D[Local Storage]
E[Note Summaries] --> F[Data Output]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
To install and run My-Server MCP Server, follow these steps:
Ensure you have Node.js installed on your system.
Install Dependencies
npm install
Build the Server
npm run build
Run Development with Auto-Rebuild
To facilitate development, use the following command:
npm run watch
For optimal integration with Claude Desktop and other compatible clients, add the server configuration to your system.
On macOS, edit the configuration file located at ~/Library/Application Support/Claude/claude_desktop_config.json
.
{
"mcpServers": {
"my-server": {
"command": "/path/to/my-server/build/index.js"
}
}
}
On Windows, modify the configuration file at %APPDATA%/Claude/claude_desktop_config.json
:
{
"mcpServers": {
"my-server": {
"command": "\\path\\to\\my-server\\build\\index.js"
}
}
}
A user wishes to manage their personal notes across different devices. By integrating My-Server with a compatible AI application like Claude Desktop, the user can seamlessly sync and access notes from any device. Each note://
URI ensures that notes are uniquely identifiable, allowing for easy management.
In an office environment, colleagues can collaborate on shared projects by utilizing My-Server to manage relevant documentation. The server's ability to summarize all notes provides a quick overview of the current project state, facilitating efficient communication and decision-making.
My-Server is compatible with several AI clients that support MCP:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ❌ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ✅ | Partial |
My-Server is optimized for performance, ensuring quick response times and efficient data handling. It supports compatibility with a wide range of MCP clients, making it versatile in its application.
For advanced users, configuration options allow fine-tuning the server's behavior:
Environment Variables:
{
"API_KEY": "your-api-key"
}
This API key ensures secure communication with the client applications.
Can My-Server be used with other AI clients besides those listed?
How can I troubleshoot issues with the My-Server connection in Claude Desktop?
npm run inspector
to debug communication issues.What type of notes can be stored and accessed using My-Server?
Can multiple users access notes simultaneously through My-Server?
How often are updates released for My-Server?
Contributions to My-Server are highly appreciated and can be made by:
Join our community to contribute and improve My-Server!
Stay connected with the MCP ecosystem at MCP Protocol and explore additional resources:
By leveraging My-Server, developers can significantly enhance AI application functionalities through seamless data integration and management.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration