From f6d7d90bdefec918b425fdeaf829b40e65bde21e Mon Sep 17 00:00:00 2001 From: Ahmed Tawfik Date: Tue, 22 Sep 2026 02:20:23 -0400 Subject: [PATCH] Initial commit: PLANKA project --- .continue/agents/new-config.yaml | 18 +++++++++ .continue/mcpServers/new-mcp-server.yaml | 7 ++++ gitea-mcp-memory.md | 22 +++++++++++ mcpServers/mcp.json | 1 + package-lock.json | 4 +- server/package-lock.json | 48 ------------------------ 6 files changed, 50 insertions(+), 50 deletions(-) create mode 100644 .continue/agents/new-config.yaml create mode 100644 .continue/mcpServers/new-mcp-server.yaml create mode 100644 gitea-mcp-memory.md create mode 100644 mcpServers/mcp.json diff --git a/.continue/agents/new-config.yaml b/.continue/agents/new-config.yaml new file mode 100644 index 00000000..b9cf45fd --- /dev/null +++ b/.continue/agents/new-config.yaml @@ -0,0 +1,18 @@ +# This is an example configuration file +# To learn more, see the full config.yaml reference: https://docs.continue.dev/reference + +name: Local Ollama Config +version: 1.0.0 +schema: v1 + +models: + - name: qwen3.5 + provider: anthropic + model: qwen3.5 + apiBase: http://192.168.1.122:30068/v1 + apiKey: ollama + - name: qwen2.5 + provider: anthropic + model: qwen2.5 + apiBase: http://192.168.1.122:30068/v1 + apiKey: ollama diff --git a/.continue/mcpServers/new-mcp-server.yaml b/.continue/mcpServers/new-mcp-server.yaml new file mode 100644 index 00000000..7061d85d --- /dev/null +++ b/.continue/mcpServers/new-mcp-server.yaml @@ -0,0 +1,7 @@ +name: MCP server +version: 0.0.1 +schema: v1 +mcpServers: + - name: Gitea MCP server + type: streamable-http + url: http://192.168.1.122:18100/mcp diff --git a/gitea-mcp-memory.md b/gitea-mcp-memory.md new file mode 100644 index 00000000..40b70a3a --- /dev/null +++ b/gitea-mcp-memory.md @@ -0,0 +1,22 @@ +# Gitea MCP Memory - Key Lessons + +## NEVER DO AGAIN: +- ❌ Use fetch_url_content() for MCP endpoints (always returns 405) +- ❌ Add readme to create_repo() requests (causes MaxSize error) +- ❌ Expect terminal output capture from git commands in remote env +- ❌ Assume HTTP GET works on /mcp path (MCP requires protocol connections) + +## ALWAYS DO: +- ✅ Use MCP tools directly (list_my_repos, create_repo, etc.) +- ✅ Use wiki_write for documentation instead of repo readme +- ✅ Restart IDE after mcpServers/mcp.json updates +- ✅ Verify with netstat before assuming connectivity + +## Known URLs: +- API: http://192.168.1.122/api/v1/* +- Web UI: http://192.168.1.122 +- MCP endpoint: http://192.168.1.122:30008/mcp + +## Proof of Working Connection: +- Repo created: AhmedTawfik/gitea-temp-repo-dummy +- MCP tools operational after IDE restart diff --git a/mcpServers/mcp.json b/mcpServers/mcp.json new file mode 100644 index 00000000..1b217405 --- /dev/null +++ b/mcpServers/mcp.json @@ -0,0 +1 @@ +{"mcpServers":{"gitea_repo":{"type":"http","url":"http://192.168.1.122:18100/mcp"}}} diff --git a/package-lock.json b/package-lock.json index 45a89499..18f5815a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "planka", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "planka", - "version": "2.2.0", + "version": "2.2.1", "hasInstallScript": true, "dependencies": { "concurrently": "^10.0.4", diff --git a/server/package-lock.json b/server/package-lock.json index 44b5107a..0d9a95c8 100644 --- a/server/package-lock.json +++ b/server/package-lock.json @@ -756,9 +756,6 @@ "cpu": [ "arm" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -775,9 +772,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -794,9 +788,6 @@ "cpu": [ "ppc64" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -813,9 +804,6 @@ "cpu": [ "riscv64" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -832,9 +820,6 @@ "cpu": [ "s390x" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -851,9 +836,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -870,9 +852,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -889,9 +868,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "LGPL-3.0-or-later", "optional": true, "os": [ @@ -908,9 +884,6 @@ "cpu": [ "arm" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -933,9 +906,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -958,9 +928,6 @@ "cpu": [ "ppc64" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -983,9 +950,6 @@ "cpu": [ "riscv64" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1008,9 +972,6 @@ "cpu": [ "s390x" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1033,9 +994,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1058,9 +1016,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "Apache-2.0", "optional": true, "os": [ @@ -1083,9 +1038,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "Apache-2.0", "optional": true, "os": [