Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,3 @@ jobs:
exit 1
fi
echo "✅ extension.toml found"

- name: Test extension build script
run: |
echo "🔧 Testing build script..."
chmod +x build.sh
./build.sh
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 13 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
[workspace]
members = ["crates/extension", "crates/bridge"]
resolver = "2"

[workspace.package]
[package]
name = "deepwiki-mcp-server"
version = "0.1.0"
edition = "2021"
authors = ["Keshav Mishra <me@kmsh.dev>"]
repository = "https://github.com/keshav1998/deepwiki-mcp-server"
license = "MIT"

[workspace.lints.rust]
unsafe_code = "forbid"
[lib]
crate-type = ["cdylib"]
path = "src/lib.rs"

[workspace.lints.clippy]
# Enable pedantic clippy checks
pedantic = { level = "warn", priority = -1 }
# Specific lint configurations
module_name_repetitions = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
[dependencies]
zed_extension_api = "0.6.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
schemars = { version = "0.8", features = ["derive"] }

[workspace]
members = ["crates/bridge"]
Comment on lines +19 to +20

Copilot AI Jul 23, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workspace configuration only contains one member ('crates/bridge') after the extension was moved to the root. Consider whether a workspace is still necessary or if the bridge crate should also be consolidated into the main package.

Suggested change
[workspace]
members = ["crates/bridge"]
# The workspace configuration has been removed as it is no longer necessary.

Copilot uses AI. Check for mistakes.
90 changes: 0 additions & 90 deletions build.sh

This file was deleted.

11 changes: 3 additions & 8 deletions configuration/default_settings.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,9 @@

// Endpoint URL - choose one:
// - "https://mcp.deepwiki.com" for free public repositories only
// - "https://mcp.devin.ai" for authenticated access to public and private repositories
// - "https://mcp.devin.ai" for authenticated access (OAuth2 handled automatically)
"endpoint": "https://mcp.deepwiki.com",

// Wire protocol to use (sse or mcp)
"protocol": "mcp",

// Optional: Devin API key for authenticated access to private repositories
// Required when using "https://mcp.devin.ai" endpoint
// Get your API key from https://devin.ai account settings
// "devin_api_key": "YOUR_DEVIN_API_KEY"
// Note: Transport type (HTTP/SSE) is auto-detected based on URL patterns
// Note: Authentication for Devin endpoints is handled automatically via OAuth2
}
30 changes: 3 additions & 27 deletions configuration/installation_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

This extension provides access to DeepWiki's documentation search capabilities through the Model Context Protocol (MCP).


## Configuration

The extension will automatically download the appropriate bridge binary for your platform (Linux, macOS, or Windows) from GitHub releases.

### Basic Setup (Free - Public Repositories Only)

For access to public repositories only, no authentication is required:
Expand Down Expand Up @@ -38,30 +41,3 @@ For access to both public and private repositories, you'll need a Devin API key:
}
}
```

## Available Tools

The DeepWiki MCP server provides three main tools:

- **`read_wiki_structure`** - Get a list of documentation topics for a GitHub repository
- **`read_wiki_contents`** - View documentation about a GitHub repository
- **`ask_question`** - Ask any question about a GitHub repository and get an AI-powered, context-grounded response

## Wire Protocols

The server supports two wire protocols:

- **SSE (Server-Sent Events)** - Recommended for most integrations (`/sse` endpoint)
- **Streamable HTTP** - Alternative protocol (`/mcp` endpoint)

For maximum compatibility, the SSE protocol is used by default.

## Troubleshooting

- Ensure your Devin API key is valid if using the authenticated endpoint
- Check that the endpoint URL is correct for your chosen service
- Verify that the protocol setting matches your client's capabilities

For more information, visit:
- [DeepWiki MCP Documentation](https://docs.devin.ai/work-with-devin/deepwiki-mcp)
- [Devin MCP Documentation](https://docs.devin.ai/work-with-devin/devin-mcp)
13 changes: 5 additions & 8 deletions crates/bridge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "deepwiki-mcp-bridge"
version.workspace = true
edition.workspace = true
authors.workspace = true
version = "0.1.0"
edition = "2021"
authors = ["Keshav Mishra <me@kmsh.dev>"]
description = "DeepWiki MCP Proxy - Minimal proxy using official rust-sdk for Zed context servers"
repository.workspace = true
license.workspace = true
repository = "https://github.com/keshav1998/deepwiki-mcp-server"
license = "MIT"

[[bin]]
name = "deepwiki-mcp-bridge"
Expand Down Expand Up @@ -37,6 +37,3 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[features]
default = []

[lints]
workspace = true
25 changes: 0 additions & 25 deletions crates/extension/Cargo.toml

This file was deleted.

11 changes: 0 additions & 11 deletions crates/extension/configuration/default_settings.jsonc

This file was deleted.

89 changes: 0 additions & 89 deletions crates/extension/configuration/installation_instructions.md

This file was deleted.

2 changes: 1 addition & 1 deletion extension.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ schema_version = 1
authors = ["Keshav Mishra <me@kmsh.dev>"]
description = "DeepWiki - Repository Documentation and AI Q&A"
repository = "https://github.com/keshav1998/deepwiki-mcp-server"
lib = { path = "crates/extension/Cargo.toml" }


[context_servers.deepwiki-mcp-server]
name = "DeepWiki MCP Server"
Loading
Loading