1. Conduid
  2. Agents
  3. AI
MCP server · Agents

AI

🤖 Type-safe, provider-agnostic TypeScript AI SDK for streaming chat, tool calling, agents, and multimodal apps across OpenAI, Anthropic, Gemini, React, Vue, Svelte, and Solid.

87Strong

Scored 20 hours ago · breakdown

About AI

AI is an MCP server published by TanStack in the Agents category: 🤖 Type-safe, provider-agnostic TypeScript AI SDK for streaming chat, tool calling, agents, and multimodal apps across OpenAI, Anthropic, Gemini, React, Vue, Svelte, and Solid. Conduid read 11 tools from its source: exposePreview, getGuitars, getSchemaInfo, get_snippet, get_temperature, queryTable and 5 more. It is published to npm as @tanstack/ai-mcp and starts with npx.

The TanStack/ai monorepo this package is published from has 3.4K stars and 426 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is @tanstack/ai@1.8.0 (20 Nov 2026): Minor Changes 2210 4b00243 - Add '3mf' to Model3DFormat for 3D print results. It follows @tanstack/ai-solid@1.1.1 (20 Nov 2026), and the 5 most recent releases go back to @tanstack/ai-svelte@1.1.1 (20 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include ai-sdk, chatbot, function-calling, multimodal, react and solidjs.

Install

Claude Code
claude mcp add ai-4a5a -- npx -y @tanstack/ai-mcp
npx
npx -y @tanstack/ai-mcp
From source
git clone https://github.com/TanStack/ai

Tools (11)

exposePreviewExpose a port a dev server is listening on inside the sandbox and return a public preview URL (a Cloudflare quick tunnel) to show the user. Call this AFTER the server is up. The dev server must allow all hosts (e.g. Vite `server.allowedHosts: true`) so it accepts the tunnel hostname.
ParameterTypeDescription
port *numberThe port the dev server is listening on, e.g. 5173.
getGuitarsGet all products from the database
getSchemaInfoGet schema information for one or all database tables. Returns column names and types. Use this to understand what data is available before querying.
ParameterTypeDescription
tablestringSpecific table to get schema for. If omitted, returns all table schemas.
get_snippetGet the full implementation details of a snippet, including its code. Use this after search_snippets to see how a snippet works before using it.
ParameterTypeDescription
name *stringThe snippet name (without snippet_ prefix)
get_temperatureGet the current temperature for a specific location
ParameterTypeDescription
location *stringThe city or location to get the temperature for
unitstringThe temperature unit (optional, defaults to fahrenheit)
queryTableQuery an in-memory database table. Supports filtering rows by exact-match conditions on columns, selecting specific columns, ordering by a column, and limiting results. Available tables: customers (id, name, email, city, joined), products (id, name, category, price, stock), purchases (id, customer_id, product_id, quantity, total, purchased_at).
ParameterTypeDescription
columnsarrayColumns to return. If omitted, all columns are returned.
limitnumberMaximum number of rows to return
orderBystringColumn name to sort results by
orderDirectionstringSort direction, defaults to asc
table *stringThe table to query
whereobjectFilter conditions as key-value pairs (exact match). Example: { "city": "New York" }
read_fileRead a UTF-8 file and return its full content.
ParameterTypeDescription
path *string
register_snippetSave working TypeScript code as a reusable snippet for future use. Only register code that has been tested and works correctly. The snippet becomes available as a callable tool immediately.
ParameterTypeDescription
code *stringThe TypeScript code. Receives `input` variable, can call external_* and snippet_* functions, should return a value.
dependsOnarrayNames of other snippets this snippet calls
description *stringClear description of what the snippet does
inputSchema *stringJSON Schema as a JSON string describing the input parameter, e.g. {"type":"object","properties":{"a":{"type":"number"}},"required":["a"]}
name *stringUnique snippet name in snake_case (e.g., fetch_github_stats)
outputSchema *stringJSON Schema as a JSON string describing the return value, e.g. {"type":"object","properties":{"result":{"type":"number"}}}
usageHints *arrayHints about when to use this snippet, e.g. "Use when user asks about..."
run_shellRun a shell command and return its stdout, stderr, and exit code.
ParameterTypeDescription
command *stringThe command line to run.
search_snippetsSearch the snippet library for reusable snippets. Use this to find snippets that can help accomplish a task. Returns matching snippets with their descriptions.
ParameterTypeDescription
limitnumberMaximum number of results (default: 5)
query *stringSearch query describing what you want to accomplish
write_fileWrite UTF-8 content to a file, creating or overwriting it.
ParameterTypeDescription
content *string
path *string

Security checks

From the TanStack/ai monorepo, not this package alone.

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.4K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.

2 checks have not been run yet.

Releases

From the TanStack/ai monorepo.

@tanstack/ai@1.8.0@tanstack/ai@1.8.0 · 20 Nov 2026Minor Changes 2210 `4b00243` - Add `'3mf'` to `Model3DFormat` for 3D print results.
@tanstack/ai-solid@1.1.1@tanstack/ai-solid@1.1.1 · 20 Nov 2026Patch Changes 1893 `56d9f96` - TanStack `useChat` gets more from an AI SDK route through `fromChatTransport`: Client tools go to the route in the request body. Read them on the route with `clientToolsFromAISDKBody(body, serverTools)`, so…
@tanstack/ai-vercel-compat@0.1.0@tanstack/ai-vercel-compat@0.1.0 · 20 Nov 2026Minor Changes 1893 `56d9f96` - TanStack `useChat` gets more from an AI SDK route through `fromChatTransport`: Client tools go to the route in the request body. Read them on the route with `clientToolsFromAISDKBody(body, serverTools)`, so…
@tanstack/ai-vue@1.1.1@tanstack/ai-vue@1.1.1 · 20 Nov 2026Patch Changes 1893 `56d9f96` - TanStack `useChat` gets more from an AI SDK route through `fromChatTransport`: Client tools go to the route in the request body. Read them on the route with `clientToolsFromAISDKBody(body, serverTools)`, so…
@tanstack/ai-svelte@1.1.1@tanstack/ai-svelte@1.1.1 · 20 Nov 2026Patch Changes 1893 `56d9f96` - TanStack `useChat` gets more from an AI SDK route through `fromChatTransport`: Client tools go to the route in the request body. Read them on the route with `clientToolsFromAISDKBody(body, serverTools)`, so…

README

The repository's README runs to about 1.4K words, fetched 6 days ago. The original in the repository is authoritative.

Read full README
Questions

About AI

How do I install AI?

In Claude Code, run claude mcp add ai-4a5a -- npx -y @tanstack/ai-mcp. Other MCP clients take the command after "--" in their server configuration.

Is AI safe to use with an AI agent?

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

Is AI still maintained?

Yes — the latest release in the TanStack/ai monorepo is @tanstack/ai@1.8.0 (20 Nov 2026), and the last commit was 23 hours ago. The TanStack/ai monorepo has 3.4K stars and 106 open issues.

What tools does AI provide?

Conduid read 11 tools from the source: exposePreview, getGuitars, getSchemaInfo, get_snippet, get_temperature, queryTable, read_file, register_snippet and 3 more. 10 of them publish their parameters, listed under Tools above.

What license is AI released under?

The repository declares the MIT license. That applies to the latest release, @tanstack/ai@1.8.0, as well.