drio
Open app

MCP Server POC

Source

This project demonstrates how to create and use a Model Context Protocol (MCP) server that can provide custom tools and resources to AI assistants like Claude and others that support the MCP standard. The server includes: - Simple math operations (addition) - Dynamic greeting resource - Web crawling capability using the crawl4ai library

Catalog onlyCatalog onlySTDIO

Overview

MCP Server POC is a proof-of-concept implementation of a Model Context Protocol (MCP) server designed to enhance AI assistant capabilities by providing custom tools and resources.

To use the MCP Server, clone the repository, set up a virtual environment, install the required packages, and run the server using the command python first-mcp.py. For integration with Cursor IDE, configure the mcp.json file accordingly.

  • Simple math operations (addition) - Dynamic greeting resource - Web crawling capability using the crawl4ai library
  1. Enhancing AI assistants with custom tools for specific tasks.
  2. Providing personalized greetings to users.
  3. Crawling web content for AI assistants to utilize.

Add to your AI client

Use these steps to connect MCP Server POC in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-poc-tarcisiophilips": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-poc-tarcisiophilips"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-server-poc-tarcisiophilips": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-poc-tarcisiophilips"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-poc-tarcisiophilips": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-poc-tarcisiophilips"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-poc-tarcisiophilips": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-poc-tarcisiophilips"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-poc-tarcisiophilips": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-poc-tarcisiophilips"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-poc-tarcisiophilips": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-poc-tarcisiophilips"
      ]
    }
  }
}

FAQ

What programming language is used for MCP Server POC?

The server is implemented in Python.

Is there a specific version of Python required?

Yes, Python 3.8 or higher is required.

How can I troubleshoot issues with the MCP server?

Ensure all required packages are installed, check the configuration file for correct paths, and verify that the server is running with the correct Python version.