TorchV AIS MCP Server
Enables read, write, edit, and file transfer operations on TorchV AIS enterprise knowledge bases. Supports document management, repository browsing, and administrative tasks with configurable readonly, write, or admin permission levels.
README
@torchv/ais-mcp
π TorchV AIS Knowledge Base MCP Server
A production-ready MCP server that enables read / write / edit / file transfer operations directly on the AIS enterprise knowledge base.
β¨ Features
- π Unified access to AIS knowledge base
- π οΈ Full MCP toolchain (read / write / management)
- β‘ One-command startup via
npx - π Supports both STDIO and HTTP (streamable) transports
- π Fine-grained permission control (
readonly / write / admin)
π Installation & Run
npx -y @torchv/ais-mcp
π Required Configuration
Before starting, set the following environment variables:
export KB_EXECUTE_URL="https://bot.torchv.com"
export KB_TOKEN="your-token"
π How to get KB_EXECUTE_URL
π Steps:
- Open your AIS instance
- Copy the site origin from the browser address bar
π Example:
https://bot.torchv.com
π How to get KB_TOKEN
Recommended:
AIS β Admin Center β API Keys β Create Key
Temporary (not recommended for production):
Browser DevTools β Network β Inspect request β Copy token
βοΈ Optional Configuration
export KB_MODE="readonly" # readonly | write | admin
export KB_TIMEOUT_SECONDS="30"
export KB_DEFAULT_REPO_CODE="TEAM_DOCS"
export KB_EXTRA_HEADERS_JSON='{"x-foo":"bar"}'
π‘οΈ Permission Levels
- π’
readonlyβ Read-only access - π‘
writeβ Allows write / upload / publish - π΄
adminβ Full control (move / delete)
π§© Run Modes
π₯οΈ STDIO Mode (Local MCP Client)
npm run build
node dist/cli.js
or:
npm run dev
npm run start
π Streamable HTTP Mode
npm run build
node dist/cli.js \
--transport streamable-http \
--host 127.0.0.1 \
--port 3000 \
--path /mcp
or:
npm run dev:http
npm run start:http
π Parameters:
--transport streamable-http
--host 127.0.0.1
--port 3000
--path /mcp
π Claude / Codex Configuration
STDIO
{
"mcpServers": {
"ais": {
"command": "npx",
"args": ["-y", "@torchv/ais-mcp"],
"env": {
"KB_EXECUTE_URL": "https://your-ais-domain",
"KB_TOKEN": "your-token",
"KB_MODE": "readonly"
}
}
}
}
HTTP Mode
{
"mcpServers": {
"ais-http": {
"type": "streamable-http",
"url": "http://127.0.0.1:3000/mcp"
}
}
}
π οΈ Tooling Overview
π Read-only
kb_list_reposkb_list_pathkb_treekb_searchkb_read_documentkb_render_linkkb_download_filekb_get_download_link
βοΈ Write
kb_write_documentkb_patch_documentkb_create_directorykb_copy_documentkb_publish_documentkb_upload_file
π§ Admin
kb_move_documentkb_delete_document
π§ About AIS
AIS is TorchVβs core product β not just a traditional knowledge base, but:
π§ An Enterprise AI Knowledge Engine
Core Capabilities
- π Transform scattered data β structured knowledge
- π Searchable
- π§© Governable
- β‘ Composable
- π Optimizable
π Try AIS
π² Contact us (CEO WeChat):

Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
