Terno
What it does
Query, explore, and manage your databases through natural conversation.
- Connects 클라우드에서 실행
- Account or key Sign in to the service when you connect (OAuth)
- Category 데이터베이스 및 데이터셋
설치
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
검사 5/5 통과 · 내가 묻는 내용은 제작자 서버(mcp.terno.ai)를 거쳐요
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있어요 · 약 2분
키 필요 없음, 설치 필요 없음 · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가
Claude의 Connectors 페이지 열기
CustomizeConnectors
“+ Add” → “Add custom connector”를 누르고 이 2칸 채우기
여기서 복사해 Claude의 같은 이름 칸에 붙여 넣고 Continue를 누르세요
Name · 이름TernoRemote MCP server URL · 주소https://mcp.terno.ai/mcp/previewAuthentication은 Claude가 찾은 그대로 두고 Add를 누르세요
채팅에서 켜기
+ConnectorsTerno
해 보기
Terno을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 Terno을 쓰고 있다고 하거나 답에 Terno 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 기업용 요금제에서만 연결돼요
웹의 ChatGPT Business, Enterprise, Edu에서 워크스페이스 관리자나 소유자가 추가해요 · Free, Plus, Pro를 쓰면: 내 ChatGPT 요금제로는 아직 MCP를 직접 연결할 수 없어요
웹 ChatGPT에서 MCP 추가 페이지 열기
Plugins+Add custom MCP server
이름과 주소 입력
이름을 넣고 Connection에 주소를 붙여 넣은 뒤 경고에 체크하고 Create as a plugin을 누르세요
Name · 이름TernoConnection · 주소https://mcp.terno.ai/mcp/preview채팅에서 Terno 고르기
새 채팅을 열고 입력 전에 플러그인 목록에서 Terno을 고르세요
해 보기
Terno을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ ChatGPT가 Terno을 쓰고 있다고 하거나 답에 Terno 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 OpenAI 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Claude Code에 연결할 수 있어요 · 약 2분
키 필요 없음, 설치 필요 없음
터미널 열기
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
이 명령을 붙여 넣고 Enter
claude mcp add --transport http --scope user terno https://mcp.terno.ai/mcp/previewClaude Code에서 /mcp 입력
Terno이 목록에 있고 연결됨으로 보이면 돼요
해 보기
Terno을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 Terno을 쓰고 있다고 하거나 답에 Terno 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있어요 · 약 2분
키 필요 없음, 설치 필요 없음
Cursor에서 AI 채팅을 Agent 모드로 열기
해 보기
Terno을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 Terno을 쓰고 있다고 하거나 답에 Terno 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있어요 · 약 2분
키 필요 없음, 설치 필요 없음
VS Code에서 AI 채팅을 Agent 모드로 열기
해 보기
Terno을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 Terno을 쓰고 있다고 하거나 답에 Terno 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요
웹으로 연결하는 앱용 주소
https://mcp.terno.ai/mcp/previewJSON 설정은 아래 “개발자용”에 있어요
개발자용: 터미널 명령과 JSON 설정
웹으로 연결
Claude Code
claude mcp add --transport http --scope user terno https://mcp.terno.ai/mcp/previewCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"terno": {
"url": "https://mcp.terno.ai/mcp/preview"
}
}
}VS Code (mcp.json)
{
"servers": {
"terno": {
"type": "http",
"url": "https://mcp.terno.ai/mcp/preview"
}
}
}이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
한눈에 보기
어떤 앱에서 쓸 수 있나요
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
인터넷으로 연결하는 앱
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
할 수 있는 일
서버가 도구 목록을 보여 주기 전에 로그인을 요구해요.
기본 점검i
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 12일 점검
- ✓ 통과
제작자와 저장소 일치
레지스트리 이름이 GitHub 계정 terno-ai 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
- ✓ 통과
계속 관리되고 있음
코드 마지막 변경: 어제
- ✓ 통과
라이선스 있음
Apache-2.0 사용
- ✓ 통과
엔드포인트 응답
332ms 만에 응답(HTTP 401)
- ✓ 통과
OAuth로 로그인
OAuth 로그인을 지원한다고 밝혀서, AI 앱이 로그인 화면으로 안내해 줘요
- … 아직 점검 안 함
도구 설명에 숨겨진 지시 없음
아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요
토론
질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
사용자 리뷰
아직 리뷰가 없어요
데이터베이스 및 데이터셋 카테고리의 다른 서버와 비교i
- 이 카테고리의 다른 서버 1171개 중 92%보다 스타가 많아요
- 이 카테고리의 다른 서버 1171개 중 95%보다 최근에 레지스트리에 공개됐어요
- 기본 점검 결과가 이 카테고리의 다른 서버 1171개 중 100%와 같거나 더 좋아요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
자주 묻는 질문
Terno, 안전한가요?
해당하는 기본 점검 5개 중 5개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
어떤 키나 코드가 필요한가요?
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?
제작자의 클라우드에서 실행돼요. 설치 없이 인터넷으로 연결하지만, 보내는 내용은 제작자의 서버를 거쳐요.
아직 관리되고 있나요?
GitHub 저장소는 마지막으로 어제 변경됐고, 최신 버전(1.0.2)은 어제 레지스트리에 올라왔어요.
어떤 앱에서 쓸 수 있나요?
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되므로 원격 MCP를 지원하는 앱에서도 쓸 수 있어요. 예: ChatGPT Business 이상.
대신 쓸 수 있는 건 뭐가 있나요?
같은 카테고리에는: Dbx, MCP Toolbox for Databases, MCP Toolbox for Databases
같은 카테고리의 다른 것
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
제작자의 README
README 열기
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
TernoDBI: Database Intelligence Layer
TernoDBI is a data layer for AI agents, built for security and accuracy. It gives agents one controlled way to read your databases (Postgres, MySQL, Snowflake, BigQuery, Databricks, Oracle, SQLite) and your business tools (Google Ads, GA4, HubSpot, Salesforce, Shopify and more), with access rules enforced on every query.
Run it as a standalone Model Context Protocol (MCP) server — locally over stdio, or hosted over HTTP with OAuth — or embed it in an existing Django project.
Quick Start: Chat with your DB in 5 Minutes
- Install TernoDBI
pip install terno-dbi
- Start the server
ternodbi start [port]
By default this starts on 127.0.0.1:8376. On first boot it runs migrations, creates an admin / admin user and a default organisation. It runs in development mode, which is fine on your own machine — see Configuration before exposing it anywhere.
- Add your database Open the admin panel at http://127.0.0.1:8376/admin and add a datasource. Credentials are encrypted at rest.
- Generate an access token, bound to your organisation and a user (
--org/--user) — an unbound token can't use organisation features such as memory:
# Query token (read-only, for AI agents)
ternodbi manage issue_token --name "My Agent" --type query --org default --user admin
Admin token (schema metadata, memory, organisation prompt)
ternodbi manage issue_token --name "System Admin" --type admin --org default --user admin
5. **Connect your MCP client** — see [TernoDBI as an MCP Server](#ternodbi-as-an-mcp-server). To skip self-hosting, use the hosted server instead: [Connect to mcp.terno.ai](#connect-to-the-hosted-server-mcpternoai).
- Start chatting with your data.
Key Features
- Databases: Postgres, MySQL, Snowflake, BigQuery, Databricks, Oracle and SQLite through one API.
- Business tools (API connectors): 17 sources — ads, analytics, CRM, commerce and documents — queried through the same agent tools. See API Connectors.
- Security by default:
- SQLShield: every query is parsed and rewritten before it runs. Only
SELECTis accepted; writes and stacked statements never reach your database. - Row-level security: SQL filters (e.g.
department_id = 5) are injected into every query, per role. - Private tables and columns: hidden from the model's context unless a role is allowed to see them.
- Scoped tokens: per organisation, per datasource, with expiry; OAuth scopes and an Org Admin check for anything that writes.
- LLM-ready schema:
- Semantic names: expose
Customersinstead oft_users_v2_fnl; descriptions for tables and columns. - Column statistics: row and null counts, cardinality and common values, to help models write correct filters.
- Memory and organisation prompt: durable facts and instructions that agents read before answering, per organisation and per user.
- MCP, two ways:
- stdio: separate *query* (read-only) and *admin* servers, each with its own token.
- Hosted HTTP: one server with OAuth 2.1 (dynamic client registration, PKCE, consent screen), plus a
previewchannel for unreleased tools. - Large results: server-side cursors stream rows as NDJSON or download them as CSV.
Usage & Core APIs
Running the server
ternodbi start # default port 8376
ternodbi start 9000 # custom port
`ternodbi start` runs the REST API and admin panel. To also serve MCP over HTTP (`/mcp`), run the ASGI app — see [Hosted over HTTP](#hosted-over-http-with-oauth).
Sharing the database with an existing Django project
If your Django project embeds terno_dbi.core and uses SQLite, the standalone server can read and write the same database file:
DJANGO_PROJECT_PATH=/path/to/your/django/project ternodbi start
This uses /path/to/your/django/project/db.sqlite3.
Management commands
Always pass --org / --user so the token has an identity:
# Query token that expires in 30 days
ternodbi manage issue_token --name "Claude Agent" --type query --expires 30 --org acme --user alice
Admin token
ternodbi manage issue_token --name "System Admin" --type admin --org acme --user alice
Token restricted to one datasource
ternodbi manage issue_token --name "Finance Data Only" --type query --datasource 1 --org acme --user alice
`ternodbi manage` runs any Django management command (`migrate`, `createsuperuser`, …).
Query API
Every request carries Authorization: Bearer . Datasources can be addressed by ID or display name.
| Endpoint | Purpose |
|---|---|
GET /api/query/datasources/ | Datasources this token can reach |
GET /api/query/datasources/{ds}/tables/ | Tables, by public name |
GET /api/query/datasources/{ds}/tables/{table}/columns/ | Columns and types |
GET /api/query/tables/{table_id}/sample/?rows=10 | Sample rows (max 100) |
POST /api/query/datasources/{ds}/query/ | Run a query, results as JSON |
POST /api/query/datasources/{ds}/stream/ | Run a query, results streamed as NDJSON |
POST /api/query/datasources/{ds}/export/ | Run a query, results as a CSV download |
POST /api/query/datasources/1/query/
{ "sql": "SELECT name, email FROM Customers WHERE country = 'DE'", "max_rows": 500 }
Queries use public (semantic) names and are rewritten by SQLShield for the caller's role. Results are capped at `MAX_QUERY_ROWS` (10,000 by default) with a 300-second timeout; both are configurable in `DBI_LAYER`.
TernoDBI as an MCP Server
Query tools (read-only)
| Tool | What it does |
|---|---|
list_datasources | Datasources this connection can reach |
list_tables, list_table_columns | Schema, by public name |
get_sample_data | Sample rows from a table |
execute_query | Run SQL through SQLShield |
list_memories, get_memory, grep_memory | Read stored memory |
get_org_prompt, grep_org_prompt | Read the organisation prompt |
terno_guide | A tour of the server, or what's new |
Admin tools
| Tool | What it does |
|---|---|
connect_datasource | Returns a link where the user adds a datasource — credentials never pass through the chat |
add_datasource, validate_connection | Add or test a connection string (stdio only; never offered over OAuth) |
delete_datasource | Remove a database connection; an API connector is disconnected instead, keeping its settings |
sync_metadata | Refresh the schema from the database |
rename_table, rename_column | Set public names |
update_table_description, update_column_description, get_table_info | Write descriptions, with column statistics to inform them |
save_memory, edit_memory, delete_memory | Manage memory |
update_org_prompt, edit_org_prompt | Manage the organisation prompt |
The server also provides prompts (explore-datasources, build-a-query, schema-health) and resources (ternodbi://docs, ternodbi://changelog). The API-connector tools are listed under API Connectors.
Connect to the hosted server (mcp.terno.ai)
No install needed: point any MCP client that supports Streamable HTTP at the hosted server. The first time you connect, your client opens a browser to sign in with your Terno account and choose an organisation (OAuth 2.1); no API key is pasted anywhere.
| Channel | URL |
|---|---|
| Preview (all tools, including API connectors) | https://mcp.terno.ai/mcp/preview |
| Stable (released tools only) | https://mcp.terno.ai/mcp |
It is also listed in the official MCP Registry as io.github.terno-ai/terno.
Claude Code
claude mcp add --transport http terno https://mcp.terno.ai/mcp/preview
Claude (Desktop or claude.ai): Settings → Connectors → Add custom connector, and paste https://mcp.terno.ai/mcp/preview.
VS Code (GitHub Copilot): add to .vscode/mcp.json:
{
"servers": { "terno": { "type": "http", "url": "https://mcp.terno.ai/mcp/preview" } } }
Cursor: add to ~/.cursor/mcp.json:
{
"mcpServers": { "terno": { "url": "https://mcp.terno.ai/mcp/preview" } } }
Then ask: *"Show me the available datasources."*
Local (stdio): connecting Claude Desktop
- Install Claude Desktop and open Settings → Developer → Edit Config.
- Mint a query and an admin token (see Management commands) and add:
{
"mcpServers": { "ternodbi-query": { "command": "uvx", "args": ["--from", "terno-dbi", "dbi-mcp", "query"], "env": { "TERNODBI_API_URL": "http://127.0.0.1:8376", "TERNODBI_API_KEY": "dbi_query_YOUR_TOKEN_HERE" } }, "ternodbi-admin": { "command": "uvx", "args": ["--from", "terno-dbi", "dbi-mcp", "admin"], "env": { "TERNODBI_API_URL": "http://127.0.0.1:8376", "TERNODBI_API_KEY": "dbi_admin_YOUR_TOKEN_HERE" } } } }
3. Restart Claude Desktop and ask: *"Show me the available datasources."*
If you started TernoDBI on another port, update TERNODBI_API_URL.
Hosted over HTTP with OAuth
Hosted, both tool sets are one server over Streamable HTTP. Users sign in with OAuth 2.1 — dynamic client registration, PKCE, and a consent screen where they pick the organisation — so no API key is pasted into the client. Write access needs both a write scope and the Org Admin role, re-checked on every request.
pip install 'terno-dbi[http]'
uvicorn terno_dbi.server.asgi:application --port 8376
This serves two release channels: /mcp (stable: released tools, changes only on purpose) and /mcp/preview (everything, including tools not yet released on stable). See the MCP guide for OAuth discovery, scopes and releasing tools.
API Connectors
Besides databases, TernoDBI connects to business tools and queries them through the same agent workflow:
| Category | Sources |
|---|---|
| Advertising | Google Ads, Meta Ads, LinkedIn Ads, Microsoft Ads, Amazon Ads, TikTok Ads, X Ads |
| Analytics | Google Analytics 4, Google Search Console, YouTube |
| Social | Instagram Insights, Instagram Public Data, X Analytics |
| CRM | HubSpot, Salesforce, Pipedrive, Zoho CRM |
| Commerce | Shopify |
| Payments | Stripe |
| Documents | Google Sheets, Google Drive |
Connecting a source. An organisation admin opens /connect?connector= (for example google_ads), signs in with the provider, and chooses which of their accounts TernoDBI may query. Tokens are stored encrypted and refreshed automatically. The server needs an OAuth app for each provider you enable:
| Provider | Environment variables |
|---|---|
| Google (Ads, GA4, Search Console, YouTube, Sheets, Drive) | TERNO_GOOGLE_OAUTH_CLIENT_ID, TERNO_GOOGLE_OAUTH_CLIENT_SECRET |
| Meta (Meta Ads, Instagram via Facebook Login) | TERNO_META_APP_ID, TERNO_META_APP_SECRET |
| Instagram (Instagram Login) | TERNO_INSTAGRAM_APP_ID, TERNO_INSTAGRAM_APP_SECRET |
| LinkedIn | TERNO_LINKEDIN_CLIENT_ID, `TERNO_LINKEDIN_CLIENT