Skip to main content

MCP server for factorial calculations with FastMCP

Project description

Factorial MCP Server

A Model Context Protocol (MCP) server that provides factorial calculation tools.

Tools

  • factorial_value: Calculate and return the exact value of n! (factorial of n)
  • factorial_digits: Return the number of decimal digits in n! without computing the full value

Installation

pip install factorial_mcp_server

Usage

Run the server:

python factorial_server.py

Or use as a module:

from factorial_server import mcp
mcp.run()

Version

1.0.1 - Fixed package name for proper module import

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

factorial_mcp_server-1.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

factorial_mcp_server-1.0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file factorial_mcp_server-1.0.1.tar.gz.

File metadata

  • Download URL: factorial_mcp_server-1.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for factorial_mcp_server-1.0.1.tar.gz
Algorithm Hash digest
SHA256 af124afaef172fbea5abe2e8e92ed1118d17e8555cb04704aa2ba0f2289cdedb
MD5 0bda4f6047c1824ae25737886134f0ec
BLAKE2b-256 86c72355284b9fc9b023be5587c160fe3a20ef5ebf859a1c2d0125cb9d451f63

See more details on using hashes here.

File details

Details for the file factorial_mcp_server-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for factorial_mcp_server-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c6434ba0d655ebe15581da42bd30a238b6337384ed6a801317a7ddf84321d64
MD5 cb0b6682350930084b6f6d8461283472
BLAKE2b-256 5674e05967e550f097a5c43f23b721d934f90512428e266d965224b96a2587b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page