55[ ![ License: BSL-1.0] ( https://img.shields.io/badge/License-BSL--1.0-blue.svg )] ( https://opensource.org/licenses/BSL-1.0 )
66[ ![ CI] ( https://github.com/cppalliance/pinecone-read-only-mcp-typescript/workflows/CI/badge.svg )] ( https://github.com/cppalliance/pinecone-read-only-mcp-typescript/actions )
77
8- A Model Context Protocol (MCP) server that provides semantic search over Pinecone vector databases using hybrid search (dense + sparse) with reranking.
8+ A [ Model Context Protocol] ( https://modelcontextprotocol.io ) (MCP) server that implements the MCP specification via ` @modelcontextprotocol/sdk ` v1.25+ and provides semantic search over Pinecone vector databases using hybrid search (dense + sparse) with reranking.
99
1010** Current version: 0.2.0** (npm ` latest ` after publish). Pin ` @0.2.0 ` in install and MCP config for reproducible upgrades.
1111
@@ -19,18 +19,18 @@ While the package is **`0.y.z`**, minor releases may include breaking changes ([
1919
2020## Documentation
2121
22- | Doc | Description |
23- | ---------------------------------------------- | -------------------------------------- |
24- | [ docs/README.md] ( docs/README.md ) | Index of all guides |
25- | [ docs/TOOLS.md] ( docs/TOOLS.md ) | Tool catalog & flows |
26- | [ docs/CONFIGURATION.md] ( docs/CONFIGURATION.md ) | Env vars, CLI flags, library config |
27- | [ docs/FAQ.md] ( docs/FAQ.md ) | Common questions |
28- | [ docs/MIGRATION.md] ( docs/MIGRATION.md ) | Deprecations & breaking changes |
29- | [ docs/deprecation-policy.md] ( docs/deprecation-policy.md ) | Release & deprecation policy |
30- | [ docs/CI_CD.md] ( docs/CI_CD.md ) | GitHub Actions, SBOM, Docker, releases |
31- | [ docs/RELEASING.md] ( docs/RELEASING.md ) | npm publish via GitHub Releases |
32- | [ docs/CONTRIBUTING.md] ( docs/CONTRIBUTING.md ) | How to contribute |
33- | [ docs/SECURITY.md] ( docs/SECURITY.md ) | Vulnerability reporting |
22+ | Doc | Description |
23+ | -------------------------------------------------------- | -------------------------------------- |
24+ | [ docs/README.md] ( docs/README.md ) | Index of all guides |
25+ | [ docs/TOOLS.md] ( docs/TOOLS.md ) | Tool catalog & flows |
26+ | [ docs/CONFIGURATION.md] ( docs/CONFIGURATION.md ) | Env vars, CLI flags, library config |
27+ | [ docs/FAQ.md] ( docs/FAQ.md ) | Common questions |
28+ | [ docs/MIGRATION.md] ( docs/MIGRATION.md ) | Deprecations & breaking changes |
29+ | [ docs/deprecation-policy.md] ( docs/deprecation-policy.md ) | Release & deprecation policy |
30+ | [ docs/CI_CD.md] ( docs/CI_CD.md ) | GitHub Actions, SBOM, Docker, releases |
31+ | [ docs/RELEASING.md] ( docs/RELEASING.md ) | npm publish via GitHub Releases |
32+ | [ docs/CONTRIBUTING.md] ( docs/CONTRIBUTING.md ) | How to contribute |
33+ | [ docs/SECURITY.md] ( docs/SECURITY.md ) | Vulnerability reporting |
3434
3535## Error responses
3636
@@ -149,7 +149,11 @@ Module-level singleton facades (`setPineconeClient`, `registerUrlGenerator`, `ge
149149``` ts
150150const config = resolveAllianceConfig ({ apiKey: ' ...' });
151151const ctx = createServer (config );
152- ctx .setClient (new PineconeClient ({ /* ... */ }));
152+ ctx .setClient (
153+ new PineconeClient ({
154+ /* ... */
155+ })
156+ );
153157const server = await setupAllianceServer ({ context: ctx });
154158```
155159
@@ -163,9 +167,16 @@ Process-default / facade-based setup remains available during the deprecation wi
163167
164168``` ts
165169import { PineconeClient , setPineconeClient } from ' @will-cppa/pinecone-read-only-mcp' ;
166- import { resolveAllianceConfig , setupAllianceServer } from ' @will-cppa/pinecone-read-only-mcp/alliance' ;
170+ import {
171+ resolveAllianceConfig ,
172+ setupAllianceServer ,
173+ } from ' @will-cppa/pinecone-read-only-mcp/alliance' ;
167174
168- setPineconeClient (new PineconeClient ({ /* ... */ }));
175+ setPineconeClient (
176+ new PineconeClient ({
177+ /* ... */
178+ })
179+ );
169180const server = await setupAllianceServer (resolveAllianceConfig ({ apiKey: ' ...' }));
170181// Call teardownServer() before re-initializing the process-default context.
171182```
@@ -185,7 +196,10 @@ import {
185196 type UrlGenerationResult ,
186197 type UrlGeneratorFn ,
187198} from ' @will-cppa/pinecone-read-only-mcp' ;
188- import { resolveAllianceConfig , setupAllianceServer } from ' @will-cppa/pinecone-read-only-mcp/alliance' ;
199+ import {
200+ resolveAllianceConfig ,
201+ setupAllianceServer ,
202+ } from ' @will-cppa/pinecone-read-only-mcp/alliance' ;
189203
190204const config = resolveAllianceConfig ({ apiKey: ' ...' }); // optional: indexName, rerankModel
191205const ctx = createServer (config );
@@ -217,12 +231,12 @@ A fuller embedding sample lives in [examples/alliance/custom-url-generator.ts](e
217231
218232** Alliance / advanced** — [ examples/alliance/] ( examples/alliance/ ) :
219233
220- | File | Description |
221- | ---- | ----------- |
222- | [ examples/alliance/suggest-flow-demo.ts] ( examples/alliance/suggest-flow-demo.ts ) | Manual ** suggest_query_params → query** flow |
223- | [ examples/alliance/guided-query-demo.ts] ( examples/alliance/guided-query-demo.ts ) | ** guided_query** and ` experimental.decision_trace ` |
224- | [ examples/alliance/library-embedding-demo.ts] ( examples/alliance/library-embedding-demo.ts ) | ** setupAllianceServer** without the CLI |
225- | [ examples/alliance/custom-url-generator.ts] ( examples/alliance/custom-url-generator.ts ) | Custom ** URL generator** registration |
234+ | File | Description |
235+ | ------------------------------------------------------------------------------------------ | --------------------------------------- ----------- |
236+ | [ examples/alliance/suggest-flow-demo.ts] ( examples/alliance/suggest-flow-demo.ts ) | Manual ** suggest_query_params → query** flow |
237+ | [ examples/alliance/guided-query-demo.ts] ( examples/alliance/guided-query-demo.ts ) | ** guided_query** and ` experimental.decision_trace ` |
238+ | [ examples/alliance/library-embedding-demo.ts] ( examples/alliance/library-embedding-demo.ts ) | ** setupAllianceServer** without the CLI |
239+ | [ examples/alliance/custom-url-generator.ts] ( examples/alliance/custom-url-generator.ts ) | Custom ** URL generator** registration |
226240
227241Run with ` npx tsx examples/<path>.ts ` from a checkout (requires valid Pinecone env for live paths). See [ examples/README.md] ( examples/README.md ) .
228242
0 commit comments