使用说明
mcp数论
MCP服务器公开数论函数和因式分解算法。
安装
pip install mcp-number-theory
用法
from mcp_number_theory import number_theory as nt
# Compute GCD
result = nt.gcd(48, 18) # Returns 6
# Factorize
from mcp_number_theory import algos
p, q = algos.fermat(1234567890123456789)
MCP服务器
该软件包提供了一个公开数论函数的MCP服务器。运行方式:
mcp-number-theory
mcp名称:io.github.daedalus/mcp-编号-理论
