@showmeonmap/mcp 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -3
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
* "command": "npx",
|
|
22
22
|
* "args": ["-y", "@showmeonmap/mcp"],
|
|
23
23
|
* "env": {
|
|
24
|
-
* "
|
|
25
|
-
* "SHOWMEONMAP_API_KEY": "<optional-for-auth>"
|
|
24
|
+
* "SHOWMEONMAP_API_KEY": "smo_live_…"
|
|
26
25
|
* }
|
|
27
26
|
* }
|
|
28
27
|
* }
|
|
@@ -30,7 +29,9 @@
|
|
|
30
29
|
*/
|
|
31
30
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
32
31
|
import { createServer } from "./tools.js";
|
|
33
|
-
|
|
32
|
+
// Defaults to production so `npx @showmeonmap/mcp` works with only an API key.
|
|
33
|
+
// Override with SHOWMEONMAP_BASE_URL=http://localhost:3000 for local dev.
|
|
34
|
+
const BASE_URL = process.env.SHOWMEONMAP_BASE_URL ?? 'https://showmeonmap.com';
|
|
34
35
|
const API_KEY = process.env.SHOWMEONMAP_API_KEY;
|
|
35
36
|
async function main() {
|
|
36
37
|
// The stdio transport is launched as a child process by Claude Desktop /
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@showmeonmap/mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"mcpName": "com.showmeonmap/maps",
|
|
4
5
|
"description": "MCP server for ShowMeOnMap \u2014 geospatial visualization tools for any MCP-speaking agent (Claude Desktop, Cursor, Zed, ChatGPT Apps SDK)",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "./dist/index.js",
|