We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bpamiri/pymssql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
knowledge.py•800 B
"""Knowledge resource for mssql-mcp.
Exposes saved database knowledge to Claude at the start of conversations.
"""
from ..app import mcp
from ..utils.knowledge import get_knowledge_store
@mcp.resource("mssql://knowledge")
def get_database_knowledge() -> str:
"""Previously learned information about this SQL Server database.
This resource contains all saved knowledge about the database including:
- Table descriptions and purposes
- Column definitions and meanings
- Working query patterns
- Data format notes
- Relationships between tables
- Stored procedure documentation
This knowledge was saved from previous conversations to help
Claude work more efficiently with this database.
"""
store = get_knowledge_store()
return store.get_all()