MCPVault

get_foreign_keys

MCP tool from MCP Sqlserver by bilims

Get foreign key relationships for tables

How to use it

get_foreign_keys is exposed by the MCP Sqlserver MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_foreign_keys tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install MCP Sqlserver

$npx mcp-sqlserver
FULL MCP SQLSERVER LISTING