Skip to content

Commit 382ab7e

Browse files
authored
Merge pull request #14 from mcpc-tech/copilot/fix-957f615c-b304-4a70-b307-b48866d17a26
Implement MCP logging and OpenTelemetry tracing for sampling workflows
2 parents 60a63d9 + c7a36cd commit 382ab7e

File tree

18 files changed

+1474
-212
lines changed

18 files changed

+1474
-212
lines changed

.github/copilot-instructions.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ MCPC lets you build agentic MCP servers by composing existing MCP tools. Think
44
of it as creating AI agents from reusable tool libraries, the agent itself is a
55
MCP tool too.
66

7+
## Rules
8+
9+
NEVER use deno specific APIs in code, use node compatible APIs only.
10+
711
## Core Pattern
812

913
Every MCPC server follows the same simple pattern:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Run Tests with Coverage
8080
working-directory: packages/core
81-
run: deno test --allow-env --allow-read --coverage=coverage tests/
81+
run: deno test --allow-all --coverage=coverage tests/
8282

8383
- name: Generate Coverage Report
8484
working-directory: packages/core

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ npm install @mcpc-tech/core
3333
# npm (from jsr)
3434
npx jsr add @mcpc/core
3535

36-
# deno
36+
# deno
3737
deno add jsr:@mcpc/core
3838

3939
# pnpm (from npm registry)
@@ -66,16 +66,16 @@ const deps: ComposeDefinition["deps"] = {
6666
args: ["-y", "@wonderwhy-er/desktop-commander@latest"],
6767
transportType: "stdio",
6868
},
69-
"lsmcp": {
69+
lsmcp: {
7070
command: "npx",
7171
args: ["-y", "@mizchi/lsmcp", "-p", "tsgo"],
7272
transportType: "stdio",
7373
},
74-
"github": {
74+
github: {
7575
transportType: "streamable-http",
7676
url: "https://api.githubcopilot.com/mcp/",
7777
headers: {
78-
"Authorization": `Bearer ${process.env.GITHUB_PERSONAL_ACCESS_TOKEN}`,
78+
Authorization: `Bearer ${process.env.GITHUB_PERSONAL_ACCESS_TOKEN}`,
7979
},
8080
},
8181
},
@@ -177,6 +177,8 @@ Three simple steps:
177177
- **[Creating Your First Agent](docs/quickstart/create-your-first-agentic-mcp.md)** -
178178
Complete tutorial
179179
- **[CLI Usage Guide](docs/quickstart/cli-usage.md)** - Using the MCPC CLI
180+
- **[Logging and Tracing](docs/logging-and-tracing.md)** - MCP logging and
181+
OpenTelemetry tracing
180182
- **[Examples](docs/examples/)** - Real-world use cases
181183
- **[FAQ](docs/faq.md)** - Common questions and answer
182184

deno.lock

Lines changed: 230 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)