Iteration Layer

Cursor

Cursor supports MCP servers through project-level and global configuration. Add Iteration Layer as a remote MCP server to let Cursor agents call Document Extraction, Document to Markdown, Website Extraction, Image Transformation, Image Generation, Document Generation, and Sheet Generation tools.

Requirements

  • Cursor with MCP support
  • An Iteration Layer account
  • Browser access for OAuth authorization

MCP Server Endpoint

https://api.iterationlayer.com/mcp

Project Setup

Create or update .cursor/mcp.json in your project:

{
  "mcpServers": {
    "iterationlayer": {
      "url": "https://api.iterationlayer.com/mcp"
    }
  }
}

Cursor handles OAuth for remote MCP servers. Iteration Layer MCP uses OAuth 2.1, so do not add an API key header.

Global Setup

For all Cursor projects, add the same server to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "iterationlayer": {
      "url": "https://api.iterationlayer.com/mcp"
    }
  }
}

Use project setup when the MCP server should be part of a repo’s shared development workflow. Use global setup for personal access across projects.

Verify The Connection

Restart Cursor or reload MCP tools, then ask the agent:

Which Iteration Layer tools can you use?

You should see tools such as:

  • convert_document_to_markdown
  • extract_document
  • extract_website
  • transform_image
  • generate_image
  • generate_document
  • generate_sheet

First Workflow

Try a workflow that starts in the codebase:

Use Iteration Layer to test a document extraction workflow with this sample invoice, then add a TypeScript helper that calls the production API with the schema we tested.

Cursor can use MCP for exploration and then edit application code that calls the REST API or SDK.

Troubleshooting

The server is not visible

Check JSON syntax in .cursor/mcp.json or ~/.cursor/mcp.json. A malformed file can prevent Cursor from loading the server.

OAuth does not start

Confirm the server entry uses url only and does not include a static Authorization header. Iteration Layer MCP expects OAuth.

Project and global config conflict

If both configs define iterationlayer, remove one or make sure they point to the same endpoint.