0nmcp 2.7.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/catalog.js CHANGED
@@ -1833,6 +1833,35 @@ export const SERVICE_CATALOG = {
1833
1833
  }),
1834
1834
  },
1835
1835
 
1836
+ // ── Ollama (Local AI) ──────────────────────────────────────
1837
+ ollama: {
1838
+ name: "Ollama",
1839
+ type: "ai",
1840
+ description: "Local AI inference — chat completions, embeddings, model management. Free, private, no API costs.",
1841
+ baseUrl: "http://localhost:11434",
1842
+ authType: "none",
1843
+ credentialKeys: [],
1844
+ capabilities: [
1845
+ { name: "generate_text", actions: ["create"], description: "Generate text completions with local models (Llama, Mistral, etc.)" },
1846
+ { name: "chat_completion", actions: ["create"], description: "Multi-turn chat with local models" },
1847
+ { name: "create_embedding", actions: ["create"], description: "Create text embeddings locally" },
1848
+ { name: "manage_models", actions: ["list", "pull", "delete", "show"], description: "List, pull, inspect, and delete local models" },
1849
+ ],
1850
+ endpoints: {
1851
+ chat_completion: { method: "POST", path: "/api/chat", body: { model: "llama3.1", messages: [], stream: false } },
1852
+ generate: { method: "POST", path: "/api/generate", body: { model: "llama3.1", prompt: "", stream: false } },
1853
+ create_embedding: { method: "POST", path: "/api/embed", body: { model: "llama3.1", input: "" } },
1854
+ list_models: { method: "GET", path: "/api/tags" },
1855
+ show_model: { method: "POST", path: "/api/show", body: { name: "" } },
1856
+ pull_model: { method: "POST", path: "/api/pull", body: { name: "", stream: false } },
1857
+ delete_model: { method: "DELETE", path: "/api/delete", body: { name: "" } },
1858
+ list_running: { method: "GET", path: "/api/ps" },
1859
+ },
1860
+ authHeader: () => ({
1861
+ "Content-Type": "application/json",
1862
+ }),
1863
+ },
1864
+
1836
1865
  };
1837
1866
 
1838
1867
  // ── Helpers ────────────────────────────────────────────────