mcp-server

mcp-server

0

The MCP Server is a Python-based implementation of the Model Context Protocol (MCP) that provides various tools for AI assistants to perform actions within a secure and controlled environment. It supports features such as web interaction, database operations, and system information retrieval.

MCP Server

A Python implementation of a Model Context Protocol (MCP) server offering tools for AI assistants in a secure environment.

Installation

  • Requires Python 3.12+.
  • Clone the repository and install dependencies using pip or uv.

Configuration

  • Needs a config file at ~/.mcp-server/config.yml.

Usage

  • Run with python mcp_server.py --project-folder /path/to/workspace [--db-name database1].

Features

  • Database Operations: Execute SQL queries.
  • Web Interaction: Brave Search API, HTTP requests.
  • System Info: Local time, OS info, list workspace files.

VS Code Integration for GitHub Copilot

  • Start the MCP server and configure VS Code settings.

Development

  • Prerequisites: Python 3.12+, PostgreSQL, Brave Search API key.

License

  • MIT License.