Skip to main content
Glama
hyunjongmoon

mcp-mssql-server

by hyunjongmoon

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_databases

조회 가능한 DB 키 목록을 반환. 접속정보(user/password/server)는 응답에 절대 포함되지 않는다.

get_table_metadataA

테이블/뷰의 컬럼 메타데이터(이름·타입·길이·NULL허용·PK여부)를 반환. 실제 행 데이터는 반환하지 않음.

get_sp_definitionA

Stored Procedure(또는 함수/뷰)의 원본 정의(definition)와 파라미터 목록을 반환. 응답 텍스트는 PII(주민번호·휴대폰·이메일)가 자동 마스킹된다. backup=true 시 마스킹 전 raw 원본을 current 폴더에 .sql 파일로 백업한다(SP 수정 전 원본 보존용). 응답의 backedUp/backupPath 로 결과 확인.

get_sp_dependency

SP가 참조하는 테이블/뷰/SP/함수 목록을 sys.dm_sql_referenced_entities 기반으로 반환.

exec_query_select

SELECT/WITH(CTE) 전용 자유 쿼리. 행 데이터 반환(기본 50행, 최대 500). 5중 가드: ①SELECT 외 키워드 차단 ②행 수 캡 ③컬럼 기반 PII 마스킹 강제 ④민감 객체 denylist(미설정 — 비활성) ⑤차단DB(미설정 — 비활성). 모든 호출은 ~/.claude/logs/mcp-exec-query.log 에 감사 로그 기록(SQL 샘플은 PII 마스킹). EXEC/INSERT/UPDATE/DELETE/MERGE/DROP/ALTER/CREATE/TRUNCATE/INTO/DECLARE/OPENROWSET 등은 거부.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: one retrieves column metadata for tables/views, the other retrieves stored procedure definitions. There is no overlap in functionality.

Naming Consistency5/5

Both tool names follow a consistent `get_<object>_metadata` pattern with snake_case and descriptive verbs (get). The naming is predictable and clear.

Tool Count2/5

With only two tools for a server named 'mssql-server', the surface is extremely thin. A typical database server would need many more tools (e.g., query, list objects, DDL operations) to be useful. The count is far too low for the implied scope.

Completeness2/5

The tool set covers only metadata retrieval for tables and stored procedures. Missing are fundamental operations like executing queries, listing all objects, or modifying schema. Agents will face dead ends when trying to interact with the database beyond these two narrow tasks.

Maintenance

ActivityStale
ResponsivenessNo issues