Aman Amith Shastry Scientific Computation Mcp

ai.smithery由 smithery.ai 發布官方發布者v1.13.1更新於 Oct 24, 2026

This MCP server enables users to perform scientific computations regarding linear algebra and vect…

發布方自己的服務:222wcnm Bilistalkermcp

已驗證Streamable HTTP可網頁執行開發者工具資料與分析媒體與設計

概覽

AI 產生的概覽

讓助理執行線性代數、向量微積分計算,並將函式或向量場繪製成圖。

可以做什麼
提供以名稱儲存的張量(向量與矩陣)管理工具,可建立、檢視與刪除。另有線性代數工具(加減乘、縮放、反矩陣、轉置、行列式、秩、特徵值、QR 與 SVD 分解、正交基底、換基底)、向量微積分工具(投影、內積、外積、梯度、旋度、散度、拉普拉斯、方向導數),以及將函式或三維向量場繪成 PNG 圖的視覺化工具。
適用情境
適合在對話中需要反覆做矩陣運算、特徵值或奇異值分解、向量微積分,或想把函式與向量場畫成圖時加入。若只是一次性的簡單計算,直接自行計算可能更快。
執行需求
需連線至遠端端點,並以 OAuth 驗證,請求標頭須帶 Authorization 權杖。若自行在本機執行,需 Python 與 uv,服務預設於本機 8081 埠提供 MCP 端點。
安裝前請注意
張量儲存在伺服器進程記憶體中,且以工作階段為單位;服務閒置休眠或重啟後,先前的張量與工作階段會消失,長時間分析中途停頓可能導致資料遺失。此伺服器只能以單一實例執行,擴充多個副本會使張量儲存分裂。刪除張量為不可復原的操作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Aman Amith Shastry Scientific Computation Mcp,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.smithery%2FAman-Amith-Shastry-scientific_computation_mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "aman-amith-shastry-scientific-computatio": {
      "type": "http",
      "url": "https://server.smithery.ai/@Aman-Amith-Shastry/scientific_computation_mcp/mcp"
    }
  }
}

README

[MseeP.ai Security Assessment Badge]

Scientific Computation MCP

[smithery badge]

[Verified on MseeP]

[MCP Badge]

Installation Guide

The server speaks streamable HTTP. Add it from Smithery with the Smithery CLI (Node 20+):

bash
npm install -g smithery@latestsmithery mcp add @aman-amith-shastry/scientific_computation_mcp --client claude

The namespace is lowercase. Smithery's registry lookup is case-sensitive, and the mixed-case spelling resolves to an empty record with no tools rather than failing outright, so a capitalized name looks like a server with no capabilities.

Swap --client cursor for Cursor, or drop --client to add it as a remote Smithery connection. Restart the client afterwards so it picks up the server.

Running Locally

bash
uv syncuv run src/main.py

The MCP endpoint is at http://localhost:8081/mcp and a liveness probe at http://localhost:8081/health. Environment overrides: PORT, HOST, MCP_PATH, ALLOWED_ORIGINS, LOG_LEVEL.

Deployment

Smithery no longer builds or hosts containers — servers are published either as a URL that Smithery's gateway proxies to, or as an MCPB bundle for local stdio. This server is published by URL, so the container runs on any host that can serve HTTPS.

bash
docker build -t scientific-computation-mcp .docker run -p 8081:8081 -e PORT=8081 scientific-computation-mcp

Two constraints the host must satisfy:

  • One instance. Tensors live in process memory between tool calls, so scaling past a single replica splits the store and breaks create_tensor → view_tensor flows.
  • Sessions must survive. The transport runs stateful (stateless_http=False) and the tensor store is keyed per MCP session, which is what keeps concurrent users from reading each other's tensors.

Hosting on Render

render.yaml deploys the Dockerfile as a single free-plan web service. In the Render dashboard: New → Blueprint, then select this repo. Render injects PORT, terminates TLS, and probes /health; no other configuration is required.

Free instances spin down after 15 minutes without inbound traffic and take roughly a minute to come back. An open MCP session does not prevent this: the streamable-HTTP stream is server-to-client, so an idle session sends nothing inbound and the service sleeps out from under it. Two consequences worth planning around:

  • Tensors do not survive a 15-minute gap between tool calls. The store is in process memory, so a spin-down takes the session and its tensors together. Active use keeps the service up, since each tool call is inbound traffic; a long pause mid-analysis does not.
  • Publish-time scans can land on a sleeping instance. Smithery scans the URL as SmitheryBot/1.0, and a cold start can outrun its timeout. Warm /health first.

The free tier also grants 750 instance-hours per workspace per month against a ~730-hour month, so one continuously running free service just fits and a second does not.

Any host that keeps one process always on avoids all of this — the container is plain HTTP on $PORT with no platform-specific assumptions.

Publishing

bash
curl -sS -o /dev/null -w '%{http_code}\n' https://<your-host>/healthsmithery mcp publish "https://<your-host>/mcp" -n @aman-amith-shastry/scientific_computation_mcp

The server takes no user configuration, so no config schema is needed.

Components of the Server

Tools

Tensor storage
  • create_tensor: Creates a new tensor based on a given name, shape, and values, and adds it to the tensor store. For the purposes of this server, tensors are vectors and matrices.
  • view_tensor: Display the contents of a tensor from the store .
  • delete_tensor: Deletes a tensor based on its name in the tensor store.
Linear Algebra
  • add_matrices: Adds two matrices with the provided names, if compatible.
  • subtract_matrices: Subtracts two matrices with the provided names, if compatible.
  • multiply_matrices: Multiplies two matrices with the provided names, if compatible.
  • scale_matrix: Scales a matrix of the provided name by a certain factor, in-place by default.
  • matrix_inverse: Computes the inverse of the matrix with the provided name.
  • transpose: Computes the transpose of the inverse of the matrix of the provided name.
  • determinant: Computes the determinant of the matrix of the provided name.
  • rank: Computes the rank (number of pivots) of the matrix of the provided name.
  • compute_eigen: Calculates the eigenvectors and eigenvalues of the matrix of the provided name.
  • qr_decompose: Computes the QR factorization of the matrix of the provided name. The columns of Q are an orthonormal basis for the image of the matrix, and R is upper triangular.
  • svd_decompose: Computes the Singular Value Decomposition of the matrix of the provided name.
  • find_orthonormal_basis: Finds an orthonormal basis for the matrix of the provided name. The vectors returned are all pair-wise orthogonal and are of unit length.
  • change_basis: Computes the matrix of the provided name in the new basis.
Vector Calculus
  • vector_project: Projects a vector in the tensor store to the specified vector in the same vector space
  • vector_dot_product: Computes the dot product of two vectors in the tensor stores based on their provided names.
  • vector_cross_product: Computes the cross product of two vectors in the tensor stores based on their provided names.
  • gradient: Computes the gradient of a multivariable function based on the input function. Example call: gradient("x^2 + 2xyz + zy^3"). Do NOT include the function name (like f(x, y, z) = ...`).
  • curl: Computes the curl of a vector field based on the input vector field. The input string must be formatted as a python list. Example call: curl("[3xy, 2z^4, 2y]"").
  • divergenceComputes the divergence of a vector field based on the input vector field. The input string must be formatted as a python list. Example call: divergence("[3xy, 2z^4, 2y]"").
  • laplacianComputes the laplacian of a scalar function (as the divergence of the gradient) or a vector field (where a component-wise laplacian is computed). If a scalar function is the input, it must be input in the same format as in the gradient tool. If the input is a vector field, it must be input in the same manner as the curl/divergence tools.
  • directional_deriv: Computes the directional derivative of a function in a given direction u By default, the tool normalizes u before computing the directional derivative, as specified by the unit parameter.
Visualization
  • plot_vector_field: Plots a vector field (specified in the same format as in the curl/divergence functions). Currently, only 3d vector fields are supported. A 2d png perspective image of the vector field is returned. By default, the bounds of the graph are from -1 to 1 on each axis.
  • plot_function: Plots a function in 2d or 3d (based on the input variables), specified in the same format as in the gradient tool. Only the variables x and y can be used.

來源:README.md,提交 239f3ba

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v1.13.1最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Smithery 整合