๐ง mcp_server-client_EAG-S-4 - Local Setup
devdastl
README
๐ง mcp_server-client_EAG-S-4 - Local Setup
This repository provides a minimal implementation to set up and interact with the MCP (Modular Computation Protocol) locally. It consists of a server that exposes various computational tools and a client that communicates with the server to invoke those tools.
The project is managed using uv
, a fast Python package manager and workflow tool.
๐ Project Structure
mcp_server.py
โ Hosts the MCP server with 28 tools available for interaction.mcp_client.py
โ The entry point of the project; runs a client that connects to the MCP server and calls its tools.pyproject.toml
โ Project configuration and dependencies using PEP 621.uv.lock
โ Auto-generated lockfile for reproducible installations usinguv
.token.env
โ Environment file that likely contains secrets or tokens.README.md
โ Project documentation."""
๐ ๏ธ Available Tools on the MCP Server
๐ข Math Tools
add(a, b)
โ Add two numbersadd_list(l)
โ Add all numbers in a listsubtract(a, b)
โ Subtract two numbersmultiply(a, b)
โ Multiply two numbersdivide(a, b)
โ Divide two numberspower(a, b)
โ Raise a to the power of bsqrt(a)
โ Square rootcbrt(a)
โ Cube rootfactorial(a)
โ Factoriallog(a)
โ Natural logarithmremainder(a, b)
โ Modulus operationsin(a)
โ Sinecos(a)
โ Cosinetan(a)
โ Tangentmine(a, b)
โ Special mining toolint_list_to_exponential_sum(int_list)
โ Sum of exponentials of integersfibonacci_numbers(n)
โ First n Fibonacci numbers
๐ง String/Image Tools
strings_to_chars_to_int(string)
โ Convert characters to ASCIIcreate_thumbnail(image_path)
โ Generate a thumbnail from an image
๐๏ธ Pinta Automation Tools
open_pinta_application()
โ Launch and focus Pintaselect_rectangle_tool()
select_text_tool()
select_circle_tool()
draw_rectangle(x1, y1, x2, y2)
write_text_inside_rectangle(text, x1, y1, x2, y2)
draw_circle(x1, y1, radius)
get_lines_of_rectangle(x1, y1, x2, y2)
โ Return lines from rectangle coordinatesget_midpoint_of_line(x1, y1, x2, y2)
โ Return midpoint of a line
๐ Getting Started
1. Clone the Repository
git clone https://github.com/your-username/mcp-protocol.git
cd mcp-protocol
2. Install uv
(if not already installed)
curl -Ls https://astral.sh/uv/install.sh | sh
Verify installation:
uv --version
3. Set Up the Project Environment
uv venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
uv pip install -r pyproject.toml
If
requirements.txt
doesn't exist:uv pip freeze > requirements.txt
4. Test MCP Server with GUI client
mcp dev mcp_server.py
5. Run the Client
python mcp_client.py
๐ Notes
- Ensure Pinta is installed if you're using Pinta-related tools.
- Image tools like
create_thumbnail
require valid image paths. mcp_client.py
is the main entry point to interact with the protocol.
๐ License
MIT License. Feel free to fork, modify, and contribute.
๐ค Contributing
Pull requests are welcome. For major changes, please open an issue first.
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.