Skip to main content
Glama
anilvermaspeaks

MCP Basic Create Tool

README.md
# 🧠 MCP Basic Create Tool

A minimal **Model Context Protocol (MCP)** project demonstrating how to create and register tools using the [`fastmcp`](https://pypi.org/project/fastmcp/) framework.

This repository shows how to build a working **MCP server** that can expose Python functions as tools for AI clients like **Claude Desktop** or any other MCP-compatible app.

---

## 🚀 Features

- Simple MCP server setup using `FastMCP`
- Example tool implementation (`get_weather`)
- Easy to extend with more tools
- Ready for integration with Claude or ChatGPT (via MCP)

---

### 1️⃣ Clone the repository
```bash
git clone https://github.com/anilvermaspeaks/mcp-bacis-create-tool.git
cd mcp-bacis-create-tool

 Create and activate a virtual environment
python -m venv basics-mcp


To connect this tool to Claude Desktop, add the following entry inside your Claude configuration file:

Config path:

Windows → %APPDATA%\Claude\claude_desktop_config.json

macOS → ~/Library/Application Support/Claude/claude_desktop_config.json

Add this JSON snippet:

{
  "mcpServers": {
    "mcp-bacis-create-tool": {
      "command": "python",
      "args": [
        "D:/basics-mcp/main.py"
      ],
      "env": {
        "PYTHONPATH": "D:/basics-mcp"
      }
    }
  }
}

## run MCP server(main.py) using custom mcp client(client.py)
  uv run python client.py

TDQS

B3.2/5.0

Scored across 1 tool

Disambiguation5/5

Only one tool exists, so there is no possibility of confusion between tools. The agent will always select 'get_weather' for weather queries.

Naming Consistency5/5

With only one tool, no naming inconsistencies exist. The name 'get_weather' follows a clear verb_noun pattern.

Tool Count1/5

A single tool is extremely limited for a server named 'MCP Basic Create Tool', which suggests a broader scope. Additionally, the only tool is a weather lookup, not a creation tool, making the count inappropriate.

Completeness1/5

The server provides only a basic weather retrieval tool. For a weather domain, one would expect additional operations like forecast, historical data, or location search, but none are present.

Maintenance

ActivityInactive
ResponsivenessNo issues