1. Conduid
  2. Science
  3. MCP
MCP server · Science

MCP

A TypeScript library for WPILib's NT4.1 spec

57Fair

Scored 8 hours ago · breakdown

About MCP

MCP is an MCP server published by cjlawson02 in the Science category: a TypeScript library for WPILib's NT4.1 spec. Conduid read 13 tools from its source: nt_connect, nt_connection_info, nt_disconnect, nt_get, nt_get_decoded, nt_get_multiple and 7 more. No package is published for it, so it installs from a source checkout.

The repository has 28 stars and 9 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is @ntcore-ts/mcp-v1.0.0 (13 Sep 2026). It follows @ntcore-ts/react-v1.0.0 (13 Sep 2026), and the 5 most recent releases go back to 3.1.2 (10 Feb 2025). It passes all 5 static checks Conduid ran on the repository. Its topics include dashboard, first-robotics-competition, networktables, ntcore and pubsub.

Install

From source
git clone https://github.com/cjlawson02/ntcore-ts

Tools (13)

nt_connectConnect to an NT4 server. Provide either team (mDNS/team IP) OR host (e.g. localhost for sim). Default port 5810. Starts topic inventory. Prefer this before list/get/subscribe.
ParameterTypeDescription
hoststringHostname or IP (e.g. localhost, 127.0.0.1). Mutually exclusive with team
platformstringAddress resolution when using team (default roborio)
portnumberNT4 port (default 5810)
teamnumberFRC team number (mutually exclusive with host)
timeout_msnumberConnection wait timeout in ms (default 10000)
nt_connection_infoReturn connected/connecting flags, endpoint, RTT, and write-gate status. Read-only.
nt_disconnectClose the NT connection and clear the topic inventory cache.
nt_getRead one topic value. Best for scalars/arrays/json. For struct:/proto: topics prefer nt_get_decoded. Topic must be known via nt_list_topics. Read-only.
ParameterTypeDescription
topic *stringFull topic name, e.g. /MyTable/Gyro
nt_get_decodedDecode a struct: or proto: topic into a JSON object using @ntcore-ts/client. Prefer this over nt_get for Pose2d and other structured types. Optional type_hint like struct:Pose2d. Read-only.
ParameterTypeDescription
topic *stringFull topic name
type_hintstringOverride wire type, e.g. struct:Pose2d or proto:Pose2d
nt_get_multipleBatch nt_get for up to 50 topics. Read-only.
ParameterTypeDescription
topics *arrayTopic names to read
nt_guideCall this first if unfamiliar. Explains workflow, tool choice (nt_get vs nt_get_decoded vs nt_subscribe), write-gate status, and safety rules. Read-only.
nt_list_struct_typesList built-in WPILib geometry struct types and any discovered from /.schema/struct:* or live topics. Read-only.
nt_list_topicsList announced topics from the inventory cache (name, type, properties). Filter with prefix (e.g. /MyTable/). Call nt_connect first. Prefer over guessing topic names. Read-only.
ParameterTypeDescription
limitnumberMax topics to return (default 500)
prefixstringOnly topics starting with this prefix
nt_setPublish a value to one topic. Fails if write gate is off, topic is outside NT_WRITE_ALLOWLIST, or types mismatch. Prefer expected_type when known. Destructive — can affect robot behavior if code is listening. Cannot enable/disable via FMS/DS.
ParameterTypeDescription
expected_typestringNT type string, e.g. double or struct:Pose2d
topic *stringFull topic name
value *anyValue to publish (JSON-compatible for scalars/structs)
nt_set_multipleBatch nt_set. Same write-gate and allowlist rules. Destructive.
ParameterTypeDescription
updatesarray
nt_set_write_modeSession write gate. Enabling REQUIRES confirm=true. Also enabled when NT_ALLOW_WRITES=1 at process start. Does not bypass path allowlist. Destructive.
ParameterTypeDescription
confirmbooleanMust be true when enabling writes
enabled *booleantrue to allow nt_set / nt_set_multiple
nt_subscribeSample topic updates under prefixes for duration_seconds. Use format=summary for min/max/mean/last/rate (preferred evidence). format=samples returns capped point lists. Prefer over repeated nt_get for dynamics. Read-only.
ParameterTypeDescription
change_epsilonnumberEpsilon for change_only numerics (default 1e-9)
change_onlybooleanSkip numeric changes at or below change_epsilon
duration_secondsnumberHow long to sample (default 2, max 30)
formatstringsummary (default) or samples
prefixes *arrayTopic prefixes to sample (e.g. ["/MyTable/"])
sample_interval_msnumberMin ms between stored samples per topic (0 = every change)

Security checks

  • ✓README presentThe repository's README runs to about 495 words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionScanned 75 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

Releases

@ntcore-ts/mcp-v1.0.0@ntcore-ts/mcp-v1.0.0 · 13 Sep 2026@ntcore-ts/mcp-v1.0.0 (2026-09-13) Features 1.0.0: first stable @ntcore-ts 1.0.0 (#543) (8d3d3fe)
@ntcore-ts/react-v1.0.0@ntcore-ts/react-v1.0.0 · 13 Sep 2026@ntcore-ts/react-v1.0.0 (2026-09-13) Features 1.0.0: first stable @ntcore-ts 1.0.0 (#543) (8d3d3fe)
@ntcore-ts/client-v1.0.0@ntcore-ts/client-v1.0.0 · 13 Sep 2026@ntcore-ts/client-v1.0.0 (2026-09-13) Features 1.0.0: first stable @ntcore-ts 1.0.0 (#543) (8d3d3fe)
3.1.33.1.3 · 26 Apr 2025What's Changed Hotfix: Fix `raw` type number to be `5` instead of `3` Updated dependencies Non-library changes Swap from jest to vitest Full Changelog: https://github.com/cjlawson02/ntcore-ts-client/compare/3.1.2...3.1.3
3.1.23.1.2 · 10 Feb 2025Hotfix for WPILib bug where we need to subscribe to the topic for an announce message https://github.com/wpilibsuite/allwpilib/issues/7680 Full Changelog: https://github.com/cjlawson02/ntcore-ts-client/compare/3.1.1...3.1.2

README

The repository's README runs to about 495 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About MCP

How do I install MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is MCP safe to use with an AI agent?

Its trust score is 57 out of 100 (fair). It passes all 5 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is MCP still maintained?

Yes — the latest release is @ntcore-ts/mcp-v1.0.0 (13 Sep 2026), and the last commit was 21 hours ago. The repository has 28 stars and 2 open issues.

What tools does MCP provide?

Conduid read 13 tools from the source: nt_connect, nt_connection_info, nt_disconnect, nt_get, nt_get_decoded, nt_get_multiple, nt_guide, nt_list_struct_types and 5 more. 9 of them publish their parameters, listed under Tools above.

What license is MCP released under?

The repository declares the MIT license. That applies to the latest release, @ntcore-ts/mcp-v1.0.0, as well.