mcptestingwm
A minimal MCP server for validating connectivity to World Monitor, exposing tools for latest events, active alerts, country risk, and top incidents.
Ask AI about mcptestingwm
Powered by Claude · Grounded in docs
I know everything about mcptestingwm. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
mcptestingwm
Test repository for validating MCP connectivity to the World Monitor MCP.
It includes a minimal MCP server setup used to connect custom tools to the WorldMonitor Connect MCP panel.
Repo layout
my-mcp-server/: the actual Node-based MCP server
What this server exposes
POST /mcpGET /health- MCP methods:
initializenotifications/initializedtools/listtools/call
Available tools
latest_eventsactive_alertscountry_risktop_incidents
These tools return JSON inside MCP text content blocks so WorldMonitor can render the results in panels.
Run locally
export MCP_TOKEN=change-me
npm start
You can also run the server from inside my-mcp-server/, but the repo root now works directly as the Railway entrypoint.
Deploy on Railway
- Push this repo to GitHub.
- Create a Railway project from the GitHub repo.
- Add the
MCP_TOKENenvironment variable in Railway. - Deploy the service.
- Copy the public Railway domain.
This repo is now root-deployable on Railway, so you do not need to set a Root Directory override.
Your MCP URL in WorldMonitor will be:
https://your-railway-domain/mcp
Connect in WorldMonitor
- Open the WorldMonitor Pro panel.
- Choose Connect MCP.
- Paste your public
/mcpURL. - Paste your bearer token.
- Click Connect & List Tools.
- Add a panel for any of the listed tools.
More details
See my-mcp-server/README.md for request examples and tool payloads.
