Skip to content

sgarimel/nexusclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NexusMCP Client (CLI)

A minimal TypeScript CLI agent that connects to the Junction Engine MCP server over Streamable HTTP and uses an OpenAI model for tool selection + answer synthesis.

Prereqs

  • bun
  • Engine running locally with MCP endpoint at http://localhost:3000/mcp

Setup

cp .env.example .env
bun install

In .env, set:

  • MCP_BASE_URL=http://localhost:3000/mcp
  • OPENAI_API_KEY=...
  • OPENAI_MODEL=gpt-5-mini (or your preferred model)

Commands

List tools

bun run list-tools

Call a tool

bun run dev -- --call search_courses '{"department":"COS","term":1262}'

Start chat loop

bun run chat

Notes

  • The client maintains a single mcp-session-id for the lifetime of the process.
  • Tool calls are allowlisted to the MVP tool surface defined in the project plan.md.

About

MCP Client w/ Agent Loop For Princeton's Campus Apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors