01 Software

MCP Server

Connect AI agents to your data via Model Context Protocol

MCP Server

01.software provides an MCP (Model Context Protocol) server that lets AI agents interact with your collections directly. Query, create, update, and delete data through natural language in tools like Claude, Cursor, VS Code, and more.

Setup

Get API Keys

In the 01.software Console, go to your tenant settings to find your API keys. Generate a new API key (opaque bearer token) directly from the Console.

Console API Keys
  • Publishable Key — Public key (read-only, pk01_...)
  • Secret Key — Private key for MCP authentication (read/write, sk01_...)

To generate the API key manually, see the CLI authentication docs.

Configure Your Client

Add the MCP server to your AI tool of choice.

Add via CLI command:

claude mcp add --transport http \
  --header "x-api-key: <your-api-key>" \
  01software https://mcp.01.software/mcp

Or create .mcp.json at your project root:

.mcp.json
{
  "mcpServers": {
    "01software": {
      "type": "http",
      "url": "https://mcp.01.software/mcp",
      "headers": {
        "x-api-key": "<your-api-key>"
      }
    }
  }
}

Add to .cursor/mcp.json (project root or ~/.cursor/mcp.json):

.cursor/mcp.json
{
  "mcpServers": {
    "01software": {
      "url": "https://mcp.01.software/mcp",
      "headers": {
        "x-api-key": "<your-api-key>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json:

mcp_config.json
{
  "mcpServers": {
    "01software": {
      "serverUrl": "https://mcp.01.software/mcp",
      "headers": {
        "x-api-key": "<your-api-key>"
      }
    }
  }
}
Windsurf uses serverUrl instead of url.

Add to .vscode/mcp.json:

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "01software-api-key",
      "description": "01.software API Key",
      "password": true
    }
  ],
  "servers": {
    "01software": {
      "type": "http",
      "url": "https://mcp.01.software/mcp",
      "headers": {
        "x-api-key": "${input:01software-api-key}"
      }
    }
  }
}

VS Code uses servers instead of mcpServers. The inputs array lets you securely prompt for the API key.

Add to claude_desktop_config.json:

claude_desktop_config.json
{
  "mcpServers": {
    "01software": {
      "url": "https://mcp.01.software/mcp",
      "headers": {
        "x-api-key": "<your-api-key>"
      }
    }
  }
}

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

Available Tools

The MCP server provides 35 tools for collection CRUD and ecommerce operations.

Generic CRUD (7)

ToolDescription
query-collectionQuery a collection with filtering, sorting, and pagination
get-collection-by-idGet a single item by ID
create-collectionCreate a new item
update-collectionUpdate an existing item
delete-collectionDelete an item
update-many-collectionBulk update items matching a filter
delete-many-collectionBulk delete items matching a filter

Order & Fulfillment (7)

ToolDescription
create-orderCreate order with products and shipping
update-orderUpdate order status (auto stock adjustment)
get-orderGet order by order number
checkoutConvert cart to order (stock validation)
create-fulfillmentCreate shipment for order items
update-fulfillmentUpdate fulfillment status (FSM: pending→packed→shipped→delivered)
update-transactionUpdate transaction status

Returns (3)

ToolDescription
create-returnCreate return request (delivered/confirmed orders)
update-returnUpdate return status (FSM validated)
return-with-refundCombined return + refund operation

Cart (6)

ToolDescription
add-cart-itemAdd product to cart (stock validated)
update-cart-itemUpdate cart item quantity
remove-cart-itemRemove item from cart
apply-discountApply a discount code to a cart
remove-discountRemove the applied discount from a cart
clear-cartRemove all items and reset discount/amounts

Product (1)

ToolDescription
stock-checkBatch check product option stock availability

Validation (2)

ToolDescription
validate-discountValidate a discount code against an order amount
calculate-shippingCalculate shipping fee from a policy

Schema (1)

ToolDescription
get-collection-schemaGet the authoritative tenant-aware schema for a collection

Tenant Context (1)

ToolDescription
get-tenant-contextGet current tenant configuration and feature flags

Field Config (2)

ToolDescription
list-configurable-fieldsList all configurable fields with current visibility state
update-field-configUpdate field visibility configuration for a collection

Guidance (4)

ToolDescription
sdk-get-recipeGet SDK code recipe for a specific use case
sdk-search-docsSearch SDK documentation
sdk-get-auth-setupGet auth setup guide for a specific framework
sdk-get-collection-patternGet collection usage pattern for a specific collection

Write operations require a Secret Key. If you only provided a Publishable Key, only read operations will be available.

Usage Examples

Once configured, you can interact with your data using natural language:

  • "Show me the latest 10 published products"
  • "Create a new post with title 'Hello World'"
  • "Update all draft posts to published status"
  • "How many orders were created this month?"
  • "Delete the product with ID abc123"

Prompts

The MCP server includes built-in prompts to help AI assistants understand your data:

PromptDescription
sdk-usage-guideSDK usage patterns and best practices
collection-query-helpQuery writing assistance for specific collections
order-flow-guideOrder flow and ecommerce workflow guide
feature-setup-guideFeature setup checklist and remediation guide

Resources

The MCP server exposes documentation and schema information as resources:

ResourceURIDescription
App Configconfig://appApplication configuration
Collection Schemacollections://schemaCollection field definitions
Getting Starteddocs://sdk/getting-startedOnboarding guide
Guidesdocs://sdk/guidesUsage guides
API Referencedocs://sdk/apiREST API documentation
Query Builderdocs://sdk/query-builderQuery builder reference
React Querydocs://sdk/react-queryReact Query hooks guide
Server APIdocs://sdk/server-apiServer-side API usage
Customer Authdocs://sdk/customer-authCustomer authentication guide
Browser vs Serverdocs://sdk/browser-vs-serverClient-side vs server-side guide
File Uploaddocs://sdk/file-uploadFile upload guide
Webhookdocs://sdk/webhookWebhook integration guide

Supported Collections

All SDK-accessible collections are available through MCP:

  • Tenant — tenants, tenant-metadata, tenant-logos
  • Products — products, product-variants, product-options, product-categories, product-tags, product-collections, brands, brand-logos
  • Orders — orders, order-items, returns, return-items, fulfillments, fulfillment-items, transactions
  • Customers — customers, customer-addresses, customer-groups
  • Carts — carts, cart-items, discounts, shipping-policies
  • Documents — documents, document-categories, document-types
  • Posts — posts, post-authors, post-categories, post-tags
  • Playlists — playlists, playlist-categories, playlist-tags, playlist-tracks, tracks, track-assets, track-categories, track-tags
  • Galleries — galleries, gallery-items, gallery-categories, gallery-tags
  • Links — links, link-categories, link-tags
  • Canvas — canvases, canvas-node-types, canvas-edge-types, canvas-categories, canvas-tags
  • Videos — videos, video-categories, video-tags
  • Live Streams — live-streams
  • Community — threads, comments, reactions, reaction-types, bookmarks, thread-categories, reports, community-bans
  • Images — images
  • Forms — forms, form-submissions

Security

  • Store your API key securely. Do not share it or commit it to version control.
  • Use environment variables in production environments.
  • The API key is an opaque bearer token (sk01_...) that grants full read/write access to your tenant.

Next Steps

Last Updated: 2026-04-09

On this page