opencontextprotocol-sdk 0.2.0__tar.gz
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.
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: opencontextprotocol-sdk
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Open Context Protocol — one-line install for server, client, and hybrid routing
|
|
5
|
+
Project-URL: Homepage, https://opencontextprotocol.ai
|
|
6
|
+
Project-URL: Repository, https://github.com/Rajesh1213/OCP
|
|
7
|
+
Project-URL: Documentation, https://opencontextprotocol.ai/routing
|
|
8
|
+
Project-URL: Bug Tracker, https://github.com/Rajesh1213/OCP/issues
|
|
9
|
+
License: Apache-2.0
|
|
10
|
+
Requires-Python: >=3.11
|
|
11
|
+
Requires-Dist: ocp-client>=0.2.0
|
|
12
|
+
Requires-Dist: ocp-server>=0.2.0
|
|
13
|
+
Provides-Extra: anthropic
|
|
14
|
+
Requires-Dist: ocp-router[anthropic]>=0.2.0; extra == 'anthropic'
|
|
15
|
+
Provides-Extra: full
|
|
16
|
+
Requires-Dist: ocp-router[anthropic,openai]>=0.2.0; extra == 'full'
|
|
17
|
+
Provides-Extra: openai
|
|
18
|
+
Requires-Dist: ocp-router[openai]>=0.2.0; extra == 'openai'
|
|
19
|
+
Provides-Extra: router
|
|
20
|
+
Requires-Dist: ocp-router>=0.2.0; extra == 'router'
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
# opencontextprotocol-sdk
|
|
24
|
+
|
|
25
|
+
One-line install for [Open Context Protocol](https://opencontextprotocol.ai).
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install opencontextprotocol-sdk # server + client
|
|
29
|
+
pip install opencontextprotocol-sdk[router] # + hybrid local/cloud routing (Ollama)
|
|
30
|
+
pip install opencontextprotocol-sdk[anthropic] # + Anthropic Claude paid backend
|
|
31
|
+
pip install opencontextprotocol-sdk[openai] # + OpenAI paid backend
|
|
32
|
+
pip install opencontextprotocol-sdk[full] # everything
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
This is a meta-package. It installs and keeps in sync:
|
|
36
|
+
|
|
37
|
+
| Package | What it provides |
|
|
38
|
+
|---|---|
|
|
39
|
+
| `ocp-server` | MCP server — runs in your IDE via `.mcp.json` |
|
|
40
|
+
| `ocp-client` | Python async client SDK |
|
|
41
|
+
| `ocp-router` | Hybrid routing layer (optional) |
|
|
42
|
+
|
|
43
|
+
## Quick start
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# IDE integration (Claude Code, Cursor, Windsurf)
|
|
47
|
+
pip install opencontextprotocol-sdk
|
|
48
|
+
uvx ocp-server # or configure via .mcp.json
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
# With hybrid routing (local model handles simple tasks)
|
|
53
|
+
pip install opencontextprotocol-sdk[router]
|
|
54
|
+
ollama pull llama3.2
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
See [opencontextprotocol.ai](https://opencontextprotocol.ai) for full documentation.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# opencontextprotocol-sdk
|
|
2
|
+
|
|
3
|
+
One-line install for [Open Context Protocol](https://opencontextprotocol.ai).
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
pip install opencontextprotocol-sdk # server + client
|
|
7
|
+
pip install opencontextprotocol-sdk[router] # + hybrid local/cloud routing (Ollama)
|
|
8
|
+
pip install opencontextprotocol-sdk[anthropic] # + Anthropic Claude paid backend
|
|
9
|
+
pip install opencontextprotocol-sdk[openai] # + OpenAI paid backend
|
|
10
|
+
pip install opencontextprotocol-sdk[full] # everything
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
This is a meta-package. It installs and keeps in sync:
|
|
14
|
+
|
|
15
|
+
| Package | What it provides |
|
|
16
|
+
|---|---|
|
|
17
|
+
| `ocp-server` | MCP server — runs in your IDE via `.mcp.json` |
|
|
18
|
+
| `ocp-client` | Python async client SDK |
|
|
19
|
+
| `ocp-router` | Hybrid routing layer (optional) |
|
|
20
|
+
|
|
21
|
+
## Quick start
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
# IDE integration (Claude Code, Cursor, Windsurf)
|
|
25
|
+
pip install opencontextprotocol-sdk
|
|
26
|
+
uvx ocp-server # or configure via .mcp.json
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# With hybrid routing (local model handles simple tasks)
|
|
31
|
+
pip install opencontextprotocol-sdk[router]
|
|
32
|
+
ollama pull llama3.2
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
See [opencontextprotocol.ai](https://opencontextprotocol.ai) for full documentation.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Meta-package — imports are provided by ocp-server, ocp-client, and ocp-router.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "opencontextprotocol-sdk"
|
|
3
|
+
version = "0.2.0"
|
|
4
|
+
description = "Open Context Protocol — one-line install for server, client, and hybrid routing"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = { text = "Apache-2.0" }
|
|
7
|
+
requires-python = ">=3.11"
|
|
8
|
+
dependencies = [
|
|
9
|
+
"ocp-server>=0.2.0",
|
|
10
|
+
"ocp-client>=0.2.0",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
[project.optional-dependencies]
|
|
14
|
+
router = ["ocp-router>=0.2.0"]
|
|
15
|
+
anthropic = ["ocp-router[anthropic]>=0.2.0"]
|
|
16
|
+
openai = ["ocp-router[openai]>=0.2.0"]
|
|
17
|
+
full = ["ocp-router[anthropic,openai]>=0.2.0"]
|
|
18
|
+
|
|
19
|
+
[project.urls]
|
|
20
|
+
Homepage = "https://opencontextprotocol.ai"
|
|
21
|
+
Repository = "https://github.com/Rajesh1213/OCP"
|
|
22
|
+
Documentation = "https://opencontextprotocol.ai/routing"
|
|
23
|
+
"Bug Tracker" = "https://github.com/Rajesh1213/OCP/issues"
|
|
24
|
+
|
|
25
|
+
[build-system]
|
|
26
|
+
requires = ["hatchling"]
|
|
27
|
+
build-backend = "hatchling.build"
|
|
28
|
+
|
|
29
|
+
[tool.hatch.build.targets.wheel]
|
|
30
|
+
packages = ["opencontextprotocol_sdk"]
|
|
31
|
+
|
|
32
|
+
[tool.uv.sources]
|
|
33
|
+
ocp-server = { workspace = true }
|
|
34
|
+
ocp-client = { workspace = true }
|
|
35
|
+
ocp-router = { workspace = true }
|