Enterprise Procurement 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., "@Enterprise Procurement MCP ServerSearch for the latest procurement policy on software licenses."
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.
Enterprise Procurement MCP Server
A production-ready MCP (Model Context Protocol) server for Enterprise Procurement Intelligence. Provides AI-powered procurement policy compliance, document generation, supplier management, budget verification, and analytics through standardized MCP tools.
Features
Policy & Compliance: RAG-powered search over procurement laws, regulations, SOPs, and templates
Procurement Planning: Create, validate, and review procurement plans
Document Generation: Generate tender documents, RFQs, RFPs, contracts
Supplier Management: Risk assessment, due diligence, performance scoring
Budget Verification: Real-time budget availability checks and commitment tracking
Three-Way Matching: PO-GRN-Invoice matching with variance detection
Spend Analytics: Category, supplier, and department spend analysis
Market Intelligence: Price comparison, trend forecasting, anomaly detection
Procurement Audit: Compliance checks, red flag detection, approval trail verification
ERP Integration: Extensible adapter framework for SAP, Oracle, Dynamics, Odoo
Document Management: Support for PDF, DOCX, TXT, Markdown, HTML, CSV, XLSX
Related MCP server: Harness Engineering MCP
Architecture
┌─────────────────────────────────────────────────────────────────────┐
│ MCP Client (OpenCode, Claude, etc.) │
└──────────────────────────────┬──────────────────────────────────────┘
│ MCP Protocol (stdio)
┌──────────────────────────────▼──────────────────────────────────────┐
│ MCP Server (StdioServerTransport) │
│ ┌────────────────────────────────────────────────────────────────┐│
│ │ Tool Router ││
│ │ tools/list | tools/call | Zod Validation | Auth/RBAC ││
│ └────────────────────────────────────────────────────────────────┘│
┌─────────┬──────────┬──────────┬─────────┬──────────┬──────────────┐│
│ Policy │ Planning │ Tender │ RFQ/RFP │ Supplier │ Bid Eval ││
│ & Comp │ │ Generator│ Author │ Risk │ ││
├─────────┼──────────┼──────────┼─────────┼──────────┼──────────────┤│
│ Contract│ Req/PO │ Budget │ 3-Way │ Perform │ Spend/Market││
│ Review │ │ Verify │ Match │ Analytics│ Analytics ││
├─────────┴──────────┴──────────┴─────────┴──────────┴──────────────┤│
│ RAG Pipeline (pgvector) ││
│ Document Ingest → Chunk → Embeddings → Vector Search → Citations ││
├───────────────────────────────────────────────────────────────────┤│
│ Integration Adapters ││
│ SAP │ Oracle │ Dynamics │ Odoo │ e-Proc │ SharePoint │ MinIO/S3 ││
└───────────────────────────────────────────────────────────────────-┘Quick Start
Local Development
# Install dependencies
npm install
# Copy environment variables
cp .env.example .env
# Edit .env with your configuration
# Start PostgreSQL and Redis
docker compose up -d postgres redis
# Run database migrations
npm run db:migrate
# Seed sample data
npm run db:seed
# Start the MCP server
npm run devUsing Docker
# Start all services
docker compose up -d
# Run migrations
docker compose exec app npx prisma migrate deploy
# Seed data
docker compose exec app npm run db:seedConnecting from MCP Clients
OpenCode Configuration
Add to your opencode.json:
{
"mcpServers": {
"procurement": {
"command": "node",
"args": ["path/to/procurement-mcp-server/dist/server.js"],
"env": {
"API_KEY": "your-api-key",
"DATABASE_URL": "postgresql://...",
"REDIS_URL": "redis://..."
}
}
}
}Claude Desktop Configuration
Add to your Claude Desktop config:
{
"mcpServers": {
"procurement": {
"command": "node",
"args": ["path/to/procurement-mcp-server/dist/server.js"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}VS Code / Cursor
Configure the MCP server in the AI extension settings using the same command format.
Environment Variables
Variable | Description | Default |
| PostgreSQL connection string | Required |
| Redis connection string |
|
| OpenAI API key for embeddings | Optional |
| Embedding provider (openai/local/mock) |
|
| MCP server API key |
|
| Document storage (local/minio/s3) |
|
| Logging level |
|
Available MCP Tools
Policy & Compliance
search_policy- Search procurement policies and regulationsask_compliance_question- Ask compliance questions with citationsexplain_clause- Explain procurement clauses in plain languagerecommend_procurement_method- Recommend procurement methodgenerate_compliance_checklist- Generate compliance checklistcompare_policy_versions- Compare policy document versions
Procurement Planning
create_procurement_plan- Create procurement planvalidate_procurement_plan- Validate plan completenessgenerate_procurement_calendar- Generate procurement calendarforecast_procurement_needs- Forecast procurement needsreview_procurement_plan_compliance- Review plan compliance
Tender & RFQ/RFP
generate_tender_document- Generate tender documentgenerate_invitation_to_tender- Generate ITTgenerate_scope_of_work- Generate SoWgenerate_evaluation_criteria- Generate evaluation criteriagenerate_rfq- Generate Request for Quotationsgenerate_rfp- Generate Request for Proposals
Supplier Management
assess_supplier_risk- Assess supplier riskverify_supplier_documents- Verify supplier documentsgenerate_supplier_scorecard- Generate supplier scorecardcheck_conflict_of_interest- Check conflicts of interest
Budget & Finance
check_budget_availability- Check budget availabilityreserve_budget_commitment- Reserve budget commitmentbudget_utilization_summary- Budget utilization summarymatch_po_grn_invoice- Three-way matchingdetect_duplicate_invoice- Detect duplicate invoices
Contract Management
review_contract- Review contract risksextract_contract_clauses- Extract all clausescompare_contract_to_template- Compare to template
Analytics
spend_by_category- Spend analysis by categoryspend_by_supplier- Spend analysis by supplierdetect_maverick_spending- Detect maverick spendingget_market_price- Get market price intelligenceforecast_price_trend- Forecast price trends
Audit
audit_procurement_file- Audit procurement filedetect_missing_documents- Detect missing documentsdetect_procurement_red_flags- Detect red flags
Integrations
list_integrations- List available integrationsconnect_integration- Connect to ERP systemfetch_vendors_from_erp- Fetch vendors from ERP
Example Tool Calls
# Search procurement policies
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_policy","arguments":{"query":"open tendering threshold"}}}' | node dist/server.js
# Check budget availability
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check_budget_availability","arguments":{"budgetCode":"BUD-IT-2024","amount":50000}}}' | node dist/server.js
# Generate compliance checklist
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"generate_compliance_checklist","arguments":{"procurementMethod":"Open Tendering","procurementCategory":"IT Equipment","estimatedValue":150000}}}' | node dist/server.jsTesting
# Run all tests
npm test
# Run with coverage
npm run test:coverage
# Watch mode
npm run test:watchProject Structure
src/
├── server.ts # Entry point
├── config/env.ts # Environment configuration
├── common/ # Shared utilities (logger, errors, database)
├── auth/ # Authentication & RBAC
├── mcp/ # MCP server & tools
│ ├── index.ts # MCP server setup
│ └── tools/ # Tool implementations (17 categories)
├── modules/ # Business logic
│ ├── documents/ # Document management
│ ├── rag/ # RAG pipeline
│ ├── embeddings/ # Embedding service abstraction
│ ├── procurement/ # Procurement planning
│ ├── suppliers/ # Supplier management
│ ├── contracts/ # Contract management
│ ├── requisitions/ # Purchase requisitions
│ ├── purchase-orders/ # Purchase orders
│ ├── budgets/ # Budget management
│ ├── invoices/ # Invoice matching
│ ├── analytics/ # Spend & market analytics
│ ├── audit/ # Audit & compliance
│ └── integrations/ # ERP adapters
├── workers/ # Background workers (ingestion, embedding)
└── database/ # Database client
prisma/
├── schema.prisma # Database schema
└── seed.ts # Seed data
tests/ # Test files
docs/ # Documentation
docker/ # Docker configurationSecurity
API key authentication with SHA-256 hashing
Role-Based Access Control (RBAC) with granular permissions
Input validation via Zod schemas
SQL injection protection via Prisma ORM
Audit logging for every tool call
Safe file upload with type allowlist and size limits
No secrets in code — all via environment variables
Structured error responses (no stack traces in production)
Production Deployment
See docs/DEPLOYMENT.md for production deployment guides including Docker, VPS, and Kubernetes.
License
MIT
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/kendrickjr/procurement-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server