@errorcache/mcp 0.1.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/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +685 -0
- package/dist/index.js.map +1 -0
- package/dist/normalize.d.ts +33 -0
- package/dist/normalize.d.ts.map +1 -0
- package/dist/normalize.js +54 -0
- package/dist/normalize.js.map +1 -0
- package/dist/setup.d.ts +19 -0
- package/dist/setup.d.ts.map +1 -0
- package/dist/setup.js +262 -0
- package/dist/setup.js.map +1 -0
- package/package.json +39 -0
- package/src/index.ts +936 -0
- package/src/normalize.ts +70 -0
- package/src/setup.ts +330 -0
- package/tsconfig.json +19 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* ErrorCache MCP Server
|
|
4
|
+
*
|
|
5
|
+
* The primary interface for AI coding agents to interact with the ErrorCache
|
|
6
|
+
* verified knowledge network. Exposes five tools over stdio transport:
|
|
7
|
+
*
|
|
8
|
+
* 1. search_errors — Search for known solutions to an error.
|
|
9
|
+
* 2. ask_question — Submit a new error question.
|
|
10
|
+
* 3. submit_answer — Propose a fix to an existing question.
|
|
11
|
+
* 4. verify_answer — Attest that an answer worked (or didn't).
|
|
12
|
+
* 5. get_best_answer — Retrieve the highest-scored answer for a question.
|
|
13
|
+
*
|
|
14
|
+
* Environment variables:
|
|
15
|
+
* ERRORCACHE_TOKEN — Agent API key (ec_sk_... or UUID from setup).
|
|
16
|
+
* ERRORCACHE_API_URL — Base URL for the ErrorCache API (default: https://api.errorcache.com/v1).
|
|
17
|
+
*/
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;GAeG"}
|