Skip to content

FastMCP Tools

A curated collection of reusable MCP tools for fastmcp-server. Each tool is a standalone Python file ready to deploy via inline ConfigMap, S3, or Git source.

Source: helmforgedev/fastmcp-tools

Kubernetes

ToolDescriptionDependencies
get_podsList pods in a namespace with status and restart countskubernetes
get_logsGet pod logs with container and tail optionskubernetes
describe_resourceGet detailed info about pods, services, deployments, configmaps, secretskubernetes
sources:
  git:
    enabled: true
    repository: 'https://github.com/helmforgedev/fastmcp-tools.git'
    branch: main
    path: tools/kubernetes
extraPipPackages:
  - kubernetes

GitHub

ToolDescriptionDependencies
list_issuesList issues with state/label filtering (cached 60s)requests
create_prCreate pull requestsrequests
get_fileGet file contents from a repository (cached 120s)requests

Requires GITHUB_TOKEN env var for private repos and write operations.

sources:
  git:
    enabled: true
    repository: 'https://github.com/helmforgedev/fastmcp-tools.git'
    branch: main
    path: tools/github
extraPipPackages:
  - requests
extraEnv:
  - name: GITHUB_TOKEN
    valueFrom:
      secretKeyRef:
        name: github-token
        key: token

HTTP

ToolDescriptionDependencies
fetch_urlFetch content from any URL (GET/POST/etc) with custom headersrequests
post_jsonPOST JSON data to a URLrequests
sources:
  git:
    enabled: true
    repository: 'https://github.com/helmforgedev/fastmcp-tools.git'
    branch: main
    path: tools/http
extraPipPackages:
  - requests

Database

ToolDescriptionDependencies
query_postgresExecute read-only SQL on PostgreSQL (rate limited 30/min)psycopg2-binary
query_mysqlExecute read-only SQL on MySQL (rate limited 30/min)pymysql

Both tools enforce read-only mode — only SELECT and WITH queries are allowed.

sources:
  git:
    enabled: true
    repository: 'https://github.com/helmforgedev/fastmcp-tools.git'
    branch: main
    path: tools/database
extraPipPackages:
  - psycopg2-binary
  - pymysql
extraEnv:
  - name: DATABASE_URL
    valueFrom:
      secretKeyRef:
        name: db-credentials
        key: url

Notifications

ToolDescriptionDependencies
send_slackSend messages via Slack webhook (rate limited 10/min)requests
send_emailSend email via SMTP (rate limited 5/min)stdlib only
sources:
  git:
    enabled: true
    repository: 'https://github.com/helmforgedev/fastmcp-tools.git'
    branch: main
    path: tools/notifications
extraPipPackages:
  - requests
extraEnv:
  - name: SLACK_WEBHOOK_URL
    valueFrom:
      secretKeyRef:
        name: slack-config
        key: webhook-url

Tool Metadata

All tools use fastmcp-server module-level magic variables for enhanced behavior:

VariableExampleDescription
__tags__["kubernetes", "read"]Tool categorization for visibility control
__timeout__30.0Execution timeout in seconds
__rate_limit__"30/min"Rate limiting
__cache_ttl__60Result caching TTL in seconds
__max_output_size_kb__500Output truncation limit

Contributing

Tools should follow these conventions:

  1. One file per tool function
  2. Clear docstring explaining what the tool does
  3. Type annotations on all parameters
  4. Environment variable fallbacks for credentials
  5. Appropriate __tags__, __timeout__, and rate limits
  6. Read-only by default for data access tools