Skip to main content
Glama
Scarmonit

My MCP Server

by Scarmonit

My MCP Server

FastMCP server with FastAPI for Claude.ai integration.

Features

  • Tool: add(a, b) - Adds two integers

  • Resource: greeting://{name} - Personalized greeting

  • Prompt: stock_analyst_prompt - Stock market analyst persona

Deployment

Render (Free Tier)

  1. Connect this repo to Render

  2. It will auto-detect the render.yaml and deploy on the free tier

  3. Your MCP endpoint will be: https://<your-app>.onrender.com/mcp

Local Development

# Install dependencies
uv sync

# Run HTTP server
uv run main.py
# Server available at http://localhost:8000/mcp

# Or run via stdio (for Claude Desktop)
uv run server.py

Connecting to Claude

Claude.ai (Web)

  1. Deploy to Render (see above)

  2. Go to Claude.ai > Settings > Integrations > Add Custom Connector

  3. Enter your Render URL: https://<your-app>.onrender.com/mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "my-mcp-server": {
      "command": "uv",
      "args": ["run", "server.py"],
      "cwd": "/path/to/my-mcp-server"
    }
  }
}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Scarmonit/my-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server