Skip to main content
Glama

Physics MCP Server

by BlinkZer0
schema.ts1.07 kB
/** * JSON Schemas for Quantum tools (scaffold) */ export const QuantumOpsSchema = { type: "object", properties: { operators: { type: "array", items: { type: "string" }, description: "Operator names/definitions" }, task: { type: "string", enum: ["commutator", "matrix_rep"], description: "Operation to perform" } }, required: ["operators", "task"] } as const; export const QuantumSolveSchema = { type: "object", properties: { problem: { type: "string", enum: ["sho", "particle_in_box", "custom"], description: "Preset or custom" }, hamiltonian: { type: "string", description: "Hamiltonian expression (for custom)" }, params: { type: "object", additionalProperties: true } }, required: ["problem"] } as const; export const QuantumVisualizeSchema = { type: "object", properties: { state: { type: "string", description: "State vector or density matrix in a simple string form" }, kind: { type: "string", enum: ["bloch", "prob_density"], description: "Visualization type" } }, required: ["state", "kind"] } as const;

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