MCP Playground

MCP Playground

A demonstration MCP server that provides access to a SQLite employee database with tools for querying users and profiles, sending emails via Mailtrap, and proposing project teams based on employee skills.

Category
Visit Server

README

MCP Playground

Requirements

  • Python 3.13
  • uv package manager
  • SQLite3

Installation

  1. Clone the repository

    git clone <repository-url>
    cd mcp_playground
    
  2. Install dependencies with uv

    uv sync
    
  3. Setup the SQLite database

    1. Create a new SQLite database file using the provided schema.
    cd db
    
    sqlite3 database.db < schema.sql
    
    1. Insert dummy data into the database.
    sqlite3 database.db < insert_data.sql
    
  4. Start the venv (if you want to start the server manually)

    source .venv/bin/activate
    

Usage

Starting the server

The server currently uses IO for communication. It is not meant to be started manually, instead it should be accessed through an MCP client.

Implemented Functions

The following functions are implemented in the server:

  1. db_schema (resource)

    • Returns the database schema by reading the schema.sql file.
  2. get_users (tool)

    • Fetches a list of all user names from the users table in the database.
  3. get_all_employee_profiles (tool)

    • Retrieves all employee profiles
  4. send_email (tool)

    • Sends an email using mailtrap.
    • Requires API-key in .env file:
      MAILTRAP_API_TOKEN=your_mailtrap_api_key
      
  5. propose_team_for_project (prompt)

    • Given a project description and team size, proposes a team of employees best suited for the project based on their skills and experience.

Integration with Claude Desktop as the MCP client

Add the following configuration to your MCP client (e.g., Claude Desktop):

  • Settings → Developer → Edit config → claude_desktop_config.json
  • mcpServers: The server name, in this case not-solita-corp.
  • command: The ABSOLUTE path to the uv executable on your system.
  • args: The arguments to start the MCP server, including the ABSOLUTE path to the mcp_playground directory.
  • Note: Windows paths use backslashes (\).
{
  "mcpServers": {
    "mcp_demo": {
      "command": "/path/to/user/.local/bin/uv",
      "args": [
        "--directory",
        "/path/to/user/mcp_playground",
        "run",
        "server.py"
      ]
    }
  }
}

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured