Skip to main content

Poly MCP Server

Version: 0.2.0

A Model Context Protocol (MCP) server providing:

  • Wordit Edutem usage statistics export to Excel

Installation

uvx poly-mcp-server@0.2.0

Or install locally:

uv pip install poly-mcp-server

Available Tools

wordit_edutem_usage

Export Wordit Edutem usage statistics to Excel file.

Parameters:

  • start_date (required): Start date in YYYY-MM-DD format (e.g., '2025-09-01')
  • end_date (optional): End date in YYYY-MM-DD format. If omitted, uses the last day of start_date's month
  • campus_name (optional): Campus name filter (e.g., '강남캠퍼스'). If omitted, queries all campuses
  • output_path (optional): Excel file save path (default: ./output)

Example:

{
  "start_date": "2025-09-01",
  "end_date": "2025-09-07",
  "campus_name": "강남캠퍼스",
  "output_path": "./output"
}

Environment Variables

Required for database connection:

  • POSTGRES_HOST: PostgreSQL host (default: localhost)
  • POSTGRES_PORT: PostgreSQL port (default: 5432)
  • POSTGRES_DB: PostgreSQL database name (required)
  • POSTGRES_USER: PostgreSQL username (required)
  • POSTGRES_PASSWORD: PostgreSQL password (required)

MCP Configuration

VSCode Settings

Add to .vscode/settings.json:

{
  "mcp.servers": {
    "poly-mcp": {
      "command": "uvx",
      "args": ["poly-mcp-server@0.2.0"],
      "env": {
        "POSTGRES_HOST": "your-host",
        "POSTGRES_PORT": "5432",
        "POSTGRES_DB": "your-db",
        "POSTGRES_USER": "your-user",
        "POSTGRES_PASSWORD": "your-password"
      }
    }
  }
}

Claude Desktop

Add to claude_desktop_config.json:

Windows

Location: %APPDATA%\Claude\claude_desktop_config.json

macOS

Location: ~/Library/Application Support/Claude/claude_desktop_config.json

Linux

Location: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "poly-mcp": {
      "command": "uvx",
      "args": ["poly-mcp-server@0.2.0"],
      "env": {
        "POSTGRES_HOST": "your-host",
        "POSTGRES_PORT": "5432",
        "POSTGRES_DB": "your-db",
        "POSTGRES_USER": "your-user",
        "POSTGRES_PASSWORD": "your-password"
      }
    }
  }
}

Development

Local Setup

git clone <repository-url>
cd poly-mcp-server

# Install with dev dependencies
uv pip install -e ".[dev]"

Run Tests

# Run all tests
uv run pytest

# Run with verbose output
uv run pytest -v

# Run with coverage
uv run pytest --cov=poly_mcp_server

Run Server

# Using uv
uv run poly-mcp-server

# Or as Python module
uv run python -m poly_mcp_server.server

# Show help
uv run poly-mcp-server --help

License

MIT

Contributing

Bug reports and feature requests are welcome via GitHub Issues.

Metadata

Release files for poly-mcp-server 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poly-mcp-server 0.2.3
File Size Uploaded Provenance
poly_mcp_server-0.2.3.tar.gz 302.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for poly-mcp-server 0.2.3
File Interpreter ABI Platform
poly_mcp_server-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 311.2 kB

Release files / poly_mcp_server-0.2.3.tar.gz

Download URL poly_mcp_server-0.2.3.tar.gz
Size 302.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fd5d54716bda250922564d0678fdb4e42b35af6edc9ee9cc5f3dfeb8a741982a
BLAKE2b-256 checksum
How to use checksums
773dba7243c82c3471df4f4dc399434d0f4b59a43c09b8a5527ff0603ff6e6c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release files / poly_mcp_server-0.2.3-py3-none-any.whl

Download URL poly_mcp_server-0.2.3-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41333b549fae549bfc2fb075cdf576b5ac3cd04323814143e5ddeac76542453f
BLAKE2b-256 checksum
How to use checksums
88bce1a22f1df9e3c0276d6830eaab520e1278376a7940a42dbb4a07116ea9d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Security for poly-mcp-server 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page