Skip to content

Commit ac2fe4f

Browse files
authored
Merge pull request #18 from G-Core/feature/mcp-server
Feature/mcp server
2 parents 20f755c + b443369 commit ac2fe4f

22 files changed

Lines changed: 3232 additions & 2127 deletions

.eslintrc.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ At present this Extension supports both Rust and Javascript.
99
<img width=50px src="https://raw.githubusercontent.com/github/explore/80688e429a7d4ef2fca1e82350fe8e3517d3494d/topics/javascript/javascript.png">&nbsp;
1010
</div>
1111

12+
## ✨ New Feature 🚀
13+
14+
The latest version now supplies a new command: `FastEdge (Generate mcp.json)`
15+
16+
This will prompt you for required information, followed by inserting the "FastEdge Assistant" MCP Server into your workspace.
17+
18+
For more information on this MCP Server see [here](https://github.com/G-Core/FastEdge-mcp-server)
19+
1220
## How it works
1321

1422
Under the hood this extension compiles your code into a wasm binary using the associated language's build tools:

eslint.config.mjs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import { defineConfig, globalIgnores } from "eslint/config";
2+
import typescriptEslint from "@typescript-eslint/eslint-plugin";
3+
import tsParser from "@typescript-eslint/parser";
4+
5+
export default defineConfig([
6+
globalIgnores(["**/out", "**/dist", "**/*.d.ts"]),
7+
{
8+
plugins: {
9+
"@typescript-eslint": typescriptEslint,
10+
},
11+
12+
languageOptions: {
13+
parser: tsParser,
14+
ecmaVersion: 6,
15+
sourceType: "module",
16+
},
17+
18+
rules: {
19+
"@typescript-eslint/naming-convention": [
20+
"warn",
21+
{
22+
selector: "import",
23+
format: ["camelCase", "PascalCase"],
24+
},
25+
],
26+
27+
// Use the standard semi rule instead of @typescript-eslint/semi
28+
semi: ["warn", "always"],
29+
curly: "warn",
30+
eqeqeq: "warn",
31+
"no-throw-literal": "warn",
32+
},
33+
},
34+
]);

exampleFolder/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# VS Code MCP configuration (contains API keys)
2+
.vscode/mcp.json

exampleFolder/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version = "0.2.0"
55
edition = "2021"
66

77
[dependencies]
8-
fastedge = "0.2.0"
8+
fastedge = "0.2"
99
mime = "0.3"
1010

1111
[lib]

0 commit comments

Comments
 (0)