Bring Pgvector
to OpenAI Agents SDK
Create your Vinkius account to connect Supabase Vector to OpenAI Agents SDK and start using all 7 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Supabase Vector MCP Server?
Integrate the powerful AI-native PostgreSQL extensions of Supabase Vector straight into your conversational LLM workflows. By authenticating your environment natively with the service_role key, your AI assistant bypasses row-level security constraints to operate as an unrestricted database administrator. Perform advanced similarity searches using the pgvector extension, parse and manipulate multi-dimensional embeddings, and execute foundational CRUD operations via simple natural language commands. Streamline RAG (Retrieval-Augmented Generation) setups and semantic engineering directly, avoiding the need for external dashboards or manual SQL querying.
What you can do
- Semantic Vector Matching — Seamlessly query unstructured contextual similarities performing embedding comparisons by executing
match_vectorsutilizing custom postgres RPC parameters locally. - Database Structural Interaction — Systematically browse schema availability utilizing
list_tablesand extract specific data arrays effortlessly throughquery_table_rows. - Content State Manipulations — Seamlessly orchestrate data inputs invoking
insert_table_rowsor explicitly clear legacy assignments logically mapping identifiers withdelete_table_rows. - Custom Functional Logic — Launch sophisticated PL/pgSQL algorithms statically configured in your Supabase backend directly with
call_postgres_function.
How it works
- Set up the Supabase Vector MCP module as an active integration inside your CLI environment.
- In the configuration matrix, bind your exact deployed
SUPABASE_URLalongside your powerful validationSUPABASE_SERVICE_KEY. - Instruct your AI securely: "Match the current context to my 'documents_embeddings' function extracting the 5 most similar articles, then call the active review RPC."
Who is this for?
- AI & Data Engineers — Rapidly iterate embedding architectures testing embedding models and distance metrics strictly without opening external validation platforms.
- PostgreSQL Database Administrators — Diagnose semantic accuracy directly from the prompt line configuring inputs organically and adjusting values via conversational arrays.
- Backend Developers — Evaluate robust vector databases quickly debugging your semantic infrastructure and RAG deployments natively directly in your active workspace.
Built-in capabilities (7)
Calls a custom Postgres function (RPC) with parameters
This action is irreversible. Deletes rows from a table based on a column value
Retrieves a specific row by matching a column value
Provide a JSON array of row objects. Inserts new rows into a specific table
Lists all tables in the Supabase project
Requires a valid RPC function name and an embedding array. Performs a vector similarity search via Postgres RPC
Provide table name and optional select/limit. Queries rows from a specific table
Why OpenAI Agents SDK?
The OpenAI Agents SDK auto-discovers all 7 tools from Supabase Vector through native MCP integration. Build agents with built-in guardrails, tracing, and handoff patterns. chain multiple agents where one queries Supabase Vector, another analyzes results, and a third generates reports, all orchestrated through Vinkius.
- —
Native MCP integration via
MCPServerSse, pass the URL and the SDK auto-discovers all tools with full type safety - —
Built-in guardrails, tracing, and handoff patterns let you build production-grade agents without reinventing safety infrastructure
- —
Lightweight and composable: chain multiple agents and MCP servers in a single pipeline with minimal boilerplate
- —
First-party OpenAI support ensures optimal compatibility with GPT models for tool calling and structured output
Supabase Vector in OpenAI Agents SDK
Why run Supabase Vector with Vinkius?
The Supabase Vector connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 7 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Supabase Vector using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Supabase Vector and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Supabase Vector to OpenAI Agents SDK through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Supabase Vector for OpenAI Agents SDK
Every request between OpenAI Agents SDK and Supabase Vector is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Are embedding arrays processed efficiently during intensive vector similarity matching?
The integration specifically manages large semantic arrays seamlessly by calling lightweight Postgres RPC configurations locally natively internally securely.
How is risk managed securely when manipulating and clearing root analytical vectors?
Executing delete_table_rows operates systematically relying inherently on exactly structured string conditions implicitly naturally precisely eliminating ambiguity securely effectively actively strictly smoothly securely precisely correctly reliably locally dynamically successfully effortlessly intelligently gracefully elegantly safely accurately directly comprehensively natively.
Which distance metrics does the vector search support?
pgvector supports cosine similarity, inner product, and L2 (Euclidean) distance. The metric used depends on how your RPC function and index are configured in PostgreSQL — the AI passes arguments accordingly.
How does the OpenAI Agents SDK connect to MCP?
Use MCPServerSse(url=...) to create a server connection. The SDK auto-discovers all tools and makes them available to your agent with full type information.
Can I use multiple MCP servers in one agent?
Yes. Pass a list of MCPServerSse instances to the agent constructor. The agent can use tools from all connected servers within a single run.
Does the SDK support streaming responses?
Yes. The SDK supports SSE and Streamable HTTP transports, both of which work natively with Vinkius.
MCPServerStreamableHttp not found
Ensure you have the latest version: pip install --upgrade openai-agents
Agent not calling tools
Make sure your prompt explicitly references the task the tools can help with.
Explore More MCP Servers
View all →
College Scorecard API
6 toolsAccess US college data — audit school performance and costs via AI.

Plunk Email Marketing
8 toolsAutomate your email marketing via Plunk — send transactional emails, track events, and manage contacts.

GitGuardian
49 toolsAutomate secret detection and incident response via GitGuardian — manage secret incidents, deploy honeytokens, and audit workspace security directly from your AI agent.

Getpaid
12 toolsManage billing, track payments, and initiate checkouts via AI agents with Getpaid.io.
