π Build Custom MCP Servers πβοΈπ°
Description
# π Build Custom MCP Servers πβοΈπ° ## π Project Description This project demonstrates a simple MCP Servers built using the MCP `mcp[cli]` Python SDK. It provides several tools exposed through the MCP server: * **Note Management:** Add, read, retrieve the latest, and generateβ¦
About
# π Build Custom MCP Servers πβοΈπ° ## π Project Description This project demonstrates a simple MCP Servers built using the MCP `mcp[cli]` Python SDK. It provides several tools exposed through the MCP server: * **Note Management:** Add, read, retrieve the latest, and generate summaries of notes stored locally. *β¦
Details
- Author
- sanjaydubey31
- Downloads
- 277
- Categories
- Developer Tools
Jump to
- Note taking (add, read, latest, summarize)
- Current weather fetching for any city
- Brave Search API news integration
- .env file configuration for API keys
- Built with the MCP Python SDK
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
π Build Custom MCP Servers πβοΈπ°Command (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Set up Python 3.12 and a virtual environment, install dependencies (e.g., uv sync), copy .env.example to .env and add your API keys, then run mcp install main.py to add the server to Claude Desktop or mcp dev main.py for debugging.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"\ud83d\ude80 build custom mcp servers \ud83d\udcdd\u2600\ufe0f\ud83d\udcf0": {
"build-custom-mcp-servers-sanjaydubey31": {
"command": "uv",
"args": [
"sync"
]
}
}
}
}
McpServers
{
"build-custom-mcp-servers-sanjaydubey31": {
"command": "uv",
"args": [
"sync"
]
}
}
π Build Custom MCP Servers πβοΈπ°
π Project Description
This project demonstrates a simple MCP Servers built using the MCP mcp[cli] Python SDK. It provides several tools exposed through the MCP server:
Note Management: Add, read, retrieve the latest, and generate summaries of notes stored locally.
Weather Information: Fetch current weather data for a specified city using the WeatherAPI.com service.
News Search: Perform news searches using the Brave Search API.
It utilizes API keys stored in a .env file for external services.
π οΈ Setup Instructions
Follow these steps to get the FastMCP agent running:
1. Prerequisites:
Python 3.12 installed.
A virtual environment manager (like venv, pipenv, poetry, or uv) is recommended.
2. Clone the Repository (if you haven't already):
# Make sure you are in the correct parent directory
git clone https://github.com/sourangshupal/Build-Custom-MCP-Servers # Or use the current directory if already cloned
cd Build-Custom-MCP-Servers
3. Set up Virtual Environment & Install Dependencies:
Install dependencies (assuming uv, based on uv.lock, otherwise adjust for pip/poetry):
uv sync
uv lock
source .venv/bin/activate # On Windows use .venv\Scripts\activate
OR
pip install uv # if you don't have uv
uv pip install -r requirements.txt # Or uv sync if using pyproject.toml directly
# If not using uv, likely: pip install -r requirements.txt or poetry install or pip install .
4. Configure Environment Variables:
cp .env.example .env
Edit the newly created
.env file and add your API keys: WEATHER_API_KEY="YOUR_WEATHER_API_KEY"
BRAVE_API_KEY="YOUR_BRAVE_API_KEY"
5. Run the Agent:
mcp install main.py
The FastMCP server should be added to Claude Desktop.
mcp dev main.py
Debug the MCP Server
β¨ Features
Note-taking capabilities (add, read, latest, summarize) π
Current weather fetching βοΈ
Brave Search integration for news π°
Configuration via .env file π
- Built with
mcp[cli]βοΈ
π€ Contributing
Contributions are welcome! Please feel free to submit pull requests or open issues.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





