@requestly/mcp 1.0.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/README.md +40 -0
- package/build/index.js +37 -0
- package/package.json +34 -0
- package/src/index.ts +30 -0
- package/src/tools/createGroup.ts +59 -0
- package/src/tools/createRule.ts +76 -0
- package/src/tools/deleteGroup.ts +58 -0
- package/src/tools/deleteRule.ts +57 -0
- package/src/tools/getGroups.ts +61 -0
- package/src/tools/getRules.ts +83 -0
- package/src/tools/index.ts +20 -0
- package/src/tools/updateGroup.ts +63 -0
- package/src/tools/updateRule.ts +86 -0
- package/src/types/createRuleSchemas.ts +120 -0
- package/src/types/ruleSchemas.ts +101 -0
- package/src/types/updateRuleSchemas.ts +133 -0
- package/tsconfig.json +113 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Requestly MCP Server
|
|
2
|
+
|
|
3
|
+
This project is a Model Context Protocol (MCP) server implemented in TypeScript using the @modelcontextprotocol/sdk. It provides full CRUD tools for Requestly rules and groups, and can be run as a stdio MCP server.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
- Create, read, update, and delete Requestly rules
|
|
7
|
+
- Create, read, update, and delete Requestly groups
|
|
8
|
+
- Attach rules to groups
|
|
9
|
+
- Run as a stdio MCP server for integration with VS Code or other MCP clients
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
### As an MCP server (for VS Code integration)
|
|
15
|
+
Configure your `.vscode/mcp.json` to use:
|
|
16
|
+
|
|
17
|
+
```jsonc
|
|
18
|
+
"Requestly Server": {
|
|
19
|
+
"type": "stdio",
|
|
20
|
+
"command": "npx",
|
|
21
|
+
"args": ["@requestly/mcp"],
|
|
22
|
+
"env": {
|
|
23
|
+
"REQUESTLY_API_KEY": "<your-api-key>"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
npx @requestly/mcp
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Get Your API Key
|
|
33
|
+
To use this server, you'll need a Requestly API key.
|
|
34
|
+
Request yours by filling out this [short form](https://app.formbricks.com/s/clryn62s316gjdeho9j03t7oa).
|
|
35
|
+
Our team will review your request and provide access shortly
|
|
36
|
+
|
|
37
|
+
## References
|
|
38
|
+
- MCP SDK: https://github.com/modelcontextprotocol/create-python-server
|
|
39
|
+
- MCP Protocol: https://modelcontextprotocol.io/llms-full.txt
|
|
40
|
+
- Requestly API Docs: https://docs.requestly.com/public-apis/overview
|