MSAI
Open menu

MCP Setup Guide

Connect Claude Code or Codex to MSAI Resources using our read-only Streamable HTTP MCP endpoint.

Before you start

  1. Go to Profile and create an MCP API key.
  2. Copy the key immediately (it is shown only once).
  3. Use this endpoint URL: https://msairesources.com/api/mcp

Codex (Streamable HTTP)

Codex MCP supports Streamable HTTP servers with bearer token auth via environment variable.

Codex MCP config fields

  • Name: msai-resources
  • URL: https://msairesources.com/api/mcp
  • Bearer token env var: MSAI_MCP_API_KEY
# 1) Set your API key in shell env
export MSAI_MCP_API_KEY="mcp_live_xxx"

# 2) Add the Streamable HTTP MCP server
codex mcp add msai-resources --url https://msairesources.com/api/mcp   --bearer-token-env-var MSAI_MCP_API_KEY

# 3) Verify
codex mcp list
# Equivalent ~/.codex/config.toml entry
[mcp_servers.msai-resources]
url = "https://msairesources.com/api/mcp"
bearer_token_env_var = "MSAI_MCP_API_KEY"

Codex supports Streamable HTTP MCP servers withurl andbearer_token_env_var settings.

Claude Code

Claude Code supports remote MCP over HTTP transport with custom headers.

# 1) Put your key in an env var
export MSAI_MCP_API_KEY="mcp_live_xxx"

# 2) Add the MCP server
claude mcp add --transport http msai-resources https://msairesources.com/api/mcp   --header "Authorization: Bearer $MSAI_MCP_API_KEY"

You can inspect configured servers with claude mcp list.

Available read-only MCP tools

  • list_courses, get_course
  • get_course_reviews (approved reviews only, by course)
  • list_professors
  • list_events
  • get_advisor_guide