singularity
Click on "Deploy 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., "@singularityfind an expense tracking tool for my team and show trust flags"
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.
Singularity — MCP Discovery & Security Gateway
Perplexity for MCP. Discover the right tool for a problem, see its trust card (prompt-injection risk, permission overreach, publisher status), connect it in one click, and execute it through a secure, audited gateway — one product, one config.
See ROADMAP.md for the full plan. Blueprint: ../Singularity_Blueprint.md.
Quickstart (local)
pip install -r requirements.txt
copy .env.example .env # optional, defaults are fine (SQLite)
python scripts/seed_index.py # builds index + embeddings (first run downloads ~35MB model)
python -m uvicorn app.main:app --reload # http://127.0.0.1:8000/docsA fresh boot with an empty database auto-seeds itself — seed_index.py is only needed
for manual re-seeding.
Related MCP server: heddle
Use Singularity as an MCP server
Singularity is a native MCP server (streamable HTTP, stateless) at /mcp.
VS Code / Copilot Chat — .vscode/mcp.json:
{ "servers": { "singularity": { "type": "http", "url": "http://127.0.0.1:8000/mcp" } } }Cursor — ~/.cursor/mcp.json:
{ "mcpServers": { "singularity": { "url": "http://127.0.0.1:8000/mcp" } } }Claude Code CLI:
claude mcp add --transport http singularity http://127.0.0.1:8000/mcpThen just ask your agent: "my team needs expense tracking" — it calls find_solutions
and gets ranked options with trust cards and security flags.
One-click install (replace the URL after deploying): Install in VS Code
Smoke-check any endpoint without an editor:
powershell -ExecutionPolicy Bypass -File scripts\smoke_mcp.ps1 -BaseUrl http://127.0.0.1:8000Tools
Tool | What it does |
| Ranked, trust-scored recommendations with plain-language security flags |
| Full security card: permissions requested vs needed, injection-scan verdicts, publisher status |
| Side-by-side trust table for shortlisted candidates |
Every result carries fit_score, trust_score, rank_score, trust_flags, and a
human-readable rationale. The seed index includes quickledger-pro, an intentionally
poisoned fictional tool — ask about expenses and watch it get flagged
(suspicious_description_imperative, hidden_unicode_characters, permission_overreach)
and pushed down the ranking.
Deploy your own instance (Render + Supabase)
Full walkthrough in DEPLOY.md. Summary:
Create a free Supabase project → copy the connection string → add
+psycopgdriver segment +?sslmode=requirePush this repo to GitHub → Render "New +" → "Blueprint" → it reads
render.yamlPaste the Supabase URL into the
SINGULARITY_DATABASE_URLenv var when promptedFirst boot auto-creates tables and seeds the index;
https://<app>.onrender.com/mcpis live
Publish to MCP registries
After deploying (public HTTPS required), list Singularity so others can find it:
Official MCP Registry — edit placeholders in
server.json(replaceXXXXwith your Render app name), then:npx mcp-publisher@latest init # scaffolds/validates server.json npx mcp-publisher@latest login # prove io.github.<you> ownership via GitHub npx mcp-publisher@latest publish # listed at https://registry.modelcontextprotocol.io within minutesSmithery — submit repo at https://smithery.ai/new (uses
smithery.yaml)Glama — submit remote URL at https://glama.ai, then claim the listing
GitHub topics — add
mcp-server,mcp,ai-securitytopics to your repo; PulseMCP/MCP.so crawlers pick it up within 1–2 weeks
Tip: registries re-crawl weekly and strip verified badges from sleeping servers —
Render's $7/mo Starter plan keeps Singularity always-on during listing/investor periods.
Tests
pytest -vLayout
singularity/
main.py FastAPI app factory + lifespan (auto-seed, mounts MCP)
mcp_server.py native MCP server: find_solutions / get_trust_report / compare_tools
config.py env-driven settings (SINGULARITY_* prefix)
database.py SQLAlchemy engine/session (SQLite dev, Postgres prod)
models.py Tool + AuditLog tables
schemas.py request/response contracts
middleware/
rate_limit.py per-IP token-bucket limiter (X-Forwarded-For aware)
services/
discovery_engine.py heuristic intent parsing
recommendation_index.py in-memory vector search over seeded tools
ranking.py fit/trust blend + rationale builder
scanner.py static injection/overreach scan (Phase 2 preview)
seeder.py seed logic shared by CLI and boot-time auto-seed
embeddings.py fastembed provider (bge-small-en-v1.5)
routers/
recommend.py POST /recommend, GET /tools
data/seed_tools.json curated 15-tool index incl. demo attack sample
scripts/seed_index.py manual seeding CLI
scripts/smoke_mcp.ps1 end-to-end MCP handshake smoke test (works on remote URLs too)
Dockerfile / render.yaml one-command Render deployment
server.json / smithery.yaml registry publishing manifests (fill placeholders first)
tests/ pytest suite (API + scanner + MCP tools & endpoint)This server cannot be deployed
Maintenance
Related MCP Connectors
Search, vet & assemble MCP servers from your agent: verified tools, risk labels, and trust scores.
The MCP server that vets MCP servers: identity, risk grade and per-tool risk before you install.
Find, compare, and audit software for AI agents. Scored registry of tools and MCP servers.
Agent-native launch platform and tool directory: search, alternatives, trending, launch via MCP.
Related MCP Servers
AlicenseCqualityDmaintenanceProvides unified access to 100+ MCP tools from the marketplace plus custom MCPs through a single gateway with search and execute capabilities.27 npm23MIT- AlicenseNot gradedqualityAmaintenanceEnables users to define and run MCP tools using declarative YAML configs with built-in trust enforcement, credential brokering, and tamper-evident audit logging.14MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover and execute tools via a secure MCP server with JWT authentication, RBAC, rate limiting, and audit logging.1MIT
- FlicenseAqualityDmaintenanceCentral registry for AI tools with vector search and knowledge graph, enabling intelligent tool discovery, chaining, and execution via MCP.12-