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 集成