{
 "name": "xpsflow",
 "version": "0.1.0",
 "description": "Physics-constrained XPS analysis tools over the Model Context Protocol: read instrument files, grade spectra, reference the energy scale, identify elements, fit and audit core levels, quantify, and compare samples. Runs on the user's machine; each session is sandboxed to a data directory.",
 "homepage": "https://xpsflow.pages.dev/",
 "documentation": "https://xpsflow.pages.dev/docs/mcp",
 "repository": "https://github.com/KarthikSubramanian07/XPS-Flow",
 "license": "MIT",
 "endpoint": "https://xpsflow.pages.dev/mcp",
 "transports": [
  {
   "type": "streamable-http",
   "url": "https://xpsflow.pages.dev/mcp",
   "hosted": true,
   "authentication": "none",
   "description": "Read-only reference server on this site: curated chemical states with citations, core levels and doublets for 98 elements, the built-in fit templates and the documentation. No analysis runs here.",
   "tools": [
    "lookup_element",
    "lines_near",
    "find_chemical_state",
    "list_templates",
    "get_template",
    "read_docs"
   ]
  },
  {
   "type": "stdio",
   "command": "xpsflow",
   "args": [
    "mcp",
    "--data",
    "<directory>"
   ],
   "install": "pip install \"xpsflow[mcp]\"",
   "description": "The full analysis tool set, on the user's machine."
  },
  {
   "type": "streamable-http",
   "url": "http://127.0.0.1:8766/mcp",
   "command": "xpsflow",
   "args": [
    "mcp",
    "--http",
    "--port",
    "8766"
   ],
   "description": "The full analysis tool set over HTTP, on the user's machine."
  }
 ],
 "capabilities": {
  "tools": true,
  "resources": true,
  "prompts": true
 },
 "resources": [
  "xpsflow://templates",
  "xpsflow://elements/{symbol}"
 ],
 "prompts": [
  "analyze-sample"
 ]
}