MCP Server Studio
An MCP server that lets AI agents check, render and show MapLibre styles
Registry name: io.github.birkskyum/maplibre-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"maplibre-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MAPLIBRE_MCP_TOOLSETS": "<MAPLIBRE_MCP_TOOLSETS>",
"MARTIN_URL": "<MARTIN_URL>"
}
}
}
}Run in your terminal:
claude mcp add maplibre-mcp -e MAPLIBRE_MCP_TOOLSETS='<MAPLIBRE_MCP_TOOLSETS>' -e MARTIN_URL='<MARTIN_URL>' -- npx -y [email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"maplibre-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MAPLIBRE_MCP_TOOLSETS": "<MAPLIBRE_MCP_TOOLSETS>",
"MARTIN_URL": "<MARTIN_URL>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"maplibre-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MAPLIBRE_MCP_TOOLSETS": "<MAPLIBRE_MCP_TOOLSETS>",
"MARTIN_URL": "<MARTIN_URL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"maplibre-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MAPLIBRE_MCP_TOOLSETS": "<MAPLIBRE_MCP_TOOLSETS>",
"MARTIN_URL": "<MARTIN_URL>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
MAPLIBRE_MCP_TOOLSETS | No | The toolsets to turn on, comma separated, like style,gl-js,martin. Defaults to style,gl-js, and all turns on every toolset. |
MARTIN_URL | No | The Martin server that the martin toolset reads and renders with. Defaults to http://localhost:3000. |