🧠 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.txtdoesn'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_thumbnailrequire valid image paths. mcp_client.pyis 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
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.
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.
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.
MCP-Logic
MCP-Logic is a server that provides AI systems with automated reasoning capabilities, enabling logical theorem proving and model verification using Prover9/Mace4 through a clean MCP interface.
Substack Reader
Enables fetching and reading subscriber-only content from Trade Companion by Adam Mancini on Substack, allowing Claude to access and discuss the latest financial trading articles.
mcp-solver
A Model Context Protocol (MCP) server that exposes MiniZinc constraint solving capabilities to Large Language Models.