Mathematical Code Execution MCPサーバー
コミット 2026年11月13日Executes sandboxed Python code to perform mathematical calculations and generate one-page PDF documents.
別名 Saify-Technologies/saifs-ai-mcps-docs, code-execution
- スター
- 4
- ツール
- 1
- ダウンロード数(30日間)
- —
- 最新バージョン
- 1.0.1
- 最終コミット
- 2026年11月13日
- ライセンス
- MIT
Mathematical Code Execution MCPとは
Mathematical Code ExecutionはMCPサーバーです。 Executes sandboxed Python code to perform mathematical calculations and generate one-page PDF documents. 1個のツールを提供しており、execute_codeなどがあります。
プロジェクトのREADMEから生成された概要
Mathematical Code Execution MCP server について
Performing complex mathematical computations and generating PDF documents from within an AI client is what this server enables. It provides a remote, sandboxed environment that executes Python code through a streamable HTTP transport. Developers using Claude Desktop, VS Code, or Claude Code can connect to the endpoint without local installation, though they must complete an OAuth 2.1 PKCE sign-in process on their first use.
The execution environment is strictly isolated with no network access, no user filesystem, and no ability to install new packages. While it supports numpy for matrix operations and statistical calculations, it does not include scipy or pandas. The primary tool, execute_code, returns standard output, error messages, and exit codes. If the code uses the preinstalled fpdf library to create a one-page PDF, the server provides a download link that remains active for one hour.
できること
- 1Statistical Data AnalysisAsk the AI to calculate the mean and standard deviation of a specific dataset using Python.
- 2Matrix MultiplicationRequest a numpy script to multiply two matrices and display the resulting product.
- 3Automated Document GenerationHave the agent create a one-page PDF invoice summary and provide a temporary download link.
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Mathematical Code Execution MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにMathematical Code Execution MCPをインストール
$ claude mcp add --transport http code-execution https://code-execution-mcp.saifs.ai/mcpCursorにMathematical Code Execution MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"code-execution": {
"url": "https://code-execution-mcp.saifs.ai/mcp"
}
}
}VS CodeにMathematical Code Execution MCPをインストール
.vscode/mcp.json
{
"servers": {
"code-execution": {
"type": "http",
"url": "https://code-execution-mcp.saifs.ai/mcp"
}
}
}VS Code CLIにMathematical Code Execution MCPをインストール
$ code --add-mcp '{"name":"code-execution","type":"http","url":"https://code-execution-mcp.saifs.ai/mcp"}'CodexにMathematical Code Execution MCPをインストール
$ codex mcp add code-execution --url https://code-execution-mcp.saifs.ai/mcpCodex config.tomlにMathematical Code Execution MCPをインストール
~/.codex/config.toml
[mcp_servers.code-execution] url = "https://code-execution-mcp.saifs.ai/mcp"
Gemini CLIにMathematical Code Execution MCPをインストール
$ gemini mcp add -s user --transport http code-execution https://code-execution-mcp.saifs.ai/mcpGemini settings.jsonにMathematical Code Execution MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"code-execution": {
"url": "https://code-execution-mcp.saifs.ai/mcp",
"type": "http"
}
}
}Mathematical Code Execution MCPツール 1
READMEから検出execute_code
| execute_code | — |
自動チェック
実行日 2026年11月13日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能saify-technologies/saifs-ai-mcps-docs is public and reachablegithub.com/saify-technologies/saifs-ai-mcps-docs ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-13github.com/saify-technologies/saifs-ai-mcps-docs ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない1 tool description and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答HTTPS endpoint answered 401 (sign-in required)合格
README
GitHubで見るMathematical Code Execution
A Python-only sandbox for agent hosts. The model writes Python that prints a result (or a one-page PDF via preinstalled fpdf); this server runs it in an isolated process with no network, no user filesystem and no package installs. Other languages are refused. numpy is available; scipy and pandas are not.
| Registry name | ai.saifs/code-execution |
| Endpoint | https://code-execution-mcp.saifs.ai/mcp |
| Transport | Streamable HTTP (remote, nothing to install) |
| Auth | OAuth 2.1 — PKCE (S256) and dynamic client registration; your client opens a sign-in page on first use |
| Publisher | SAIFS AI |
Install
VS Code / GitHub Copilot
Add to .vscode/mcp.json (workspace) or your user mcp.json:
{
"servers": {
"saifs-code-execution": {
"type": "http",
"url": "https://code-execution-mcp.saifs.ai/mcp"
}
}
}
Then start the server from the MCP view and sign in when prompted.
Claude (claude.ai, Desktop)
Settings → Connectors → Add custom connector, and paste:
https://code-execution-mcp.saifs.ai/mcp
Claude Code
claude mcp add --transport http saifs-code-execution https://code-execution-mcp.saifs.ai/mcp
Any other MCP client
Point it at https://code-execution-mcp.saifs.ai/mcp using the Streamable HTTP transport. The server returns 401 with a
WWW-Authenticate: Bearer … resource_metadata=… challenge, so OAuth-aware clients sign in automatically.
Tools
| Tool | What it does |
|---|---|
execute_code |
Runs allow-listed Python and returns stdout, stderr, exit code, and any PDF written with fpdf (output("name.pdf"), download link expires in 1 hour). Non-Python is rejected with a one-line warning. |
Example prompts
- “Run Python to compute the mean and standard deviation of this list and print the result.”
- “Write a short numpy snippet that multiplies these two matrices and prints the product.”
- “Generate a one-page PDF invoice summary with fpdf and give me the download link.”
Support
- Website: https://saifs.ai
- Issues: https://github.com/Saify-Technologies/saifs-ai-mcps-docs/issues
- Privacy: https://saifs.ai/privacy_policy
Mathematical Code Execution MCPのよくある質問
Mathematical Code Execution MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --transport http code-execution https://code-execution-mcp.saifs.ai/mcpを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Mathematical Code Execution MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
Mathematical Code Execution MCPが提供するツールは
1個のツールを提供しており、execute_codeなどがあります。
What programming languages are supported?
The server only supports Python; all other languages are refused.
Which Python libraries are available?
Numpy is available, but scipy and pandas are not included.
Can the server generate PDF files?
Yes, it can generate a one-page PDF using the preinstalled fpdf library.
Does the code execution have network access?
No, the code runs in an isolated process with no network access and no user filesystem access.