Skip to content

Commit 730ccf8

Browse files
committed
mcp server
1 parent eb2c6bd commit 730ccf8

File tree

2 files changed

+29
-20
lines changed

2 files changed

+29
-20
lines changed

README.md

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# mcp-server-python
2-
Inkeep MCP Server for your docs!
2+
Inkeep MCP Server powered by your docs and product content.
33

44
### Dependencies
55

6-
- An account on [Inkeep](https://inkeep.com)
7-
- [`uv`](https://github.com/astral-sh/uv)
6+
- An account on [Inkeep](https://inkeep.com) to manage and provide the RAG
7+
- [`uv`](https://github.com/astral-sh/uv) Python project manager
88

9-
### Setup
9+
### Local Setup
1010

1111
```
1212
git clone [email protected]:inkeep/mcp-server-python.git
@@ -15,33 +15,42 @@ uv venv
1515
uv pip install -r pyproject.toml
1616
```
1717

18-
You'll need these environment variables:
19-
```
20-
INKEEP_API_BASE_URL=https://api.inkeep.com/v1
21-
INKEEP_API_KEY=
22-
INKEEP_API_MODEL=inkeep-rag-20250310
23-
```
24-
To get an API key, go to the Inkeep Portal and create an API Integration.
18+
Note the full path of the project, referred to as `<YOUR_INKEEP_MCP_SERVER_ABSOLUTE_PATH>` in a later step.
2519

20+
## Get an API key
2621

27-
### `claude_desktop_config.json`
22+
1. Log in to the [Inkeep Dashboard](https://portal.inkeep.com)
23+
2. Navigate to the **Projects** section and select your project
24+
3. Open the **Integrations** tab
25+
4. Click **Create Integration** and choose **API** from the options
26+
5. Enter a Name for your new API integration.
27+
6. Click on **Create**
28+
7. A generated **API key** will appear that you can use to authenticate API requests.
2829

29-
```
30+
We'll refer to this API key as the `<YOUR_INKEEP_API_KEY>` in later steps.
31+
32+
### Add to your MCP client
33+
34+
Follow the steps in [this] guide to setup Claude Dekstop.
35+
36+
In `claude_desktop_config.json`, add the following entry to `mcpServers`.
37+
38+
```json claude_desktop_config.json
3039
{
3140
"mcpServers": {
32-
"your-docs-by-inkeep-mcp-server": {
41+
"inkeep-mcp-server": {
3342
"command": "uv",
3443
"args": [
3544
"--directory",
36-
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-server-python",
45+
"<YOUR_INKEEP_MCP_SERVER_ABSOLUTE_PATH>",
3746
"run",
3847
"-m",
3948
"inkeep_mcp_server"
4049
],
4150
"env": {
4251
"INKEEP_API_BASE_URL": "https://api.inkeep.com/v1",
43-
"INKEEP_API_KEY": "YOUR_INKEEP_API_KEY",
44-
"INKEEP_API_MODEL": "inkeep-rag-20250310"
52+
"INKEEP_API_KEY": "<YOUR_INKEEP_API_KEY>",
53+
"INKEEP_API_MODEL": "inkeep-rag"
4554
}
4655
},
4756
}

inkeep_mcp_server/server.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ async def make_inkeep_rag_request(query: str) -> InkeepRAGResponse:
4848

4949

5050
@mcp.tool(
51-
name="rag-search",
52-
description="Search for relevant docs for a query using Inkeep's RAG API.",
51+
name="retrieve-product-docs",
52+
description="Retrieve product docs about your product using the Inkeep RAG API. 'query' should be framed as a conversational question about the product.",
5353
)
54-
async def rag_search(query: str) -> InkeepRAGResponse:
54+
async def retrieve_product_docs(query: str) -> InkeepRAGResponse:
5555
return await make_inkeep_rag_request(query)

0 commit comments

Comments
 (0)