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
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.
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.
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"
]
}
}
}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"
]
}
}
}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"
]
}
}
}Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
The server is implemented in Python.
Yes, Python 3.8 or higher is required.
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.
{
"servers": {
"mcp-server-poc-tarcisiophilips": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-poc-tarcisiophilips"
]
}
}
}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"
]
}
}
}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"
]
}
}
}