Bio Preferred MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Bio Preferred MCP Serverlist all products"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bio Preferred MCP Server
A Model Context Protocol (MCP) server that provides AI agents with access to Bio Preferred product data from a PostgreSQL database.
๐ Quick Start
1. Install Dependencies
pip install -r requirements.txt2. Start the MCP Server
python run_server_simple.py3. Configure Claude Desktop
Add this configuration to Claude Desktop โ Settings โ Developer โ MCP:
{
"mcpServers": {
"bio-preferred": {
"command": "/Users/ginugeorge/miniconda3/bin/python",
"args": ["/Users/ginugeorge/Report_mcp/run_server_simple.py"],
"name": "Bio Preferred Database",
"description": "Access to Bio Preferred product database with 9 products and 5 categories"
}
}
}4. Test with Claude
Ask Claude: "What products are in the Bio Preferred database?"
Related MCP server: PostgreSQL MCP Server
๐ Available Data
9 Products: Biodegradable Soap, Plant-Based Degreaser, Soy-Based Paint, etc.
5 Categories: Cleaning Agents, Lubricants, Paints & Coatings, Construction Materials, Office Supplies
6 Tables: products, product_categories, category_product_map, acquisition, awards, contract_bio_entry
4 Acquisition Records: Contract values and funding agencies
๐ ๏ธ MCP Tools
The server provides 9 tools for AI agents:
Product & Category Tools
search_products- Search for products by namelist_categories- Show all product categories
Contract Management Tools
list_contract_information- List all contract information including acquisition details, contract values, and funding agencieslist_contracts_with_reports- List contracts that have submitted reports with submission details and report countslist_contracts_without_reports- List contracts that have NOT submitted reports yet
Database Tools
list_tables- List all database tablesget_table_schema- Explore table structureexecute_custom_query- Execute custom SQL queries (read-only)
๐ Project Structure
Report_mcp/
โโโ ๐ run_server_simple.py # Main MCP server (Claude-compatible)
โโโ ๐ง database.py # Database connection and utilities
โโโ โ๏ธ config.py # Configuration management
โโโ ๐ run_server.py # Alternative server implementation
โโโ ๐ start_for_chatgpt.py # Easy startup script
โโโ ๐ฆ requirements.txt # Python dependencies
โโโ ๐ tests/ # Test suite
โ โโโ test_all.py # Run all tests
โ โโโ test_database_connection.py
โ โโโ test_local_mcp.py
โ โโโ test_mcp_tools.py
โ โโโ test_chatgpt_integration.py
โโโ ๐ docs/ # Documentation
โโโ CHATGPT_INTEGRATION.md
โโโ CHATGPT_SETUP_GUIDE.md
โโโ CONFIGURATION.md
โโโ TESTING.md
โโโ mcp_config.json๐งช Testing
Run All Tests
python tests/test_all.pyIndividual Tests
# Test database connection
python tests/test_database_connection.py
# Test MCP server locally
python tests/test_local_mcp.py
# Test ChatGPT integration
python tests/test_chatgpt_integration.pyโ๏ธ Configuration
The server is pre-configured with:
Database: biopref (localhost:5432)
User: ginugeorge
Schema: public
Connection Timeout: 10 seconds
Query Timeout: 30 seconds
No environment variables or additional configuration needed!
๐ง Database Schema
Products Table
id- UUID product identifiername- Product name (e.g., "Biodegradable Soap")
Categories Table
id- UUID category identifiername- Category name (e.g., "Cleaning Agents")
Additional Tables
category_product_map- Links products to categoriesacquisition- Contract values and funding agenciesawards- Award informationcontract_bio_entry- Contract bio entries
๐ฌ Example Claude Conversations
"Find all soap products in the Bio Preferred database"
"What categories are available?"
"Show me the structure of the products table"
"How many products are in each category?"
๐จ Troubleshooting
Common Issues
"Database connection failed"
Ensure PostgreSQL is running:
psql -lCheck the
bioprefdatabase exists
"MCP server not found"
Verify the Python path in Claude Desktop configuration
Test locally:
python tests/test_local_mcp.py
"No tools available"
Check server logs in Claude Desktop
Run tests to verify functionality
Debug Commands
# Test database connection
python tests/test_database_connection.py
# Test MCP server
python tests/test_local_mcp.py
# Check server status
ps aux | grep python๐ Documentation
Claude Desktop Setup - Complete setup guide
Configuration Details - Configuration reference
Testing Guide - Comprehensive testing instructions
Integration Guide - ChatGPT integration details
๐ฏ Status
โ Production Ready - All tests passing, optimized for Claude Desktop
Your Bio Preferred MCP server is ready to provide AI agents with access to real product data! ๐
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ginug/Report_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server