Skip to content
oktadevPublic

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Tube Companion - a winter London skyline

A London Tube MCP server and a minimal client. Check line status, plan journeys, translate Cockney slang and manage an Oyster card.

mcp-lab/
├── server/   MCP server (Express, Streamable HTTP)
└── client/   Minimal MCP client

Prerequisites

  • Node.js 22.12 or newer (22 LTS). Check with node -v.
  • A public URL: use either GitHub Codespaces (port 8080 set to Public) or a cloudflared tunnel.

Run

npm install                # installs both workspaces
npm run dev                # starts the server and an interactive client; type quit to stop both
PORT=9090 npm run dev      # same, on another port (default 8080)

In the client prompt:

mcp> tools
mcp> call line_status {"line":"Jubilee"}
mcp> call oyster_balance
mcp> quit

Or run them separately, in two terminals:

npm run server             # http://localhost:8080/mcp  (PORT=9090 npm run server for another port)
npm run client             # MCP_URL=http://localhost:9090/mcp MCP_TOKEN=<token> npm run client

Test

npm test

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages