Skip to main content

Magic Lane MCP DevKit Server

Last updated: December 2, 2026 | 8 minutes read

v1.0.0 Release notes

The Magic Lane MCP DevKit Server turns the chores around a Magic Lane app into a conversation. Instead of switching to the developer portal to copy a style, set up a project or fetch a map file, you ask your AI assistant, and it does the work on your own account, with the keys you give it. The server offers 20 tools in three groups: styles, projects and API keys, and offline maps. You choose which groups to turn on, and the levels of your key decide what the assistant may change.

Your assistant cannot see your account​

An AI coding assistant can write the code that loads a map style, passes an API key or opens an offline map. What it cannot do is reach the things that code depends on. The style lives in Magic Lane Studio. The project, its allowed origins and its API keys live in the developer portal. The offline maps are files of a particular map version that have to be found and downloaded.

So the work falls back to you. You leave the editor, find the style, download it and paste some 180 KB of JSON into a chat. You create a project by hand and copy its key into the conversation, where a secret does not belong. You look up which map files a version has and fetch them one by one.

Each step is small, but together they are where the flow breaks and where mistakes get in: an old copy of a style saved over a newer one, a key left in a chat history, a regional map whose version does not match its basemap.

Give your assistant a key to your account​

The Magic Lane MCP DevKit Server closes that gap. It is built on the open Model Context Protocol (MCP) standard: you register the server once in your AI client, and the assistant discovers its tools and decides when to call them. The server talks to the developer portal with a secret key that you create (see Create a secret key), so the assistant works on your account, and only as far as that key allows.

Magic Lane MCP DevKit Server
Magic Lane MCP DevKit Server

Key advantages:

  • Your account, your limits: the server acts with a secret key that you create in the portal. The key has a level for each category (Studio, Projects, API keys), Read or Read & write, and a tool the key does not cover answers with the level to add.
  • Only the tools you need: the three groups of tools are toolsets that you turn on or off. A toolset that is off is not offered at all, whatever the key allows.
  • No change is lost: every style has a version that changes on each save. A save names the version it was based on, so a change made in Studio in the meantime is never overwritten.
  • Secrets stay out of the conversation: the secret key comes from the server's environment and is never a tool input. API keys are masked in results, and a full key can be written to a file instead of being shown.
  • Problems found before the save: a style document is checked against the style schema on your computer, and every problem is listed with its place in the JSON.
  • Files instead of pastes: on a local server, a style, an API key or an offline map goes straight to a file, and an existing file is never replaced unless you ask for it.
  • Multi-client compatibility: works with Claude Code, Claude Desktop (also as an extension), Grok Build (formerly Cursor), VS Code with GitHub Copilot, Windsurf, JetBrains AI Assistant, Codex, Gemini CLI, and any other MCP-compatible client.
  • Transport flexibility: supports stdio for a server on your own computer and Streamable HTTP for web applications and custom integrations.

What does that look like?​

Consider a developer who gets their Fleet style ready for EV drivers with three requests to their AI assistant:

"Get my Fleet map ready for our EV drivers: main roads in teal (#0FA3A3), toll roads in purple (#7C3AED), minor streets faded. Save it."

"Our drivers only need charging stations and parking. Make those icons bigger, hide the other POIs and save."

"Now give Fleet a night look for the evening shift: dark base, keep the road and icon colours. Save it to Fleet itself, don't create a new style."

The three requests above, with the style open in Studio.

For each request, an assistant connected to the MCP DevKit Server can:

  • Find the style in your account and read its JSON, together with its current version.
  • Look up the style editing essentials, so it knows, for example, that colours are stored as ABGR integers and which POI category numbers stand for charging stations and parking.
  • Pick the layers by the map data they draw, not by their names: the main roads, toll roads and minor streets, the POI layers, then the land, water, parks, buildings and labels.
  • Edit the style and validate the result against the style schema, before anything is sent. In the run above, the charging and parking icons grow from size 3 to 5, and the other 23 POI layers are removed, since a style has no switch to hide a layer.
  • Save the style in place, naming the version it read. If you changed the style in Studio in the meantime, the save is refused and nothing is overwritten.
  • Tell you what it changed, and what it kept: the night look leaves the road colours and the charging and parking icons as they were.

Studio picks up each save by itself, as the clip shows: an Updated elsewhere notice appears, and undo starts again from the saved version. An assistant's save is not a step in Studio's History: to take it back, ask the assistant, or change the style back in Studio. The style is saved, not published: publishing stays in Studio.

The same goes for the rest of your account:

"Create a project called Fleet tracker for https://fleet.example.com, and an API key named Production that is valid until the end of 2027. Save the key to keys/fleet.txt."

The assistant creates the project with that origin, creates the key with the expiry you asked for and writes it to the file. The key itself never appears in the conversation.

"Which offline maps does map version 7.546 have for the Netherlands? Download them and the world basemap into ./maps."

The assistant looks the maps up in the catalog of that version and downloads each file. Every download is checked against the size and checksum the catalog gives, and one that breaks off is resumed, not started again.

What stays with you​

The server does not do everything the portal does. For these, your assistant sends you to the right place instead of guessing:

  • In Studio: publishing, reverting and deleting styles, previews and thumbnails, and privacy settings.
  • In the developer portal: disabling or deleting projects and API keys, showing hidden projects or a project's offline maps key, and creating secret keys.

A save through the server only saves. To publish a style, open it in Magic Lane Studio.

Three servers, three jobs​

Magic Lane has three MCP servers. Each has its own job, and they can be used side by side:

ServerWho it is forWhat it works onWhat it needs
MCP ServerAI agents and the applications built on themLocation search, routing, isochrones, geofences and map renderingA Magic Lane API key
MCP Docs ServerAI coding toolsThe Magic Lane documentation, read-onlyNo account and no key
MCP DevKit ServerYou, the developerYour own account: styles, projects, API keys and offline mapsYour secret key

Studio's AI assistant drawer gives you this server's settings ready to paste, with the style tools only. See AI assistant.

The Magic Lane MCP DevKit Server is available under the Apache 2.0 license. We'd love to hear how you're using it - share feedback, report issues, or contribute on GitHub.