Skip to main content
Glama
sarthakdeshmukh0770-jpg

mcp_local_server

README.md
# MCP Local Server

A local **Model Context Protocol (MCP)** server built with [FastMCP](https://github.com/jlowin/fastmcp), designed to run and serve MCP-compatible tools locally.

## ๐Ÿ“‹ Overview

This project provides a lightweight, local MCP server implementation that allows you to expose custom tools and resources to MCP-compatible clients (such as Claude Desktop) for local development and testing.

## โœจ Features

- ๐Ÿš€ Fast and lightweight local MCP server
- ๐Ÿ”Œ Easy integration with MCP-compatible clients
- ๐Ÿ› ๏ธ Built on top of FastMCP for rapid tool development
- ๐Ÿ“ฆ Simple dependency management with `uv`

## ๐Ÿงฐ Requirements

- Python >= 3.14
- [uv](https://docs.astral.sh/uv/) (recommended for dependency management)

## ๐Ÿ“ฆ Installation

Clone the repository:

```bash
git clone https://github.com/sarthakdeshmukh0770-jpg/mcp_local_server.git
cd mcp_local_server
```

Install dependencies using `uv`:

```bash
uv sync
```

## ๐Ÿš€ Usage

Run the server locally:

```bash
uv run main.py
```

## ๐Ÿ—‚๏ธ Project Structure

```
mcp_local_server/
โ”œโ”€โ”€ main.py            # Entry point for the MCP server
โ”œโ”€โ”€ test.py             # Test cases
โ”œโ”€โ”€ expenses.db          # Local database (example use case)
โ”œโ”€โ”€ pyproject.toml        # Project metadata and dependencies
โ”œโ”€โ”€ uv.lock             # Locked dependency versions
โ””โ”€โ”€ README.md            # Project documentation
```

## ๐Ÿงช Testing

Run the test suite:

```bash
uv run pytest test.py
```

## ๐Ÿค Contributing

Contributions, issues, and feature requests are welcome. Feel free to check the [issues page](https://github.com/sarthakdeshmukh0770-jpg/mcp_local_server/issues).

## ๐Ÿ“„ License

This project is currently unlicensed. Add a license file if you plan to open source this project.

## ๐Ÿ‘ค Author

**Sarthak Deshmukh**
๐Ÿ“ง sarthakdeshmukh0770@gmail.com