Skip to main content
Glama

Physics MCP Server

by BlinkZer0
index.js736 B
import { getWorkerClient } from "../../tools-cas/dist/worker-client.js"; import { StatmechPartitionSchema } from "./schema.js"; export function buildStatmechTools() { return [ { name: "statmech_partition", description: "Calculate partition function and thermodynamic quantities from energy levels", inputSchema: StatmechPartitionSchema, }, ]; } export async function handleStatmechTool(name, args) { const worker = getWorkerClient(); switch (name) { case "statmech_partition": return await worker.call("statmech_partition", args); default: throw new Error(`Unknown StatMech tool: ${name}`); } } export * from "./schema.js";

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BlinkZer0/Phys-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server