{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Flute CLI MCP","siteUrl":"https://developer.flute.com","description":"Documentation and API reference for integrating Flute payment processing.","lang":"en-US","projectTitle":"Flute Payments API","jsonLd":{"@context":"https://schema.org","@type":"WebSite","name":"Flute Developer Portal","url":"https://developer.flute.com","description":"Documentation and API reference for integrating Flute payment processing."},"meta":[{"name":"og:type","content":"website"},{"name":"og:site_name","content":"Flute Payments API"},{"name":"twitter:card","content":"summary"}],"llmstxt":{"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"flute-cli-mcp","__idx":0},"children":["Flute CLI MCP"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Flute CLI MCP is an MCP (model context protocol) server for the Flute platform."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The server exposes API tools within several command groups."," ","These cover transactions, ACH, customers, terminals, devices, and more."," ","POS, settlements, subscriptions, and tokens are also included."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A few commands are excluded on purpose, like interactive login."," ","Long-polling commands are excluded since they don’t fit one call."," ","Errors are reported clearly, with distinct kinds for each failure."," ","This lets agents act on Flute data safely and predictably."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Credentials are never handled by the server itself."," ","They are stored in the OS keychain or environment variables instead."," ","Each server instance is pinned to one profile at startup."," ","Profiles are either sandbox or production, never both at once."," ","Production instances default to read-only access for safety."," ","Writes require an operator to explicitly enable them first."," ","This prevents accidental charges, refunds, or account changes."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For complete Flute CLI MCP details, including installation, operations, and help,"," ","see ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://github.com/getflute/flute-cli-mcp#flute-cli-mcp","target":"_blank","rel":"noopener"},"children":["Flute CLI MCP"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"what-is-an-mcp-server","__idx":1},"children":["What is an MCP Server?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["An MCP (model context protocol) server exposes a set of API capabilities in a standard format."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["It lets an AI agent drive the Flute command line tool."," ","Otherwise, every AI app would need a custom integration for every tool."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each tool call spawns a flute process and returns JSON."," ","Errors come back in the CLI’s own error envelope too."," ","Host apps like Claude Desktop or Codex can use this server directly."," ","Agents never touch the Flute API directly this way."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["These MCP capabilities are tools, resources, and prompts."," ","Any MCP-compatible host or client can talk to it the same way."," ","In the case of Flute CLI MCP, the server exposes the Flute CLI’s commands as MCP tools."," ","Any MCP aware agent can call them this way."," ","The agent never needs to know anything about the CLI itself."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"license","__idx":2},"children":["License"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["MIT."]}]},"headings":[{"value":"Flute CLI MCP","id":"flute-cli-mcp","depth":1},{"value":"What is an MCP Server?","id":"what-is-an-mcp-server","depth":1},{"value":"License","id":"license","depth":1}],"frontmatter":{"title":"Flute CLI MCP","description":"An MCP server that lets an AI agent drive the Flute CLI","seo":{"title":"Flute CLI MCP"}},"lastModified":"2026-11-06T17:55:05.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/sdk/flute-cli-mcp","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}