Skip to main content
Glama
sarve2005

mcp-practice

by sarve2005
README.md
# MCP Practice

A generic Model Context Protocol server built with Python and FastMCP.

## Requirements

- Python 3.10 or newer
- `uv` recommended, or `pip`

## Run with uv

```powershell
uv sync
uv run server.py
```

For the MCP Inspector:

```powershell
uv run mcp dev server.py
```

## Run with pip

```powershell
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install "mcp[cli]>=1.0,<2"
python server.py
```

## Included examples

- `add`: tool that adds two integers
- `greeting://{name}`: resource template that returns a greeting
- `explain_topic`: prompt template for explaining a topic

Replace these examples with the tools, resources, and prompts for your application. Keep protocol output on stdout; send diagnostic logging to stderr.

## VS Code

The `.vscode/mcp.json` file registers the server with VS Code using the local Windows virtual environment. Open the MCP view and start `mcp-practice`, or use the MCP Inspector command above.

## Official documentation

- [MCP Python SDK](https://py.sdk.modelcontextprotocol.io/)
- [MCP Python SDK repository](https://github.com/modelcontextprotocol/python-sdk)

TDQS

A3.7/5.0

Scored across 6 tools

Disambiguation4/5

Each tool targets a distinct resource/action (create_list, create_card, delete_card, search, create_board, delete_board), so there is little ambiguity. The only minor overlap is that create_list and create_board both create entities, but their resource types are clearly different.

Naming Consistency4/5

Tool names follow a consistent verb_noun pattern (create_list, create_card, delete_card, create_board, delete_board). The exception is 'search', which lacks a noun suffix, but it is still clear and readable.

Tool Count5/5

With 6 tools, the server is well-scoped for a basic Trello management workflow. Each tool covers a core operation without unnecessary bloat.

Completeness3/5

The server covers create/delete for boards and cards, plus list creation and search, but lacks update operations (e.g., update_card, update_board, rename_list) and card/list retrieval. Agents can create and delete but cannot modify existing resources, which is a notable gap.

Maintenance

ActivityMaintained
ResponsivenessNo issues