nseap-mcp
nseap-mcp
NSEAP 教育プラットフォーム × Cogseed コネクタ —— stdio MCP サーバー。プラットフォームの HTTP エージェントプロトコル(x-api-key)をラップし、ローカル成果物チェックと提出-レビュー-通知のクローズドループツールを提供します。
位置づけ
ローカルツール(オフライン利用可、非権威):
nseap_check_deliverables—— チャレンジの成果物要件(*ワイルドカード対応)に基づき、ローカルワークスペースでファイルの完全性をチェックプラットフォームツール(権威、監査可能):チャレンジ照会 / 自分の提出 / タスクポーリング / プロジェクト提出
アーキテクチャ上の制約(プラットフォームの制約を継承):
提出は必ずプラットフォームのメッセージバス(エージェントチャネル)経由(ダウングレード不可)
飛書(Feishu)テーブルへの直接書き込みツールは一切公開しない
from_agentはstudent-companion-<学号>に固定され、ツール引数による偽装は受け付けない長時間処理は必ず submit → task_id → ポーリング
Related MCP server: MCP Security Server
ツール一覧(13 個、ロール別に絞り込み)
学生ロール(12 個):
ツール | 説明 |
| ローカル成果物のワイルドカードチェック(オフライン) |
| ローカル提出前チェックレポート(アクション項目+提出ドラフト) |
| 公開済みチャレンジ一覧 |
| 単一チャレンジ詳細(成果物/rubric/評価軸/制約) |
| 自分の提出履歴 |
| 非同期タスク状態(提出後のポーリング) |
| プロジェクト提出(事前チェック→Envelope→task_id) |
| レビュー詳細(AI/教師/ピア、項目別スコア+長所短所) |
| レビュー提出(peer はプラットフォームで割り当て検証 / teacher はメッセージバス経由) |
| 進捗統計(チャレンジ/提出/完了/レビュー待ち) |
| 飛書通知をトリガー(学生 DM/クラスグループ) |
| プラットフォーム接続チェック(遅延/モード) |
教師ロール(+1):nseap_publish_challenge — チャレンジ公開(メッセージバス経由、飛書グループ告知)
インストールと実行
pnpm install # Node ≥20
pnpm dev # 开发模式(tsx 直跑)
pnpm build && pnpm start # 生产模式(dist/)
pnpm bundle # 单文件打包(dist-bundle/nseap-mcp.mjs,自包含无 node_modules)配布(M1、推奨)
pnpm bundle
# 产物 dist-bundle/nseap-mcp.mjs(1.1MB 自包含),任意有 Node ≥20 的机器:
node dist-bundle/nseap-mcp.mjsCogSeed コネクタの command はこのファイルを直接指すため、nseap-mcp プロジェクト環境は不要です。
環境変数は .env.example を参照。
ローカル開発(mock モード、プラットフォーム認証情報不要)
NSEAP_MOCK=1 NSEAP_STUDENT_ID=test-student pnpm devCogSeed への接続
CogSeed でコネクタ設定を開く → カスタム MCP を追加(custom transport, stdio)
以下を入力:
display_name:
NSEAP 学習プラットフォームcommand:
npx tsx /path/to/nseap-mcp/src/index.ts(またはビルド後のnode /path/to/nseap-mcp/dist/index.js)env(API キーは secrets_enc 暗号化ストレージに保存):
NSEAP_SERVER_URL= プラットフォームのアドレスNSEAP_API_KEY= 学生の api_key(プラットフォームログイン後、NSEAP-config-{学号}.json をダウンロードして取得)NSEAP_STUDENT_ID= 学号NSEAP_COHORT= クラス
確認ダイアログ(実行される正確なコマンドを表示)→ ユーザーが同意すると有効化
モデルは
list_connector_tools/call_connector_tool経由でこれらのツールを使用
テスト
pnpm typecheck # tsc 零错误
pnpm test # 33 个单元测试(含 5 个契约测试)
pnpm smoke # 冒烟(握手/12工具注册/预检/拦截)
pnpm demo:student # 学生全流程预演(9 步,mock 模式,无需凭证)
pnpm demo:teacher # 教师全流程预演(5 步,mock 模式,无需凭证)エラーコード
code | 意味 |
| api_key が無効/期限切れ |
| 操作権限なし |
| 重複提出(60 秒の再送防止ウィンドウ) |
| メッセージバスが利用不可 |
| タスクが存在しない/期限切れ |
| プラットフォームに接続できない |
| 検証エラー(成果物不足など) |
| 不明なエラー |
ディレクトリ構造
src/
index.ts # MCP Server 主入口(6 工具注册)
config.ts # 环境变量加载 + 脱敏 + 身份固定
errors.ts # NseapError + 错误码表
client.ts # 平台 HTTP 客户端(重试/限流/mock)
tools/
local.ts # 交付物检查(纯本地)
read.ts # 只读工具
submit.ts # 提交工具
test/ # 单元测试
scripts/smoke-m0.sh # M0 冒烟ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA PRD-first multi-agent MCP server that wraps agent definitions, collaboration rules, and staged delivery into a local stdio service for standardized software delivery workflows.MIT
- AlicenseNot gradedqualityBmaintenanceEnables file operations, npm package management, and configuration checking through MCP.81MIT
- AlicenseNot gradedqualityCmaintenanceA repo-native stdio MCP server that helps AI agents and human users make better use of existing CE-RISE Digital Passport components, services, schemas, documentation, and deployment workflows.European Union Public 1.2
- AlicenseBqualityBmaintenanceA local, evidence-driven MCP runtime and control plane for open-source maintainers that provides workspace-bounded tools including controlled file operations, command execution, validation primitives, durable execution records, and human review workflows via stdio and Streamable HTTP transports.33MIT
Related MCP Connectors
MCP server for the Inistate platform: module discovery, entry management, and activity submission.
Create, co-edit, analyze, publish, and export collaborative step-sequencer sessions through MCP.
Remote MCP for Kiro release readiness, evidence binders, signoff, and CI approval receipts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/a976xw7td/nseap-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server