Koskamo

HexSketch MCP

An MCP server that integrates a chemical structure editor into AI chats, allowing users to draw, name, and validate chemical structures and reaction schemes directly within the interface.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

HexSketch MCP logo, by HexSketchCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by HexSketch
You need:On a Team or Enterprise plan, an owner adds the connector first.
MCP endpoint (Streamable HTTP)
https://mcp.hexsketch.com/mcp
Vendor documentation

What its tools do

9 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

Can change data (1)

9 of 9 have a description · 9 of 9 declare behavior hints · 6 of 9 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

What you can do with it

  • Draw chemical structures and reaction schemes
  • Name structures using IUPAC nomenclature
  • Validate SMILES strings before presentation
  • Analyze structure properties like formula and masses

Source and maintenance

Community listingRegistry 0.1.8
Maintenance checked

Protocol and capabilities

Server
hexsketch 0.1.8
MCP protocol negotiated in check
2025-11-25
Tools
9 advertised
Resources
1 advertised
Resource templates
0 advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "resources": {
    "listChanged": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

HexSketch draws, names and checks chemical structures. - Give structures as SMILES, molfile or CDXML text, or a HexSketch link. Not names: HexSketch does not turn names into structures. - Show every structure and reaction you discuss with render_structure: it returns the picture with its name, formula and any problems found (check them against what you meant, so draw first rather than calling validate_structure first), and a link that opens it in HexSketch at hexsketch.com, in the browser, where the user can edit it by drawing. Always give the user the link. Where you can show a web page beside the chat (a preview pane or a browser tool), open the link there as well, so the editor is open with the drawing as you talk. Use validate_structure for a SMILES you only give in text. - Protecting groups are drawn abbreviated, as chemists write them (Boc, Fmoc, Cbz, Alloc, Troc, TBS, TIPS, TES, TBDPS, TMS, Trt, Pbf, PMB, Bn and tBu on O, MOM, THP): write them in full in the SMILES, and names, formulas and checks still see every atom. A highlight or label can't point inside an abbreviation; atoms with map numbers are never abbreviated. - Peptides are drawn as chemists draw them, from the SMILES alone: N-terminus on the left, the backbone a flat zigzag, the side chains on wedges showing their configuration. Write their stereocentres in the SMILES. Oligonucleotides likewise: a strand, 5′ end at the top, bases to the right. - Draw every reaction as a scheme, with the reaction input: starting materials, then an arrow, then products, never just side by side. Always write the reagents and catalysts above the arrow and the solvent, temperature, time (and yield, if known) below it, as a chemist would; one arrow per step for a sequence. - Draw a retrosynthesis or a synthesis as one scheme on one page, in one call, not as steps, so the chemist sees the whole route at once: a reaction from the target with retrosynthetic arrows back to the starting materials, the disconnections marked on the target (disconnect, by atom-map numbers given only in the target, the first stage), and the forward route with its reagents and conditions in then, below it. HexSketch checks that atoms balance, not whether a route works or its materials can be bought: say so when it matters. - Draw a mechanism in one render_structure call, with steps, so the whole of it is on one page: each step its species as SMILES with atom-map numbers on the atoms the arrows touch ("[OH-:1].[CH3:2][Br:3]"), its curly arrows from a lone pair ([1]) or a bond ([2, 3]) to an atom ([3]) or to a bond, existing or being made ([1, 2]), and a note of a few words naming it. HexSketch draws the steps left to right, an arrow from each to the next with its name above. Show intermediates with their charges, and keep the same map numbers from step to step. - Give related structures as SMILES and HexSketch draws them the same way round: in a scheme, each structure keeps the orientation of the first related one before it, so the same compound is drawn identically. - Text that starts "Structure from HexSketch" (from Edit › Copy for AI in HexSketch), or a hexsketch.com link, is a structure the user drew: read the SMILES from it, or pass the link to these tools.

Tools

9 advertised

render_structure — Draw a structure
Advertised by the server during the last successful anonymous check.
Advertised read-only

Draw a chemical structure, or a reaction scheme (reaction), as a publication-quality image (PNG by default), with its name, SMILES, formula and a link that opens it in HexSketch at hexsketch.com, where the user can edit it by drawing. Give structures as SMILES, not names. Check the name and formula returned against what you meant, and always give the user the link; where you can show a web page beside the chat (a preview pane, a browser tool), open the link there too. Draw every reaction as a scheme: reagents above the arrow, solvent, temperature, time and yield below; a whole synthesis or retrosynthesis as one scheme (then); a mechanism as steps, all on one page (with cycle: true for a catalytic cycle, drawn round a circle).

render_structure input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "cycle": {
      "type": "boolean"
    },
    "steps": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "structure"
        ],
        "properties": {
          "note": {
            "type": "string"
          },
          "arrows": {
            "type": "array"
          },
          "structure": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "maxItems": 10,
      "minItems": 2,
      "description": "A mechanism on one page: steps, each its species as SMILES with atom-map numbers, its curly arrows (given as for arrows) and a few words naming it."
    },
    "style": {
      "enum": [
        "hexsketch",
        "acs"
      ],
      "type": "string",
      "description": "Drawing style: hexsketch (default) or acs (ACS 1996 journal style)."
    },
    "arrows": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "from",
          "to"
        ],
        "properties": {
          "to": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0
            },
            "maxItems": 2,
            "minItems": 1,
            "description": "Where they go: [2] onto atom 2, [1, 2] into the bond 1–2, existing or being made (a nucleophile attacking: from [1] to [1, 2])."
          },
          "from": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0
            },
            "maxItems": 2,
            "minItems": 1,
            "description": "Where the electrons come from, by atom-map number: [3] a lone pair on atom 3, [2, 3] the bond between atoms 2 and 3."
          },
          "colour": {
            "enum": [
              "yellow",
              "blue",
              "orange",
              "green",
              "purple"
            ],
            "type": "string",
            "description": "Arrow colour, as a highlight colour name; default black."
          },
          "electrons": {
            "enum": [
              1,
              2
            ],
            "type": "number",
            "description": "2 (default): an electron pair, full arrowhead. 1: one electron, a fishhook (radical steps)."
          }
        },
        "additionalProperties": false
      },
      "maxItems": 12,
      "description": "Curly (electron-pushing) arrows for a mechanism step, drawn on the structure or reaction given in the same call. Give it as SMILES with atom-map numbers on the atoms the arrows touch, e.g. \"[OH-:1].[CH3:2][Br:3]\" with arrows [{from:[1],to:[1,2]},{from:[2,3],to:[3]}]. A mapped atom written as just its element ([C:1]) keeps its usual hydrogens; separate species are drawn close together, the attacking one beside the atom it attacks. HexSketch places each arrow clear of the drawing."
    },
    "format": {
      "enum": [
        "png",
        "svg",
        "pdf",
        "cdxml",
        "mol"
      ],
      "type": "string",
      "description": "Output format; default png. PDF needs save_to."
    },
    "reaction": {
      "type": "object",
      "required": [
        "stages"
      ],
      "properties": {
        "then": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "stages"
            ],
            "properties": {
              "arrows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "enum": [
                        "forward",
                        "equilibrium",
                        "retrosynthetic"
                      ],
                      "type": "string"
                    },
                    "reagents": {
                      "type": "string",
                      "maxLength": 200
                    },
                    "conditions": {
                      "type": "string",
                      "maxLength": 200
                    }
                  },
                  "additionalProperties": false
                }
              },
              "stages": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "maxItems": 8,
                "minItems": 2
              }
            },
            "additionalProperties": false
          },
          "maxItems": 3,
          "description": "More schemes, given as stages and arrows like this one, drawn below it in the same drawing, each starting on a new row: for a retrosynthesis, the forward route (with its reagents and conditions) below the retrosynthetic analysis, so the whole route is on one page."
        },
        "arrows": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "enum": [
                  "forward",
                  "equilibrium",
                  "retrosynthetic"
                ],
                "type": "string",
                "description": "forward (default), equilibrium or retrosynthetic."
              },
              "reagents": {
                "type": "string",
                "maxLength": 200,
                "description": "Written above the arrow: reagents and catalysts, e.g. \"MeOH, H2SO4 (cat.)\" or \"1. LDA  2. MeI\". Digits in formulas are subscripted."
              },
              "conditions": {
                "type": "string",
                "maxLength": 200,
                "description": "Written below the arrow: solvent, temperature, time and yield, e.g. \"THF, −78 °C to rt, 2 h\" (a second line after \\n, e.g. \"85%\")."
              }
            },
            "additionalProperties": false
          },
          "description": "One per step, between consecutive stages (one fewer than the stages)."
        },
        "stages": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "maxItems": 8,
          "minItems": 2,
          "description": "SMILES of each stage, left to right: starting materials, any intermediates, products. Join the structures of one stage with \".\" and they are drawn with \"+\" between them, e.g. [\"CC(=O)O.OCC\", \"CC(=O)OCC.O\"]."
        }
      },
      "description": "A reaction scheme instead of a single structure: starting materials, an arrow with the reagents above it and the solvent and conditions below, and the products. Use it for every reaction or synthetic step.",
      "additionalProperties": false
    },
    "structure": {
      "type": "string",
      "maxLength": 1000000,
      "minLength": 1,
      "description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
    },
    "disconnect": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "integer",
          "minimum": 0
        },
        "maxItems": 2,
        "minItems": 2
      },
      "maxItems": 6,
      "description": "Retrosynthesis: bonds of the target to mark as disconnections, by their atoms' map numbers in the SMILES. [[1, 2]] draws a wavy line across the bond 1–2. With a reaction, the marks go on its first stage, the target: give the map numbers there only."
    }
  },
  "additionalProperties": false
}
render_structure annotations
{
  "title": "Draw a structure",
  "readOnlyHint": true,
  "openWorldHint": false,
  "destructiveHint": false
}
name_structure — Name a structure
Advertised by the server during the last successful anonymous check.
Advertised read-only

The IUPAC name of a structure, generated offline. Returns name null with a reason when the structure is outside what HexSketch names.

name_structure input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "structure"
  ],
  "properties": {
    "structure": {
      "type": "string",
      "maxLength": 1000000,
      "minLength": 1,
      "description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
    }
  },
  "additionalProperties": false
}
name_structure annotations
{
  "title": "Name a structure",
  "readOnlyHint": true,
  "openWorldHint": false
}
analyze_structure — Analyze a structure
Advertised by the server during the last successful anonymous check.
Advertised read-only

Name, SMILES (with stereochemistry), molecular formula, exact (monoisotopic) mass, molecular weight, elemental analysis and isotope pattern (m/z). Mixtures and salts are also given per structure. For a drawing (a HexSketch link or CDXML), also its arrows and text: the reagents and conditions written on each arrow.

analyze_structure input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "structure"
  ],
  "properties": {
    "structure": {
      "type": "string",
      "maxLength": 1000000,
      "minLength": 1,
      "description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
    }
  },
  "additionalProperties": false
}
analyze_structure annotations
{
  "title": "Analyze a structure",
  "readOnlyHint": true,
  "openWorldHint": false
}
validate_structure — Check a structure
Advertised by the server during the last successful anonymous check.
Advertised read-only

Check a structure, typically a SMILES you wrote, before presenting it: catches unreadable SMILES, names given instead of SMILES, aromatic rings that cannot be kekulized, atoms over or under their valence, unusual charges and radicals. Returns ok, issues (error, warning or note), and the name and formula to compare with what you meant. Never fails on bad input; it reports it.

validate_structure input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "structure"
  ],
  "properties": {
    "structure": {
      "type": "string",
      "maxLength": 1000000,
      "minLength": 1,
      "description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
    }
  },
  "additionalProperties": false
}
validate_structure annotations
{
  "title": "Check a structure",
  "readOnlyHint": true,
  "openWorldHint": false
}
convert_structure — Convert a structure
Advertised by the server during the last successful anonymous check.
Advertised read-only

Convert a structure to SMILES (with stereochemistry), a molfile (V2000), CDXML (ChemDraw) or a HexSketch link.

convert_structure input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "structure",
    "to"
  ],
  "properties": {
    "to": {
      "enum": [
        "smiles",
        "mol",
        "cdxml",
        "link"
      ],
      "type": "string",
      "description": "Target format."
    },
    "structure": {
      "type": "string",
      "maxLength": 1000000,
      "minLength": 1,
      "description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
    }
  },
  "additionalProperties": false
}
convert_structure annotations
{
  "title": "Convert a structure",
  "readOnlyHint": true,
  "openWorldHint": false
}
compare_structures — Compare two structures
Advertised by the server during the last successful anonymous check.
Advertised read-only

Are two structures the same compound, and the same stereoisomer? The inputs may be in different formats (a SMILES against a drawing, for instance).

compare_structures input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "a",
    "b"
  ],
  "properties": {
    "a": {
      "type": "string",
      "maxLength": 1000000,
      "minLength": 1,
      "description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
    },
    "b": {
      "type": "string",
      "maxLength": 1000000,
      "minLength": 1,
      "description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
    }
  },
  "additionalProperties": false
}
compare_structures annotations
{
  "title": "Compare two structures",
  "readOnlyHint": true,
  "openWorldHint": false
}
structure_link — Link to edit in HexSketch
Advertised by the server during the last successful anonymous check.
Advertised read-only

A link that opens the structure in HexSketch (in the browser, nothing to install), where the user can edit it by drawing and copy it back. Give it to the user whenever they may want to change a structure.

structure_link input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "structure"
  ],
  "properties": {
    "style": {
      "enum": [
        "hexsketch",
        "acs"
      ],
      "type": "string",
      "description": "Drawing style: hexsketch (default) or acs (ACS 1996 journal style)."
    },
    "structure": {
      "type": "string",
      "maxLength": 1000000,
      "minLength": 1,
      "description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
    }
  },
  "additionalProperties": false
}
structure_link annotations
{
  "title": "Link to edit in HexSketch",
  "readOnlyHint": true,
  "openWorldHint": false
}
sketch_updates
Advertised by the server during the last successful anonymous check.
Advertised read-only

Used by the HexSketch editor to fetch what show_in_sketcher asked it to show. Not for the model.

sketch_updates input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "sketch",
    "since"
  ],
  "properties": {
    "wait": {
      "type": "integer",
      "maximum": 20000,
      "minimum": 0
    },
    "since": {
      "type": "integer"
    },
    "sketch": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
sketch_updates annotations
{
  "title": "Fetch editor updates",
  "readOnlyHint": true,
  "openWorldHint": false
}
sketch_sync
Advertised by the server during the last successful anonymous check.

Used by the HexSketch editor to report the user's drawing, so read_sketcher can see it. Not for the model.

sketch_sync input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "sketch",
    "cdxml"
  ],
  "properties": {
    "cdxml": {
      "type": "string",
      "maxLength": 1000000
    },
    "sketch": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
sketch_sync annotations
{
  "title": "Report the drawing",
  "readOnlyHint": false,
  "openWorldHint": false,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

1 advertised

HexSketch editor

Advertised by the server during the last successful anonymous check.

The HexSketch structure editor, for drawing and editing structures in the chat.

HexSketch editor URI
ui://hexsketch/sketcher.html

MIME type: text/html;profile=mcp-app

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (26 of 26 checks answered)

  1. 2026-11-23: 3 of 3 checks answered
  2. 2026-11-24: 4 of 4 checks answered
  3. 2026-11-25: 4 of 4 checks answered
  4. 2026-11-26: 4 of 4 checks answered
  5. 2026-11-27: 4 of 4 checks answered
  6. 2026-11-28: 3 of 3 checks answered
  7. 2026-11-29: 4 of 4 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
778 ms
95th percentile latency
799 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 754 ms · 9 tool(s), 1 resource(s), 0 resource template(s)
  • · probe · passed · 801 ms · metadata changed · 9 tool(s), 1 resource(s), 0 resource template(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http hexsketch-mcp https://mcp.hexsketch.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add hexsketch-mcp --url https://mcp.hexsketch.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable hexsketch-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "hexsketch-mcp": {
      "url": "https://mcp.hexsketch.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "hexsketch-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.hexsketch.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start hexsketch-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "hexsketch-mcp": {
      "type": "http",
      "url": "https://mcp.hexsketch.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http hexsketch-mcp https://mcp.hexsketch.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.hexsketch.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "hexsketch-mcp": {
      "serverUrl": "https://mcp.hexsketch.com/mcp"
    }
  }
}

Let your agent find its tools

Find servers like HexSketch MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.