MCP Server: Connecting Tools to Claude AI

AI Agents on VPS · 19.04.2026
MCP Server: Connecting Tools to Claude AI

MCP Server: Claude Desktop + Local Tools

Model Context Protocol (MCP) is Anthropic's open standard for connecting AI agents to external data and tools.

Claude Desktop Config

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/projects"]
    },
    "sqlite": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-sqlite", "--db-path", "/data/mydb.sqlite"]
    }
  }
}

Custom Python MCP Server

pip install mcp
from mcp.server import Server
from mcp.server.stdio import stdio_server
from mcp import types
import asyncio

server = Server("my-tools")

@server.list_tools()
async def list_tools():
    return [types.Tool(name="check_domain", description="Check domain availability",
        inputSchema={"type": "object", "properties": {"domain": {"type": "string"}}})]
Ecosystem: Hundreds of ready-made servers available at mcp.so: GitHub, PostgreSQL, Google Drive, Slack, and more.
← Back to Knowledge Base Ask Support