Skip to content

v0.2.3

Choose a tag to compare

@Mark007-R Mark007-R released this 17 Sep 06:09
· 197 commits to main since this release
676c545

Ready-made connectors

Two servers now ship with the package, each a normal MCPServer built with @server.tool and launchable with one command.

GitHub (easy-mcp-github)

  • list_repos, get_repo, list_issues, get_issue, list_pull_requests, get_pull_request, get_file
  • Reads GITHUB_TOKEN from the environment; works for public data without one. Standard-library HTTP only, so no new dependency.
  • Read-only by default. --allow-write adds create_issue and comment_on_issue, gated by the github:write scope; starting with --allow-write and no keys is refused.

Postgres (easy-mcp-postgres, install with pip install "easy-mcp-kit[postgres]")

  • list_schemas, list_tables, describe_table, query
  • Reads DATABASE_URL from the environment. Every statement runs in a READ ONLY transaction with a statement timeout (--statement-timeout, default 10 s) and a row cap (--max-rows, default 500).

Both take --transport {http,sse,stdio}, --host, --port, --rate-limit, --debug, and load API keys from EASY_MCP_API_KEYS. python -m easy_mcp.connectors.<name> works as well.

Fixed

  • mypy passes again and now runs in CI.
  • The sliding-window rate limiter forgets idle clients, so long-running public servers no longer grow memory with every client ever seen.
  • Opening a legacy SSE session now spends the client's rate-limit budget (429 + Retry-After), so an anonymous client cannot fill max_sessions.

Changed

  • API keys are compared as SHA-256 digests, so timing reveals neither partial matches nor key length.
  • Per JSON Schema, a number with no fractional part (3.0) is accepted for an int parameter and reaches the tool as int; validate_arguments returns the normalized arguments.
  • The version lives in one place (easy_mcp/_version.py); MCPServer.check_rate_limit() is public; transports are typed against MCPServer.
  • CI tests Python 3.11 through 3.14.

See CHANGELOG.md for details.