Files
planka/gitea-mcp-memory.md
Ahmed Tawfik f6d7d90bde
Build and Test / build-and-test (push) Failing after 6m57s
Build and Push Docker Nightly Image / build-and-push-docker-nightly-image (push) Canceled after 0s
Initial commit: PLANKA project
2026-09-22 02:20:23 -04:00

23 lines
838 B
Markdown

# 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