Mini Task MCP Server
Enables task management via MCP tools for creating, listing, updating, completing, and deleting tasks with JSON file storage.
README
Mini Task MCP Server
A simple Model Context Protocol (MCP) project built with TypeScript and Node.js.
This project demonstrates how an MCP Client communicates with an MCP Server and uses MCP tools to manage tasks through a standardized protocol.
š Features
- MCP Server implementation
- MCP Client implementation
- STDIO transport communication
- Task management system
- Create new tasks
- View all tasks
- Update existing tasks
- Complete tasks
- Delete tasks
- JSON file-based storage
- Type-safe development using TypeScript
š ļø Tech Stack
- Node.js
- TypeScript
- Model Context Protocol SDK
- Zod Validation
- JSON Storage
š MCP Architecture
User
|
|
MCP Client
|
|
Model Context Protocol
|
|
MCP Server
|
|
Task Management Tools
|
|
tasks.json
š§ Available MCP Tools
1. add_task
Creates a new task.
Example:
{
"title": "Complete MCP project",
"description": "Finish MCP server implementation"
}
2. list_tasks
Returns all available tasks.
Example response:
[
{
"id": 1,
"title": "Learn MCP",
"status": "pending"
}
]
3. update_task
Updates an existing task.
Example:
{
"id": 1,
"title": "Updated task title"
}
4. complete_task
Marks a task as completed.
Example:
{
"id": 1
}
5. delete_task
Deletes a task using its ID.
Example:
{
"id": 1
}
š Project Structure
mini-task-mcp
ā
āāā src
ā āāā server.ts # MCP Server implementation
ā āāā client.ts # MCP Client implementation
ā
āāā tasks.json # Task storage
ā
āāā package.json
āāā package-lock.json
āāā tsconfig.json
āāā README.md
āāā .gitignore
āļø Installation
Clone the repository:
git clone https://github.com/yourusername/mini-task-mcp.git
Navigate into project:
cd mini-task-mcp
Install dependencies:
npm install
ā¶ļø Running the Project
Build TypeScript
npm run build
Start MCP Server
npm start
Run MCP Client
npm run client
š How MCP Works in This Project
- The MCP Client sends a request.
- The MCP Server receives the request.
- The server identifies the required tool.
- The selected tool performs the task operation.
- The result is returned back to the client.
Example:
Client
|
| Request: Add Task
ā
MCP Server
|
| Executes add_task tool
ā
tasks.json updated
|
ā
Response returned to Client
šÆ Project Purpose
The purpose of this project is to understand the fundamentals of Model Context Protocol (MCP) and how AI applications can securely interact with external tools and data sources.
This mini project demonstrates the foundation required for building AI assistants that can perform real-world operations using connected services.
š® Future Improvements
- Add SQLite database support
- Add authentication system
- Add REST API support
- Add AI-powered task assistant
- Connect with LLM-based MCP clients
- Add cloud deployment support
šØāš» Author
Mohd Samir Shaikh
Mini MCP Task Management Project
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.