Skip to main content
Glama
oleksii-donets

simple_mcp

Simple MCP Server (Python)

このプロジェクトは、Pythonを使用した最小限のModel Context Protocol(MCP)サーバーを提供します。単一のツールrandom_floatを公開しており、[0,1)の範囲のランダムな浮動小数点数を返します。サーバーは複数のトランスポートモードをサポートしています:STDIO(デフォルト)、HTTP、SSE。

ローカルでの実行

デフォルト(STDIOトランスポート)

uv run main.py

Related MCP server: Math Calculator MCP Server

サーバー環境変数

変数

目的

デフォルト

APP_TRANSPORT

トランスポートタイプ(STDIO、HTTP、SSE)

STDIO

APP_HOST

サーバーホスト

0.0.0.0

APP_PORT

サーバーポート

8000

Docker

イメージをビルドして実行します:

docker build -t simple-mcp .

異なるトランスポートでのDocker

# HTTP transport
docker run --rm -p 8000:8000 -e APP_TRANSPORT=HTTP simple-mcp

# SSE transport
docker run --rm -p 8000:8000 -e APP_TRANSPORT=SSE simple-mcp

# Custom port
docker run --rm -p 9000:9000 -e APP_TRANSPORT=HTTP -e APP_PORT=9000 simple-mcp

スタンドアロンアプリとしてテスト

Postmanを使用したテスト

uv --directory <path_to_project_directory> run main.py

Claude Desktopを使用したテスト

{
  "mcpServers": {
    "simple_mcp": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "<path_to_project_directory>",
        "main.py"
      ]
    }
  }
}

dockerイメージとしてテスト

Postmanを使用したテスト

docker run --rm -i simple-mcp

Claude Desktopを使用したテスト

{
  "mcpServers": {
    "simple_mcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "simple-mcp"
      ]
    }
  }
}
Install Server
F
license - not found
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    D
    quality
    D
    maintenance
    Provides basic mathematical operations (addition, subtraction, multiplication, division) through a calculate tool. Supports both stdio and HTTP/SSE transport modes.
    1
    77
  • F
    license
    Not graded
    quality
    D
    maintenance
    A communication pipe and tool suite that enables AI models to interact with external systems through mathematical calculations, remote control, and data processing. It supports multiple transport protocols including stdio, SSE, and HTTP for flexible and extensible tool integration.
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides math and weather tools accessible via LangGraph agent using MCP protocol with stdio and streamable HTTP transports.
    1

View all related MCP servers

Related MCP Connectors

  • 16 AI-native tools with dual SSE + streamable-http transport. Free tier available.

  • AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.

  • 500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

View all MCP Connectors

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/oleksii-donets/simple_mcp'

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