{
  "markdown": "# slac-mcp\n\nMCP server exposing SLAC (Simple Logic & Arithmetic Compiler) as tools for LLM agents.\n\n## Tools\n\n| Tool | Parameters | Description |\n|------|-----------|-------------|\n| `evaluate` | `expression: string` | Compiles and evaluates a SLAC expression, returns the result |\n| `get_syntax` | none | Returns the full SLAC language reference (syntax, operators, functions, examples) |\n\n## Usage\n\n```sh\ncargo run\n```\n\nThe server communicates over stdio using the Model Context Protocol.\n\n### Output Format\n\nBy default, `evaluate` returns the Rust `Display` representation of the result. \nSet `OUTPUT_FORMAT=JSON` to get serialized JSON instead \n\n### With MCP Inspector\n\n```sh\nnpx @modelcontextprotocol/inspector cargo run\n```\n\n### Example expressions\n\n```\n1 + 2\nmax(10, 20) + 1\n'hello' + ' ' + 'world'\nlen('test') > 2 ? 'long' : 'short'\n```\n\n## Development\n\n```sh\ncargo build\ncargo run\n```\n\nRequires Rust 1.85+ (edition 2024).\n\n# License\n\nCopyright 2026 Dennis Prediger\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.",
  "bytes": 1494,
  "sha": "ee5c641d140d4c18d2dfb110ae51dbf7f56af9464b0014e3ca4abd036fc764c7",
  "repo_slug": "dennisprediger/slac-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_dennisprediger_slac_mcp_a0a99380/readme"
}