MCP_server_fastapi

by Dhiraj123-star

271 downloads
Not rated
GitHub

Description

# MCP_server_fastapi --- ## 🚀 Getting Started Follow the steps below to install dependencies, run the server, and debug your tools locally. --- ### 📦 Install Dependencies Use [`uv`](https://github.com/astral-sh/uv) (a faster Python package manager) to install project…

About

# MCP_server_fastapi --- ## 🚀 Getting Started Follow the steps below to install dependencies, run the server, and debug your tools locally. --- ### 📦 Install Dependencies Use [`uv`](https://github.com/astral-sh/uv) (a faster Python package manager) to install project dependencies: ```bash uv pip install -r…

Details

Author
Dhiraj123-star
Downloads
271
Categories
Developer Tools

- Dependency management with uv for faster installation
- Supports both Python and uv run commands
- Debugging with MCP Inspector
- Requires Python 3.12+
- Includes a weather tool (indicated by weather.py)

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP_server_fastapi
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install dependencies with uv pip install -r pyproject.toml. Run the server via python src/server.py or uv run start. Test and debug tools locally using the MCP Inspector: mcp dev ./src/weather.py.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp_server_fastapi": {
            "MCP_server_fastapi": {
                "command": "uv",
                "args": [
                    "pip",
                    "install",
                    "-r",
                    "pyproject.toml"
                ]
            }
        }
    }
}

McpServers

{
    "MCP_server_fastapi": {
        "command": "uv",
        "args": [
            "pip",
            "install",
            "-r",
            "pyproject.toml"
        ]
    }
}

MCP_server_fastapi

---

🚀 Getting Started

Follow the steps below to install dependencies, run the server, and debug your tools locally.

---

📦 Install Dependencies

Use uv (a faster Python package manager) to install project dependencies:

uv pip install -r pyproject.toml

---

▶️ Start the Server

You can run the server using one of the following options:

Option 1: Using Python

python src/server.py

Option 2: Using uv

uv run start

---

🧪 Debug and Test

You can test your tool locally using MCP Inspector:

mcp dev ./src/weather.py

---

🛠 Requirements

- Python 3.12+
- uv installed
- mcp CLI installed

---

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.