Baseql Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Baseql Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server that provides access to BaseQL GraphQL endpoints for Airtable and Google Sheets data.
BaseQL is a service that creates GraphQL APIs for your Airtable bases and Google Sheets, allowing you to query your data with the power and flexibility of GraphQL.
The fastest way to get started with BaseQL MCP Server:
# Interactive setup wizard (recommended)
npx @baseql/mcp-server setup
# Or start server directly with your credentials
npx @baseql/mcp-server serve --endpoint YOUR_ENDPOINT --key "Bearer YOUR_API_KEY"That's it! The setup wizard will:
https://api.baseql.com/airtable/graphql/YOUR_APP_IDdocs/fastmcp-python.md for the Python implementation using the MCP Python SDK + FastMCP.cd python && pip install -r requirements.txt && pip install ".[fastmcp]" && python -m baseql_mcp.http_entryBASEQL_API_ENDPOINT, BASEQL_API_KEY (Bearer-prefixed), optional MCP_HOST, MCP_PORT (default 8080), MCP_TRANSPORT (http/sse/stdio), MCP_PATH (default /mcp).FASTMCP_API_KEY (or MCP_API_KEY) to require Authorization: Bearer <token> on requests.Dockerfile/Procfile; expose 8080 and point clients to https://<host>/mcp.listTables → getTableSchema → queryTable (use searchTable for exact, case-sensitive string matches).# Run setup wizard
npx @baseql/mcp-server setup
# Start server
npx @baseql/mcp-server serve
# Validate configuration
npx @baseql/mcp-server validate# Install globally
npm install -g @baseql/mcp-server
# Use anywhere
baseql-mcp setup
baseql-mcp serve
baseql-mcp validate# Clone and build from source
git clone https://github.com/baseql/mcp-server.git
cd mcp-server
npm install
npm run build
# Use locally
node dist/cli.js setupsetup - Interactive Configuration Wizardnpx @baseql/mcp-server setupThe setup wizard will:
serve - Start the MCP Server# Use environment variables or .env file
npx @baseql/mcp-server serve
# Provide credentials directly
npx @baseql/mcp-server serve \
--endpoint "https://api.baseql.com/airtable/graphql/YOUR_APP_ID" \
--key "Bearer YOUR_API_KEY"
# Specify transport (default: stdio)
npx @baseql/mcp-server serve --transport stdiovalidate - Test Configurationnpx @baseql/mcp-server validateValidates:
Run the setup wizard to automatically configure your environment:
npx @baseql/mcp-server setup#### Environment Variables
export BASEQL_API_ENDPOINT="https://api.baseql.com/airtable/graphql/YOUR_APP_ID"
export BASEQL_API_KEY="Bearer YOUR_API_KEY"#### .env File Create a .env file in your project root:
BASEQL_API_ENDPOINT=https://api.baseql.com/airtable/graphql/YOUR_APP_ID
BASEQL_API_KEY=Bearer YOUR_API_KEY#### Claude Desktop The setup wizard automatically configures Claude Desktop, or you can add manually:
{
"mcpServers": {
"baseql": {
"command": "npx",
"args": ["-y", "@baseql/mcp-server", "serve"],
"env": {
"BASEQL_API_ENDPOINT": "https://api.baseql.com/airtable/graphql/YOUR_APP_ID",
"BASEQL_API_KEY": "Bearer YOUR_API_KEY"
}
}
}
}#### VS Code / Cursor Add to your .vscode/mcp.json:
{
"servers": {
"baseql": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@baseql/mcp-server", "serve"],
"env": {
"BASEQL_API_ENDPOINT": "https://api.baseql.com/airtable/graphql/YOUR_APP_ID",
"BASEQL_API_KEY": "Bearer YOUR_API_KEY"
}
}
}
}Once configured, you can use natural language to query your data. The MCP automatically selects the right tool based on your request:
The BaseQL MCP provides 6 specialized tools that LLMs automatically select based on your needs:
listTables - Discover Available DataUse first to see what data is available in your BaseQL endpoint.
What it returns: List of all tables with descriptions When to use: Starting point for any data exploration
getTableSchema - Understand Table StructureEssential before querying to understand field names, types, and relationships.
Example Input:
{"tableName": "contacts"}When to use: Before building queries or understanding what fields you can filter/sort by
queryTable - Retrieve Data (Most Common)Primary tool for getting data with filtering, sorting, and pagination.
Example - Get Students:
{
"tableName": "contacts",
"fields": ["id", "firstName", "email", "type"],
"filter": {"type": "Student"},
"limit": 10
}Example - Sort by Name:
{
"tableName": "contacts",
"sort": [{"field": "lastName", "direction": "asc"}],
"limit": 20
}Key Points:
_filter supports operators like _eq, _in, _and, _or{"email": {"_eq": "[email protected]"}}"asc" or "desc" (lowercase){"team": ["recXYZ123"]}searchTable - Find Records by TextSearch for records by exact, case-sensitive matches on specific string fields.
Example:
{
"tableName": "contacts",
"searchTerm": "engineering",
"fields": ["firstName", "lastName", "email"],
"limit": 10
}Important: This is not full-text search. Case-insensitive or partial matching requires client-side sampling and may miss records beyond the sample size.
getFieldOptions - Discover Dropdown ValuesPerfect for understanding what values are used in select/dropdown fields.
Example:
{
"tableName": "contacts",
"fieldName": "type",
"sampleSize": 50
}Returns: [{"value": "Student", "count": 25}, {"value": "Staff", "count": 8}]
query - Advanced GraphQL (Expert Use)Execute custom GraphQL queries for complex needs.
Example:
query {
contacts(_page_size: 5, _filter: {type: "Student"}) {
id
firstName
email
education {
institution
graduationYear
}
}
}BaseQL Syntax Notes:
Float not Int for numbers_page_size and _page for pagination{email: "[email protected]"}purchaser { id fullName }// Find university students
{"filter": {"type": "Student", "email": "*umd.edu"}}
// Get recent records (if you have a date field)
{"filter": {"created": "2024-01-01"}, "sort": [{"field": "created", "direction": "desc"}]}
// Filter by linked record ID
{"filter": {"team": ["recABC123"]}}"fields": ["id", "name", "email"]listTables → getTableSchemaqueryTable (90% of use cases)searchTable (limited - filters specific fields)query (advanced GraphQL)getFieldOptionsbaseql://schema - Access the complete GraphQL schema information{email: "[email protected]"} not {"email": "[email protected]"}"asc" or "desc" (not "ASC"/"DESC")_page_size and _page instead of limit and offset_page_size is 100 recordscontacts(_page_size: 10, _page: 2)_filter: {fieldName: "value"}purchaser, team, product# Validate your entire setup
npx @baseql/mcp-server validate
# Check CLI help
npx @baseql/mcp-server --help
# Check specific command help
npx @baseql/mcp-server setup --helpnpx @baseql/mcp-server setup to configurenpx @baseql/mcp-server validateFloat for all numeric types_filter, _page_size, _pagewhere, limit, skipnpx @baseql/mcp-server validateFor detailed debugging:
# Check environment variables
npx @baseql/mcp-server validate
# Test connection manually
curl -X POST https://api.baseql.com/airtable/graphql/YOUR_APP_ID \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"query": "{ __schema { queryType { name } } }"}'query RecentPurchases {
purchases(
_filter: {status: "completed"}
_order_by: {purchaseDate: "desc"}
_page_size: 10
) {
id
amount
purchaseDate
purchaserName
productName
}
}query ContactsByDomain {
contacts(_page_size: 100) {
id
email
fullName
}
}Then filter results in your application by email domain.
query TeamMembers($teamId: String!) {
members(_filter: {team: [$teamId]}) {
id
contact {
fullName
email
}
status
}
}If you're upgrading from BaseQL MCP Server v1.x:
# Install new version
npx @baseql/mcp-server setupThe setup wizard will automatically:
{
"mcpServers": {
"baseql": {
"command": "node",
"args": ["/path/to/baseql-mcp/dist/index.js"],
"env": {
"BASEQL_API_ENDPOINT": "your-endpoint",
"BASEQL_API_KEY": "your-api-key"
}
}
}
} {
"mcpServers": {
"baseql": {
"command": "npx",
"args": ["-y", "@baseql/mcp-server", "serve"],
"env": {
"BASEQL_API_ENDPOINT": "your-endpoint",
"BASEQL_API_KEY": "your-api-key"
}
}
}
}# Clone repository
git clone https://github.com/baseql/mcp-server.git
cd mcp-server
# Install dependencies
npm install
# Build TypeScript
npm run build
# Run locally
node dist/cli.js setup# Build the TypeScript code
npm run build
# Run in development mode
npm run dev
# Type checking
npm run type-check
# Run tests
npm testsrc/
├── cli.ts # CLI entry point
├── server.ts # Main server implementation
├── setup.ts # Interactive setup wizard
├── validator.ts # Configuration validation
├── validators.ts # Schema validation utilities
├── config-manager.ts # Configuration file management
└── index.ts # Module exports & backward compatibilitygit checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)MIT License - see LICENSE file for details.
Made with ❤️ for the MCP community
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.